this post was submitted on 12 Jul 2023
4 points (83.3% liked)

KDE

5246 readers
59 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 1 year ago
MODERATORS
 

Hello! I'd like to write a little frontend for klipper, KDE's clipboard manager. I can access its content with qdbus:

qdbus org.kde.klipper  /klipper org.kde.klipper.klipper.getClipboardHistoryMenu

qdbus org.kde.klipper  /klipper org.kde.klipper.klipper.getClipboardHistoryItem 5

but how can I activate the selected item, placing it first? If it's only text, I can do this:

qdbus org.kde.klipper  /klipper org.kde.klipper.klipper.setClipboardContents "$(qdbus org.kde.klipper  /klipper org.kde.klipper.klipper.getClipboardHistoryItem 5)"

but what if it has a different MIME type, like an image or a file? Is there a way to tell klipper "activate element 5"?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here