Does anyone know how to start RhythmBox in quiet mode?
There is a plugin for this...
disclaimer - I'm the author for this plugin
Called rhythmbox_hide, this is a little applet that either starts rhythmbox hidden or minimized.
By default, when the plugin is enabled through the menu option Edit - Plugins, rhythmbox starts hidden on startup, but through the plugin preferences you can uncheck this option and rhythmbox will then start minimized.
This plugin is particularly useful in combination with another plugin called remember-the-rhythm.
When used with this plugin you can start rhythmbox via the startup applications option for your Desktop Environment and on login, your last track that was playing will be immediately start playing.
how to install
sudo apt-get install git git clone https://github.com/fossfreedom/rhythmbox_hide cd rhythmbox_hide ./install.sh
You will be prompted for your password which installs the dconf schema key used to remember your preferences option.
Alternatively, if you prefer a package installation method:
sudo add-apt-repository ppa:fossfreedom/rhythmbox-plugins sudo apt-get update sudo apt-get install rhythmbox-plugin-hide
Simply make the main window disappear by clicking on the x button; rhythmbox should still sit in the panel and you can control it and quit from there.
Now it should remember this and the next time you open rhythmbox the main window will not show.
How to force it to never show the main window when opening I have no clue.
The gconf value of /apps/rhythmbox/state/window_maximized is not what you are asking for; it only shows if the main window is maximised or not.
rhythmbox-client --hide should do the job it's not working for me.
I tested this with version 0.12.8-0ubuntu7 on Lucid.
This doesn't look very pretty (something I am a stickler for), but if all else fails you can just close the window as soon as it opens using devilspie. This link explains how to start applications minimized, but in your case you replace the provided example's "Terminal" with "Rhythmbox" and "minimize" with "close". Thus, your devilspie rule should look like this
andrey@spider ~ $ cat .devilspie/rhytmbox.ds (This isn't actually part of the file, I just put it there to show you where it is) (if (is (application_name) "Rhythmbox") (begin (close) ) )
If you have problems with rhythmbox not opening after being closed, try changing the notification icon preferences. The variable in question is in: rhythmbox menu > edit > plugins > status icon > configure > status icon: change it to "owns the main window"
Official devlispie documentation is here