How do I add a d-bus command as a global shortcut in Gnome (classic)? I can do it in KDE, it gives an option to add a new shortcut as a d-bus command. I do not want to write a script just for this.
Never mind, found it. Use qdbus as the command line interface:
I was trying to control spotify. The playPause command would be :