On some distros, qdbus is called qdbus-qt5 and there isn't a compatibility symlink,
so we can't rely on the command always having the same name. We should instead use a
command whose name is always the same.
BUG: 413007
FIXED-IN: 20.04.0
davidedmundson | |
fvogt | |
davidre |
Spectacle |
On some distros, qdbus is called qdbus-qt5 and there isn't a compatibility symlink,
so we can't rely on the command always having the same name. We should instead use a
command whose name is always the same.
BUG: 413007
FIXED-IN: 20.04.0
Install to /usr, overriding system stuff
Hit print screen button
No Linters Available |
No Unit Test Coverage |
Buildable 18762 | |
Build 18780: arc lint + arc unit |
Shortcuts work for me. For testing make sure to install to /usr since we link our .desktop from KDE_INSTALL_FULL_APPDIR to the kglobalaccel one.
For some reason this does not actually make it work for me. But you can confirm that it works for you?
It doesn't seem to work here either, but adding the --print-reply argument helps for some reason.
Sorry, it doesn't work for me either. I didn't relog before testing and I guess it was still using the qdbus commands. KLauncher gets the right arguments I think:
I don't know but KGlobalAccel uses KLauncher to execute the command found in the Exec line of the desktop file.
However I noticed something weird when manually using your dbus-send commands. dbus-send --session --dest='org.kde.Spectacle' --type=method_call '/' 'org.kde.Spectacle.StartAgent' only seemed to work every second time.
Found a better way that doesn't involve going insane trying to make dbus-send work: D25883