--toggle-hide no longer works. How can I start rhythmbox iconified to tray?

Asked by mrAshley

When my computer starts up and logs me in I have gnome sessions automatically start rhythmbox. Usually I would have the flag --toggle-hide so that it would start up out of the way in a little icon on my tray. I like to have it loaded to share the music with myself when I'm elsewhere via Hamachi.

Version .10 of rhythmbox no longer supports this flag, but I hope the functionality hasn't been removed. Is there another way doing this?

Thanks,
mrAshley

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rhythmbox Edit question
Assignee:
No assignee Edit question
Solved by:
mrAshley
Solved:
Last query:
Last reply:
Revision history for this message
Best mrAshley (launchpad-mrashley) said :
#1

It seems that the default action for Rhythmbox is to start in the state it was left. If it was closed as an icon in my tray, it will reopen as the same. So, I have not needed the --toggle-hide flag, as long as I leave it iconified. :)

Revision history for this message
Jonathan Hitchcock (vhata) said :
#2

It would still be nice to have, however.

There's some nice python code at:

http://www.electricrelaxation.com/2006/09/08/rhythmbox-toggle-showhide-using-dbus-and-python

Which will do what you want. Create a script, bind it to a hotkey, and you're away...