Ubuntu – Disk Usage Analyzer stealing mimetype assocation inode/directory from Nautilus

13.04mime-typenautilus

So this is a fun problem. After upgrading to Raring Ringtail, the open file command for nautilus on everything except the file browser in unity itself (opening downloads from browsers, clicking on removable media in unity) opens the Disk Usage Analyzer instead of nautilus. Is there a config file somewhere that chooses these defaults? I can't seem to find it.

Best Answer

edit /usr/share/applications/baobab.desktop and change

MimeType=inode/directory;

with

MimeType=inode/directory:1;

then run this command:

sudo update-desktop-database -q