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

khotkeys dbus calls don't work

Tags: None
(comma "," separated)
locke
Registered Member
Posts
24
Karma
0
OS

khotkeys dbus calls don't work

Mon Sep 23, 2013 2:26 pm
I recently started to use spotify again, a couple of months ago I created global shortcuts for it using dbus commands with khotkeys. However, starting again here (with KDE SC 4.11.1 under ArchLinux, Qt 4.8.5) the media controls don't work anymore.

Calling the dbus commands themselves work absolutely. For example
Code: Select all
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause

works as expected. However the shortcut won't work and also pressing the "call" button in the kcmshell UI doesn't seem to do anything. I tried to get some info and enabled debugging for kcmshell, however, all I got from there was:
Code: Select all
plasma-desktop(721)/plasma StatusNotifierItemSource::refreshCallback: DBusMenu disabled for this application


The "launch D-Bus Browser"-button doesn't work either, but I guess, that's just because archlinux labelling all qt-stuff with qt4 already, so qdbusviewer executable is qdbusviewer-qt4. However, I guess, that hasn't got anything to do with the original problem...

So does anybody have a suggestion, where I could take a further look or what to do?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does the command "qdbus" work?
Can you also provide a screenshot of one of your custom shortcut configurations?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
locke
Registered Member
Posts
24
Karma
0
OS

Re: khotkeys dbus calls don't work

Fri Sep 27, 2013 9:21 am
Alright, qdbus is also qdbus-qt4 on Archlinux. Creating a symlink to /usr/bin/qdbus makes everything work again :)
So I guess, it's kind of a packaging error then. Will post that to Arch then. Thanks for the help :)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: khotkeys dbus calls don't work

Fri Sep 27, 2013 9:22 am
You likely need to run the "qtchooser" command, or install the appropriate package which selects the version of Qt you will be developing with.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]