Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there anyway to get Rhythmbox to stop playing the current track when it closes without first pausing/stopping the song manually?

share|improve this question
    
I recommend just nixing the program until it's made to function reasonably. There are more appropriately set up alternatives. I gather that's the best way to vote in Ubuntu. –  SkepticX Aug 3 at 4:27

7 Answers 7

up vote 19 down vote accepted

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:

share|improve this answer
3  
Right-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
2  
I'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 at 20:50

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.

share|improve this answer
1  
In 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

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:

  1. open Rhythmbox
  2. Edit > Plugins
  3. scroll to the end of the list and find the entry marked "Status Icon"
  4. deselect "Status Icon"
  5. 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.

share|improve this answer

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.

share|improve this answer

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).

share|improve this answer
    
thanks, do you have such an experience ? I close that but, not work? –  lion Jun 13 at 11:14
1  
yep, you could pause the mp3 before closing it. –  Avinash Raj Jun 13 at 11:15
    
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 –  Jan Newmarch Jun 23 at 4:27

I know that Clementine and Audacious stop playing when you hit the "x" button. Maybe you should try those players instead.

share|improve this answer

In my opinion, ALL Music Players need to have a true "STOP" button (or, at the least, menu pull-down option). The Android MUSIC app has the VERY same problem. It's why I got to here (to see if Rhythmbox had changed their ways. Obviously not!)

The problem: Three days from now, are you REALLY interested in the same piece you've already forgotten, to automatically start, when you restart Rhythmbox? Or were you "hoping" to start something completely different? How about if you were attempting to do a presentation, in front of a crowd, and something inappropriate starts up, before you can click on the "Presentation Playlist"?

I thought Linux was the operating system for people, who want to control their lives (instead of having it controlled by, say, Apple or Microsoft)!

Thanks!

Kenneth Parker

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.