Is there anyway to get Rhythmbox to stop playing the current track when it closes without first pausing/stopping the song manually?
7 Answers
This is intentionally the default behaviour: allowing you to minimise ("close") Rhythmbox and control it from the Sound menu.
To work around this you need to "quit" Rhythmbox by selecting File->Quit in the menu, or using the keyboard shortcut Ctrl+Q.
Related Question:
-
17Right-click on the launcher Icon and selecting Quit doesn't really quit. That's stupid. Plus, there is no icon in the status bar saying it's running. I have to re-open it and manually go File > Quit – Nathan Hazout Nov 20 '13 at 11:56
-
7I'm running Rhythmbox 3.0.1 on Ubuntu 14.04 and there is no File -> Quit nor will it close with
Ctrl
+Q
. – Chris Apr 16 '14 at 20:50 -
2
-
1
-
To be clear for people like me who are new to Ubuntu: once the Rhythmbox window is closed, the controls for it are accessed by clicking the loudspeaker icon in the top right hand corner. – Jack M Oct 23 '16 at 11:26
-
I actually guessed that I could control it from the speaker icon on top, but NO. When I clicked it, it showed only SMPlayer and VLC, even though Rhythmbox was playing and the other two were not even running. I had no other way but to rerun RhythmBox and stop the song there. Is this a bug? Ubuntu 16.10. – Damn Vegetables Nov 22 '16 at 03:58
-
14This is plain wrong interaction design. The Quit action does not quit. I would consider this a bug. – kleinfreund Sep 11 '17 at 08:32
-
3When it's playing and I have clicked quit, there is no way to control the player except by opening it again. I don't have anything in my sound menu whatsoever except the system volume button (Ubuntu 20.04) – coppereyecat Sep 07 '20 at 20:29
-
112 years later and this is still a problem. the only way to stop the music is to re-open Rythymbox. – helgatheviking Feb 23 '23 at 23:02
-
1Crazy this has never been addressed. Absolutely terrible UI design and default behavior. In Ubuntu 22.04 I have no sound options in the toolbar other than a global volume. And right click -> menu -> close does not stop the music. In Ubuntu 22.04, the entire menu UI is horrendous. – deanresin Apr 27 '23 at 01:34
-
I uninstalled rythmbox, and it still playing lol. Had to kill the process. What an awful program, and I can't believe Ubuntu ships with it. I'm going to make my own – Caleb Pitman Mar 19 '24 at 23:22
Command-line Way
Try this command on terminal to close rhythmbox
immediately,
sudo kill $(ps aux | awk '$11=="rhythmbox"{print $2}')
It's an one way of killing rhythmbox
using it's process id(pid).

- 78,556
-
thanks, do you have such an experience ? I close that but, not work? – Mohammad Reza Rezwani Jun 13 '14 at 11:14
-
1
-
Killing by pid doesn't work - it simply catches the kill and restarts with a new pid. If it has already been closed, then restart it (e.g. from a terminal), stop the play and then File -> Close – Jun 23 '14 at 04:27
-
3
-
@user297009 If rhythmbox is catching the kill, you could
kill -9
it (that's an extreme measure that offers the program no recourse). Or, it may have a separate program running that starts it again on death, in which case you'd need to kill that program. – Brilliand Jul 02 '16 at 08:09 -
3
-
Ridiculous command when a simple
pkill rhythmbox
, as pointed out by @lakshayg, does it. – mivk May 08 '21 at 21:32
With some applications, typically media players, they run in the background unless you quit the application. Whenever it is open, use File > Quit or Ctrt+Q. They typically run in indicators on your panel. This is so that instead of closing when you want to clean your desktop, they keep playing.

- 6,021
-
1In Rhythmbox we use "Music/Quit" instead of "File/Quit". – Geppettvs D'Constanzo Nov 24 '12 at 13:27
-
Oops! You are correct good sir! In fact, my own player Clementine uses that too! I should probably start looking before I post.... – Ryan McClure Nov 24 '12 at 13:37
I know that Clementine and Audacious stop playing when you hit the "x" button. Maybe you should try those players instead.

- 31
It seems that there is much disagreement and flip/flopping on how the close-window, (x) button, etc. does/should work in Rhythmbox. In fact both behaviors have been reported as bugs on several occasions for various reasons. This one claims close == hide
, while this one claims close == quit
. Whatever the case, I think the functionality should be configurable so it's up to the user to change it.
After reading around through bug reports, I think that's exactly how it's supposed to work. If you read this comment in the above-mentioned bug, the poster claims the behavior can be turned on/off by enabling/disabling the Status Icon plugin:
- open Rhythmbox
- Edit > Plugins
- scroll to the end of the list and find the entry marked "Status Icon"
- deselect "Status Icon"
- close the window
I tried this on my system (Ubuntu v10.10, Rhythmbox v0.13.1) and it did not work. Back wading through the bug reports it seems there was a patch applied to fix an indicator-application compatibly issue that broke the Status Icon plugin behavior. I am no longer 100% sure what the current status is on all this, but I think the above procedure should work.
Indeed, toggling this behavior in Banshee is a very similar process, which actually works.
This is still not fixed in Ubuntu 20.04, and there are several bug reports about it, among which the ones previously mentioned here, and also this one.
The simple way to stop it is
pkill rhythmbox
Or you can restart it, and select "Stop & Quit" in the menu.
After that, I definitely solved the problem with
sudo apt purge rhythmbox
:-)

- 5,312
Go to the sound icon in the top bar and stop / pause from there (under volume control you have player control) , or close it while window visible from the file menu.

- 552
- 2
- 7
- 13
sudo apt purge rhythmbox
solves the bug. – wotter Nov 23 '21 at 22:19sudo apt install clementine
fills my needs and closes when ordered to. – wotter Nov 23 '21 at 22:30