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

Whenever I press my usb drives in the unity launcher, I get the folder opened with gitk instead of with nautilus. The same happens when I connect them to the computer. How do I fix this? This is happening in 11.10.

share|improve this question
You should edit in what release of ubuntu you're using. This was an issue for a while, shouldn't be anymore – doug Feb 2 '12 at 23:50
I just did that. – lujbilami Feb 2 '12 at 23:52
Can you try this? – Jorge Castro Feb 2 '12 at 23:54
I had already done that. It didn't work. – lujbilami Feb 3 '12 at 9:54
up vote 1 down vote accepted

Try this

gedit ~/.local/share/applications/mimeapps.list

If there are any lines that start like this inode/directory=then delete it/them

Save & try again. The most likely would be to see inode/directory=nautilus-folder-handler.desktop, in any event remove any inode/dirctory= line(s)

The other fairly likely solution would be to do a update, you 'd probably solve with that

sudo apt-get update && sudo apt-get upgrade

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.