Ubuntu – How to listen to a specific signal in Rhythmbox


I want to listen to the key press of lets say Ctrl+W in Rhythmbox, and call a functions if that happens. How can I do that in Python ?

Best Answer

I assume that you are creating some sort of plugin. Plugins can be written in C or Python. I don't know how to do this but I know where you could possibly find out this information:

  1. The documentation for creating plugins.
  2. The API documentation.
  3. Asking on the rhythmbox-devel mailing list (rhythmbox-devel@lists.gnome.org)
  4. Asking on the IRC channel (#rhythmbox on irc.gimp.net)