{"id":3282,"date":"2014-05-08T09:42:26","date_gmt":"2014-05-08T09:42:26","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=3282"},"modified":"2014-05-08T09:42:43","modified_gmt":"2014-05-08T09:42:43","slug":"exit-on-close-plugin-for-rhythmbox-music-player","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/05\/exit-on-close-plugin-for-rhythmbox-music-player\/","title":{"rendered":"&#8216;Exit On Close&#8217; Plugin For Rhythmbox Music Player"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/rhythmbox-logo.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/10\/rhythmbox-logo.jpg\" alt=\"rhythmbox exit on close\" width=\"218\" height=\"197\" class=\"aligncenter size-full wp-image-1871\" \/><\/a><\/p>\n<p>Want to really exit Rhythmbox when clicking on the close button? Thanks to <i>fossfreedom<\/i>, he has written an external plugin that does just this \u2013 clicking the close button (window &#8216;x&#8217; button) really does mean quit.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/rhythmbox-close-on-hide.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/rhythmbox-close-on-hide.png\" alt=\"rhythmbox-close-on-hide\" width=\"580\" height=\"300\" class=\"aligncenter size-full wp-image-3283\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/rhythmbox-close-on-hide.png 580w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/05\/rhythmbox-close-on-hide-300x155.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>In the default way of working, Ubuntu has a specific patch to ensure that when music is playing, clicking the close button minimizes the application.<\/p>\n<p>The reason for this is that some people like music to be playing, but they don&#8217;t actually want to see the application visibly on the desktop.  Control of Rhythmbox then passes to the Sound Indicator.<\/p>\n<p>However, for those that do not like this behavior, you cannot by default quit the application via the close button if something is playing.  You have to either, stop what is playing and then quit.  Alternatively, use the Menu \u2013 File \u2013 Quit method.<\/p>\n<p><b>Install the Plugin:<\/b><\/p>\n<p>Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, follow the steps below:<\/p>\n<p>1. Install git:<\/p>\n<pre style=\"border:none;\">sudo apt-get install git<\/pre>\n<p>2. Navigate to Rhythmbox plugins directory:<\/p>\n<pre style=\"border:none;\">cd ~\/.local\/share\/rhythmbox\/plugins<\/pre>\n<p>Create the directory <b>if not exist<\/b> and run the previous command again:<\/p>\n<pre style=\"border:none;\">mkdir ~\/.local\/share\/rhythmbox\/plugins<\/pre>\n<p>3. Get the plugin:<\/p>\n<pre style=\"border:none;\">git clone https:\/\/github.com\/fossfreedom\/close-on-hide<\/pre>\n<p>4. For Ubuntu 13.10 and earlier with Rhythmbox 2.99 or earlier, edit the plugin file via:<\/p>\n<pre style=\"border:none;\">gedit ~\/.local\/share\/rhythmbox\/plugins\/close-on-hide\/close-on-hide.plugin<\/pre>\n<p>Change <b>Loader=python3<\/b> to <b>Loader=python<\/b> and save the file.<\/p>\n<p>5. Now open Rhythmbox, go to Tools -> Plugins and enable the line which says &#8220;Close on Hide&#8221;.<\/p>\n<p>Enjoy!<\/p>\n<p><i>via:<a href=\"http:\/\/xpressubuntu.wordpress.com\/2014\/04\/24\/how-to-make-rhythmbox-really-exit-when-clicking-the-close-button\/\">xpress-ubuntu<\/a><\/i><\/p>","protected":false},"excerpt":{"rendered":"<p>Want to really exit Rhythmbox when clicking on the close button? Thanks to fossfreedom, he has written an external plugin that does just this \u2013 clicking the close button (window &#8216;x&#8217; button) really does mean quit. In the default way of working, Ubuntu has a specific patch to ensure that when music is playing, clicking [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1073,684,855],"class_list":["post-3282","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-exit-on-close","tag-rhythmbox","tag-ubuntu-14-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/3282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=3282"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/3282\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=3282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=3282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=3282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}