How to set Quodlibet as default music player?

Solution 1:

To make any music player that comes with sound indicator integration the default player in there we may from 13.04 install and run unity-tweak-tool Install unity-tweak-tool. Open the "Panel" settings and choose any of installed players:

enter image description here

The example above will then make Guayadeque the default player in the sound indicator:

enter image description here

Of course if we prefer not to install an additional application, or if a player such as Quod Libet does not come with full indicator sound integration we can also do this with dconf-editor (from dconf-tools Install dconf-tools in Ubuntu < 13.04):

enter image description here

Quod Libet need the MPRIS plugin (quodlibet-plugins Install quodlibet-plugins) for full player control.

Solution 2:

Oh well, read about and found it: just make sure you reference quodlibet.desktop in your mimeapps.list file (local copy at ~/.local/share/applications/mimeapps.list).

You can set it default right away just by having the following line in the mentioned file: audio/x-vorbis+ogg=quodlibet.desktop.