With Gnome 2, I could set gmpc as default media player (gconf entry: desktop.gnome.applications.media). I'm now switching to Gnome 3.2 and I could set my default applications (thunderbird, chromium) successfully. However, I cannot find GMPC as an option to select. Reproducible: Always Steps to Reproduce: 1. Start System Tools -> System Settings 2. Select System Info -> Default Applications 3. Click on Music (or Video). Actual Results: No GMPC available, although it is installed and a /usr/share/applications/gmpc.desktop exists.
In order to present a manageable list of applications from which to select a default player, gnome-control-center-3.x only shows ones that have "audio/x-vorbis+ogg;" somewhere in the "MimeType=" entry in their .desktop file. /usr/share/applications/gmpc.desktop does not have any "MimeType=" entry at all. As a result, gnome-control-center-3 has no way of knowing that gmpc is an audio player. This should be fixed on the gmpc side of things by improving gmpc.desktop. In the meantime, you can work around the issue by editing your ~/.local/share/applications/mimeapps.list file. If that file contains an "audio/x-vorbis+ogg=" entry in the "[Added Associations]" section, simply append "gmpc.desktop;" to the end of that line. If it does not contain an "audio/x-vorbis+ogg=" entry in the "[Added Associations]" section, you will have to add it: audio/x-vorbis+ogg=gmpc.desktop;
That workaround fixes the problem for me. However, I'm eager to see this bug to be fixed properly. Thank you very much for your fast help!
It's the gmpc upstream who should maintain the list of supported MimeType's in the .desktop file, not downstream distribution maintainers. Please report this to upstream and add a link here, otherwise this won't move anywhere.
Also, I'm not really sure this should be fixed at all in that way. gmpc is not a media player, it's a client for mpd, which is a media player. gmpc alone cannot play media files, so there's no point in setting it as default player.
I strongly disagree. GMPC is the Gnome frontend for any MPD server, thus, it should be accessible as default player as it was the case in Gnome2. Anyway, I am grateful for Alexandre's help - the bug is now resolved for me.
You disagree with reporting this to gmpc upstream like suggested by Comment #3? Or did you just miss the comment as I don't see a link posted anywhere here pointing to the upstream bug? Well, this is a CANTFIX pending on the upstream report.