Monday 8 September 2014

How to add Gmusicbrowser to the Media Menu in Cinnamon/Gnome desktops

My favourite music player for a long time has been Gmusicbrowser as it's lightweight and can handle extremely large music collections with ease, taking only a short time to scan my 50,000+ track collection. However for awhile now, it's tray icon never shows in Cinnamon or Gnome desktops, which has it's own Media Menu with playback buttons and volume controls. Without a fix it usually just shows only 'Gmusicbrowser' clickable that just opens the player, and no controls. I found a work around sometime back that I just rediscovered after a reinstall of Mint 17 Cinnamon on my main desktop.



Essentially you need to use your favourite text editor to add 'cinnamon' to the list of players in  /usr/share/cinnamon/applets/sound@cinnamon.org/applet.js in the "compatible_players variable" section, save the file, then restart Cinnamon (Ctrl+F2 then enter a single letter 'r' and press enter) or just logout and log in. Now start Gmusicbrowser and it should now have a proper entry in the Media Menu with playback controls and we're done. I've also rediscovered Gmusicbrowser's built in desktop widgets.








No comments: