This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Service 'org.kde.klipper' does not exist. (why?)

Tags: None
(comma "," separated)
vpereira
Registered Member
Posts
4
Karma
0
Hi,

I have a shell script that takes clipboard contents and processes it to feed onto another application. To fetch the clipboard (klipper's) contents I have been using qdbus, e.g.
Code: Select all
CLIPBOARD=$(qdbus org.kde.klipper /klipper org.kde.klipper.klipper.getClipboardContents)


All was fine until I upgraded to KF5 (fedora 21 to 22 upgrade). Now, here's what happens:
Code: Select all
$ qdbus org.kde.klipper
Service 'org.kde.klipper' does not exist.
$ ps ax | grep -i klipper
 3299 pts/1    S+     0:00 grep --color=auto -i klipper

Moreover,
Code: Select all
$ qdbus org.kde*
org.kde.ActivityManager
org.kde.JobViewServer
org.kde.KScreen.Backend.XRandR
org.kde.KWin
org.kde.Solid.PowerManagement
org.kde.Solid.PowerManagement.PolicyAgent
org.kde.StatusNotifierHost-972
org.kde.StatusNotifierItem-1014-1
org.kde.StatusNotifierWatcher
org.kde.baloo
org.kde.dolphin-1116
org.kde.kaccess
org.kde.kded
org.kde.kded5
org.kde.keyboard
org.kde.kglobalaccel
org.kde.klauncher
org.kde.klauncher5
org.kde.kmix
org.kde.konsole
org.kde.krunner
org.kde.ksmserver
org.kde.kuiserver
org.kde.kwalletd
org.kde.kwalletd5
org.kde.kwin.Screenshot
org.kde.plasmanetworkmanagement
org.kde.plasmashell
org.kde.polkit-kde-authentication-agent-1
org.kde.screensaver


But the clipboard is running and well in my system tray!... So, does anyone have any idea of which service to look for to fetch the clipboard contents now? Has it been renamed?

Cheers!

By the way, this is probably the same thing happening in this post viewtopic.php?f=289&t=126690
User avatar
Rog131
Registered Member
Posts
828
Karma
10
Have you started the Klipper ?
With the KF5 the default (*) clipboard application is the Clipboard widget and it doesn't have the dbus.

A blog - Next Generation Kilipper: http://blog.martin-graesslin.com/blog/2 ... n-klipper/


(*) Based on the Kubuntu KF5 desktop ( https://www.kubuntuforums.net/showthrea ... -Clipboard ) and the Arch Linux KF5 desktop.
vpereira
Registered Member
Posts
4
Karma
0
Rog131 wrote:Have you started the Klipper ?


Ahahah... Of all things that was the one that didn't occur to me (for, if the clipboard was there...)!

Thanks a lot! Especially for the references about these changes. I've disabled for the moment the clipboard plasmoid in favour of klipper.

Cheers!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]