Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I'd like to use nautilus as default in XFCE instead of Thunar, but how can I remove full Thunar. I have already typed

sudo apt-get remove thunar gvfs-backends

But I still have problems because if I click on a folder in the desktop thunar start. Someone can help me?

Thank you.

share|improve this question
up vote 0 down vote accepted

Try to look at this similar question of turning your default file-manager into Nautilus:


You should be able to remove Thunar completely by running following command:

 sudo apt-get purge thunar*
share|improve this answer
  1. Try running exo-preferred-applications from the terminal(Ctrl+Alt+t ). You should see an option to change your file manager on the 2nd tab named "Utilities".

    Change the File Manager option to "Nautilus".

  2. Using xdg-mime, You could also run the following command to determine your current default file manager:

    • xdg-mime query default inode/directory

    • In your case, this should return thunar.desktop as a result.

    • In order to change this, run:

    • xdg-mime default nautilus.desktop inode/directory application

  3. You can edit the file ~/.local/share/applications/mimeapps.list
    • look for the line containing inode/directory=thunar.desktop;
    • change it to read inode/directory=nautilus.desktop;
share|improve this answer
1) worked very well for me. i did no t need to use 2) or 3) – Dee Apr 3 '13 at 9:22
It is possible that you also will need to perform a similar edit of /usr/share/applications/mimeinfo.cache under administrative rights. There remains one caveat. Links on the desktop will continue to open with Thunar. (Thunar cannot be uninstalled because of other dependant packages.) It seems that this behaviour for opening desktop links is hard-wired in XFCE 4.8. – Serge Stroobandt Aug 3 '13 at 11:24
@Serge - No problem here (4.10), this answer works perfectly. However, I created a custom launcher using nautilus --no-desktop, as I don't want Nautilus to manage the desktop, so it still uses the default desktop and works fine. – Wilf Nov 11 '14 at 23:23

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.