Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I double click on a video file in Gnome Commander, for some reason it opens in Movie Player (Totem?) instead of VLC, which is set as preferred for all file types. Clicking on the same file from Nautilus opens the file in VLC.

Is there a way to force Gnome Commander to use "standard" gnome mime-type associations?


Following iamsid's answer below, this is what I did:

Edit the file ~/.local/share/applications/defaults.list (if the file does not exist, create it), and add the following:

[Default Applications]

You can of course add other mime types as needed. To see a file's mime type, you can right-click on a file in Gnome Commander, go to properties and then the Metadata tab. Expand the "file" item and you will see the mime type under "Format" tag.

vlc.desktop already exists in /local/share/applications, so you can use that, I used a custom .desktop file in my ~/local/share/applications folder, but found out it's not necessary.

share|improve this question
up vote 5 down vote accepted

This feature is currently broken in GNOME Commander.

Since GNOME has changed to follow the standard of handling mimetypes, the editing of preferred programs in GNOME Commander is currently broken (v 1.1.7). We do have this in our TODO file, but until GCMD can handle edititing of preferred programs, there are two other ways of managing this on user basis; use nautilus or manually edit the configuration files that controls mime types in your home directory. Using Nautilus for doing this can feel quite awkward for GNOME Commander users, we usually do not use GNOME Commander because we like using Nautilus." - GNOME Commander

Here is how to do it manually:

share|improve this answer
Thanks a bunch! I've updated the question for reference. – dr Hannibal Lecter Nov 20 '10 at 21:37

I am using ubuntu 13.10

Editing file ~/.local/share/applications/defaults.list or ~/.local/share/applications/mimeapps.list does not work for Gnome Commander. The file you need to edit is located at /etc/gnome/defaults.list

share|improve this answer

Your Answer


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.