Use Nautilus with Xfce as default file manager

15,157

I installed Ubuntu 12.04 with Xfce(xfce4, not xubuntu-desktop) today and i have Nautilus as my default file manager. I Just pressed Applications Menu and selected File Manager. Then it prompted which app should be default for file managment. I selected Nautilus and voilà.

Share:
15,157
jwbensley
Author by

jwbensley

Updated on September 18, 2022

Comments

  • jwbensley
    jwbensley over 1 year

    Possible Duplicate:
    How to stop Thunar being default file browser

    I have found this question: How to stop Thunar being default file browser

    I have installed Xfce because I don't like Gnome that much. I am not finding Thunar any good as it doesn't support SMB browsing and we have a selction of samba NAS shares in the office (so I really need it).

    I want to make Nautilus my default file browser like it is under Gnome, but after running the script linked in the answer of that previous question (once to set Thunar as the default [which was already the case] then again to change to Nautilus), Thunar is still the default and still after a reboot.

    What else do I need to change?

    The other answer suggesting to run the following commands also hasn't made a difference;

    gconftool-2 --set --type=string /desktop/gnome/url-handlers/file/command 'nautilus "%s"'
    gconftool-2 --set --type=bool /desktop/gnome/url-handlers/file/enabled true
    gconftool-2 --set --type=bool /desktop/gnome/url-handlers/file/need-terminal false
    

    I'm rather stumped. I have also tried to ensure "nautilus" is configred by hand, in the correct files, have I missed any?

    user@machine:~$ cd /usr/share/applications
    user@machine:/usr/share/applications$ grep -r nautil *.desktop
    brasero-nautilus.desktop:TryExec=nautilus
    brasero-nautilus.desktop:Exec=nautilus --no-default-window --no-desktop burn:/// 
    mount-archive.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus-autorun-software.desktop:TryExec=nautilus-autorun-software
    nautilus-autorun-software.desktop:Exec=nautilus-autorun-software %u
    nautilus-autorun-software.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus-autorun-software.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus-browser.desktop:TryExec=nautilus
    nautilus-browser.desktop:Exec=nautilus --no-desktop --browser %U
    nautilus-browser.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus-browser.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus-computer.desktop:TryExec=nautilus
    nautilus-computer.desktop:Exec=nautilus --no-desktop computer:///
    nautilus-computer.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus-computer.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus.desktop:Exec=nautilus
    nautilus.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus-file-management-properties.desktop:Exec=nautilus-file-management-properties
    nautilus-file-management-properties.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus-file-management-properties.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus-folder-handler.desktop:TryExec=nautilus
    nautilus-folder-handler.desktop:Exec=nautilus --no-desktop %U
    nautilus-folder-handler.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus-folder-handler.desktop:X-Ubuntu-Gettext-Domain=nautilus
    nautilus-home.desktop:TryExec=nautilus
    nautilus-home.desktop:Exec=nautilus --no-desktop
    nautilus-home.desktop:X-GNOME-Bugzilla-Product=nautilus
    nautilus-home.desktop:X-Ubuntu-Gettext-Domain=nautilus
    network-scheme.desktop:TryExec=nautilus
    network-scheme.desktop:Exec=nautilus --no-desktop network:
    network-scheme.desktop:X-Ubuntu-Gettext-Domain=nautilus
    xfce4-file-manager.desktop:Exec=nautilus --no-desktop %U
    

    If anyone can point out what's going on here I would be very grateful. I can minimise this window, double click a desktop folder, and Thunar pops up, its constantly taunting me!

    user@machine:~$ uname -a Linux bensley-n2 2.6.32-41-generic #94-Ubuntu SMP Fri Jul 6 16:51:39 UTC 2012 i686 GNU/Linux 
    user@machine:~$ lsb_release -a
    No LSB modules are available. 
    Distributor ID: Ubuntu
    Description:    Ubuntu 10.04.4 LTS 
    Release:    10.04 
    Codename:   lucid
    
    • jwbensley
      jwbensley almost 12 years
      On many a forum I have seen people using the default applications chooser (Under the "Utilities" tab) to change their default file manager, but this simply isn't and option for me. Screenshot: i45.tinypic.com/2m2ier7.png
    • jwbensley
      jwbensley over 11 years
      Anwar, in regards to you comment on exo-preferred-applications, read mine directly before that, clearly that is not working for me. Cheers.
    • Anwar
      Anwar over 11 years
      did you try this answer?
    • jwbensley
      jwbensley over 11 years
      Those are the same answer! One via the GUI and one via the terminal, which again, I have already said, doesn't work for me as that option is not available for me in that application. Please read before posting.
    • Anwar
      Anwar over 11 years
      gconftool don't work with xfce. Did you really try the GUI option?
    • jwbensley
      jwbensley over 11 years
      Oh, didn't know that about gconftool :( - Regarding the GUI option, I have linked a screen shot of it above.
  • jwbensley
    jwbensley almost 12 years
    This is Xfce 4.6.1 installed via these instructions (psychocats.net/ubuntu/xfce). I logged out and back in chosed Xfce as my desktop manager and it has been the default ever since, was this not the way to do it?
  • zuberuber
    zuberuber almost 12 years
    Also You can right click on bottom bar File Manager and select properties then Edit and in command-line write nautilus(not tested, but worth to try)
  • zuberuber
    zuberuber almost 12 years
    Ok, i think i solved it. edit ~/.config/xfce4/helpers.rc and add FileManger=nautilus
  • smac89
    smac89 about 4 years
    @zuberuber, you can accomplish the same by running exo-preferred-applications --configure. No need to start editing files which may become deprecated