How to stop music playback when music app is closed in elementary OS


The included music player in elementary OS is extremely light weight and simplistic. It has minimalist user interface to just play music, build playlist, and that’s it. If you have used it, then you should probably be knowing that the music playback won’t stop when the program is closed. The music playback goes into a compact player mode which is accessible when clicked on the volume icon. The compact mode has the pause, previous, and next track skip controls.

Music Player Compact Mode
Music Player Compact Mode

Not all people are comfortable with this option. I personally prefer to stop music playback as soon as I close the music player application. If you had same idea, there is a simple setting change that can put an end to the frustrating ordeal.

Launch Music Player of the elementary OS.

Music Player Settings
Music Player Settings

Click on ‘Settings’ (gear icon on the top right corner of the Music Player app) and then ‘Preferences’.

Under the ‘Desktop Integration’ section, disable ‘Continue playback when closed’ and you should be done.

Music Player Settings
Music Player Settings

Now music playback with stop as soon as you close the music player. The compact mode is still there underneath the Volume icon. It will be ‘Pause’ status and you can continue to play if desired that way.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here




clipboard manager linux
We have all had that moment when we copied a text, but we first needed another one, and in the process, lost the first one. If you're lucky, you can get it back quickly with a bit of work.
Most Linux users, both veterans, and newbies, often get confused about what the difference between the Linux commands apt, and apt-get are and when they should use one or the other.
cool and fun linux commands
The real purpose of this article is to help Linux newbies get comfortable and confident with the Linux command-line.  While knowledge and comfort of the Linux GUI allow great power, it is the mastery of the command line, or CLI, affords the Linux user unlimited power and certifies them as a Linux power user well on their way to becoming an expert.