I don't know if this is a bug, but I cannot change the default music player in 16.04 LTS.

In System Settings / Details / Preferred Applications, Rhythmbox is set as default, but when I double click the mp3 it opens VLC.

If I wish to change the default application, it doesn't change the VLC to Rhythmbox.

Is there a way I could do this through the terminal?

enter image description here

enter image description here

  • Did you use Set as default in the last image? – Anwar Sep 14 '16 at 9:18
  • Of course I did. – Mookey Sep 14 '16 at 9:20
  • Checked the solutions here? askubuntu.com/questions/91701/… – Anwar Sep 14 '16 at 9:22
  • It's not default, as I cannot set it to default, it just switches back to VLC. And system settings show Rhythmbox but Mp3s and WAVs still open with VLC: – Mookey Sep 14 '16 at 10:32
  • This occurs because there can be multiple mimetypes associated for what you may think is just one type. One ex. would be audio/mp3 & audio/x-mp3. RB only registers the later. In gerenal it's better to just manually set a default player per type thru r. click on file > Properties, ect.. To reset to orig. defaults one would delete ~.config/mimetypes.list – doug Oct 3 '17 at 17:33

You can manage file type in Ubuntu-Tweak

1). Install Ubuntu-Tweak for Ubuntu 16.04 (More info about GetDeb Apps)

wget -q -O - http://archive.getdeb.net/getdeb-archive.key | sudo apt-key add -
sudo sh -c 'echo "deb http://archive.getdeb.net/ubuntu xenial-getdeb apps" >> /etc/apt/sources.list.d/getdeb.list'
sudo apt-get update
sudo apt-get install ubuntu-tweak

2). Open Ubuntu-Tweak and go to Admins > File Type Manager:

enter image description here

In the categories press Audio and select which File Type will be open with Rhythmbox

  • How is this different than the method OP tried? Why would this work and others wouldn't? – Anwar Sep 14 '16 at 10:02
  • Hello Anwar, thanks for your reply, ubuntu-tweak File Type Manager offers a wider range of file type. Give it a try! – Benny Sep 14 '16 at 10:07
  • This program is no longer maintained or supported, I highly suggest no one use it launchpad.net/ubuntu-tweak – Mark Kirby Sep 14 '16 at 10:11
  • 1
    Tried Ubuntu-Tweak, it won't switch to Rhythmbox when I try to change MP3 and WAV associations. Others do. – Mookey Sep 14 '16 at 10:31
grep Totem cat /usr/share/applications/defaults.list >> ~/.local/share/applications/mimeapps.list

Replace org.gnome.Totem.desktop with mpv.desktop


Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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