获取 openSUSE Tumbleweed 或 Leap 42.1 中的剪贴板历史记录

获取 openSUSE Tumbleweed 或 Leap 42.1 中的剪贴板历史记录

我希望访问我之前在 KDE (openSUSE) 中复制到剪贴板的项目(文本)。自从复制了项目后我还没有重新启动系统。

有什么方法可以访问此操作系统上的剪贴板历史记录吗?另外,如果有人知道适用于其他发行版的方法,欢迎您将它们作为答案,因为我确信它们值得一试。

更新:尝试使用时klipper出现以下错误:

QSystemTrayIcon::setVisible: No Icon set
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Spawn.ChildSignaled", "Process org.kde.kglobalaccel received signal 6")
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
log_klipper: Failed to load history resource. Clipboard history cannot be read. :  History file does not exist
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
Failed to connect to the kglobalaccel daemon QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.kde.kglobalaccel': no such name")
QSystemTrayIcon::setVisible: No Icon set

答案1

在 中找到klipper历史文件夹~/.local/share/klipper。在文件cat上运行history2.lst会输出自上次重新启动服务器实例以来的剪贴板历史记录(必须运行rcxdm)。无法找到我正在寻找的补充信息,因为history1.lst/history.lst目录中不存在(我认为如果有第二个文件,则应该有第一个文件......),但我似乎已经按照最初的要求回答了我自己的问题。

更新:openSUSE Tumbleweed 最近的更新似乎还在任务栏上添加了剪贴板图标,这使得您可以轻松查看剪贴板历史记录。

相关内容