How do I change the default file manager back to Nautilus?












34















A while back, I set my default file manager to Nemo. I like it a lot, but it constantly crashes. I remember editing a text file to set it as default, but I forgot which file it was. How do I switch back to the Nautilus file manager?










share|improve this question

























  • Official documentation for changing and restoring file manager: [Ubuntu documentation for Default File Manager ](help.ubuntu.com/community/DefaultFileManager)

    – Sohail xIN3N
    Feb 27 '14 at 10:28






  • 2





    Opposite of this question: askubuntu.com/questions/260244/…

    – Wilf
    Jun 22 '15 at 23:38
















34















A while back, I set my default file manager to Nemo. I like it a lot, but it constantly crashes. I remember editing a text file to set it as default, but I forgot which file it was. How do I switch back to the Nautilus file manager?










share|improve this question

























  • Official documentation for changing and restoring file manager: [Ubuntu documentation for Default File Manager ](help.ubuntu.com/community/DefaultFileManager)

    – Sohail xIN3N
    Feb 27 '14 at 10:28






  • 2





    Opposite of this question: askubuntu.com/questions/260244/…

    – Wilf
    Jun 22 '15 at 23:38














34












34








34


12






A while back, I set my default file manager to Nemo. I like it a lot, but it constantly crashes. I remember editing a text file to set it as default, but I forgot which file it was. How do I switch back to the Nautilus file manager?










share|improve this question
















A while back, I set my default file manager to Nemo. I like it a lot, but it constantly crashes. I remember editing a text file to set it as default, but I forgot which file it was. How do I switch back to the Nautilus file manager?







nautilus filemanager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 '13 at 19:26







nick

















asked Jan 3 '13 at 14:41









nicknick

4751519




4751519













  • Official documentation for changing and restoring file manager: [Ubuntu documentation for Default File Manager ](help.ubuntu.com/community/DefaultFileManager)

    – Sohail xIN3N
    Feb 27 '14 at 10:28






  • 2





    Opposite of this question: askubuntu.com/questions/260244/…

    – Wilf
    Jun 22 '15 at 23:38



















  • Official documentation for changing and restoring file manager: [Ubuntu documentation for Default File Manager ](help.ubuntu.com/community/DefaultFileManager)

    – Sohail xIN3N
    Feb 27 '14 at 10:28






  • 2





    Opposite of this question: askubuntu.com/questions/260244/…

    – Wilf
    Jun 22 '15 at 23:38

















Official documentation for changing and restoring file manager: [Ubuntu documentation for Default File Manager ](help.ubuntu.com/community/DefaultFileManager)

– Sohail xIN3N
Feb 27 '14 at 10:28





Official documentation for changing and restoring file manager: [Ubuntu documentation for Default File Manager ](help.ubuntu.com/community/DefaultFileManager)

– Sohail xIN3N
Feb 27 '14 at 10:28




2




2





Opposite of this question: askubuntu.com/questions/260244/…

– Wilf
Jun 22 '15 at 23:38





Opposite of this question: askubuntu.com/questions/260244/…

– Wilf
Jun 22 '15 at 23:38










4 Answers
4






active

oldest

votes


















34














This did it for me, after I google for a while:



xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search


I also typed:



gsettings set org.gnome.desktop.background show-desktop-icons true





share|improve this answer


























  • After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

    – Zon
    Jul 18 '18 at 4:26





















14














I spent AGES trying to find a method that would work. Eventually I found this advice, which is incredibly easy, and worked for me:



Install exo-utils (this package contains the Xfce settings plugin and the utility files for libexo-2-0). Open a terminal and type:



sudo apt install exo-utils


Then run:



exo-preferred-applications


then switch to Utilities tab and select File Manager you prefer.






share|improve this answer


























  • It'll only work in Xubuntu or systems that have exo-utils installed

    – Anwar
    Apr 7 '17 at 12:26






  • 1





    Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

    – user282186
    Apr 8 '17 at 12:42











  • Worked well for krusader after I installed it

    – loxaxs
    May 15 '17 at 9:37











  • This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

    – jojman
    May 24 '17 at 5:40











  • xdg-open seems to ignore this on 16.04.

    – Raphael
    Nov 14 '17 at 8:55



















3














The file manager choice is handled by a file in ~/.local/share/applications. They are mimeapps.list and mimeinfo.cache, deleting both of those files will reset your file manager to the default, which is Nautilus.






share|improve this answer





















  • 1





    I'm afraid that solution didn't work.

    – nick
    Jan 4 '13 at 14:12



















1
















  1. sudo mv /usr/bin/nemo /usr/bin/nemo.backup

  2. Open any folder. You could use xdg-open /path/to/folder/ while in the command line, for example. Or you could use a X application that requests a file.

  3. A dialog should appear to you requesting a default application to be your file manager. Type /usr/bin/nautilus there and confirm.


After that, as long as you don't rename nemo to its original name/location, nautilus will be your default file manager again.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f235660%2fhow-do-i-change-the-default-file-manager-back-to-nautilus%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    34














    This did it for me, after I google for a while:



    xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search


    I also typed:



    gsettings set org.gnome.desktop.background show-desktop-icons true





    share|improve this answer


























    • After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

      – Zon
      Jul 18 '18 at 4:26


















    34














    This did it for me, after I google for a while:



    xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search


    I also typed:



    gsettings set org.gnome.desktop.background show-desktop-icons true





    share|improve this answer


























    • After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

      – Zon
      Jul 18 '18 at 4:26
















    34












    34








    34







    This did it for me, after I google for a while:



    xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search


    I also typed:



    gsettings set org.gnome.desktop.background show-desktop-icons true





    share|improve this answer















    This did it for me, after I google for a while:



    xdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search


    I also typed:



    gsettings set org.gnome.desktop.background show-desktop-icons true






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Oct 15 '16 at 8:32









    Anwar

    56.1k22145253




    56.1k22145253










    answered Apr 29 '13 at 21:27









    DamiaoDamiao

    52659




    52659













    • After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

      – Zon
      Jul 18 '18 at 4:26





















    • After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

      – Zon
      Jul 18 '18 at 4:26



















    After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

    – Zon
    Jul 18 '18 at 4:26







    After that my Linux Mint failed to log in with X-session error g_key_file_free: assertion 'key_file != NULL' failed. To recover use Ctrl-Alt-F1 & sudo apt-get cinnamon and sudo reboot

    – Zon
    Jul 18 '18 at 4:26















    14














    I spent AGES trying to find a method that would work. Eventually I found this advice, which is incredibly easy, and worked for me:



    Install exo-utils (this package contains the Xfce settings plugin and the utility files for libexo-2-0). Open a terminal and type:



    sudo apt install exo-utils


    Then run:



    exo-preferred-applications


    then switch to Utilities tab and select File Manager you prefer.






    share|improve this answer


























    • It'll only work in Xubuntu or systems that have exo-utils installed

      – Anwar
      Apr 7 '17 at 12:26






    • 1





      Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

      – user282186
      Apr 8 '17 at 12:42











    • Worked well for krusader after I installed it

      – loxaxs
      May 15 '17 at 9:37











    • This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

      – jojman
      May 24 '17 at 5:40











    • xdg-open seems to ignore this on 16.04.

      – Raphael
      Nov 14 '17 at 8:55
















    14














    I spent AGES trying to find a method that would work. Eventually I found this advice, which is incredibly easy, and worked for me:



    Install exo-utils (this package contains the Xfce settings plugin and the utility files for libexo-2-0). Open a terminal and type:



    sudo apt install exo-utils


    Then run:



    exo-preferred-applications


    then switch to Utilities tab and select File Manager you prefer.






    share|improve this answer


























    • It'll only work in Xubuntu or systems that have exo-utils installed

      – Anwar
      Apr 7 '17 at 12:26






    • 1





      Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

      – user282186
      Apr 8 '17 at 12:42











    • Worked well for krusader after I installed it

      – loxaxs
      May 15 '17 at 9:37











    • This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

      – jojman
      May 24 '17 at 5:40











    • xdg-open seems to ignore this on 16.04.

      – Raphael
      Nov 14 '17 at 8:55














    14












    14








    14







    I spent AGES trying to find a method that would work. Eventually I found this advice, which is incredibly easy, and worked for me:



    Install exo-utils (this package contains the Xfce settings plugin and the utility files for libexo-2-0). Open a terminal and type:



    sudo apt install exo-utils


    Then run:



    exo-preferred-applications


    then switch to Utilities tab and select File Manager you prefer.






    share|improve this answer















    I spent AGES trying to find a method that would work. Eventually I found this advice, which is incredibly easy, and worked for me:



    Install exo-utils (this package contains the Xfce settings plugin and the utility files for libexo-2-0). Open a terminal and type:



    sudo apt install exo-utils


    Then run:



    exo-preferred-applications


    then switch to Utilities tab and select File Manager you prefer.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 7 at 3:44









    Pablo Bianchi

    2,4651531




    2,4651531










    answered Apr 7 '17 at 12:22









    user282186user282186

    19629




    19629













    • It'll only work in Xubuntu or systems that have exo-utils installed

      – Anwar
      Apr 7 '17 at 12:26






    • 1





      Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

      – user282186
      Apr 8 '17 at 12:42











    • Worked well for krusader after I installed it

      – loxaxs
      May 15 '17 at 9:37











    • This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

      – jojman
      May 24 '17 at 5:40











    • xdg-open seems to ignore this on 16.04.

      – Raphael
      Nov 14 '17 at 8:55



















    • It'll only work in Xubuntu or systems that have exo-utils installed

      – Anwar
      Apr 7 '17 at 12:26






    • 1





      Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

      – user282186
      Apr 8 '17 at 12:42











    • Worked well for krusader after I installed it

      – loxaxs
      May 15 '17 at 9:37











    • This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

      – jojman
      May 24 '17 at 5:40











    • xdg-open seems to ignore this on 16.04.

      – Raphael
      Nov 14 '17 at 8:55

















    It'll only work in Xubuntu or systems that have exo-utils installed

    – Anwar
    Apr 7 '17 at 12:26





    It'll only work in Xubuntu or systems that have exo-utils installed

    – Anwar
    Apr 7 '17 at 12:26




    1




    1





    Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

    – user282186
    Apr 8 '17 at 12:42





    Is there any reason not to install exo-utils? (I use Ubuntu 16.04 and this method of changing the File Manager back to Nautilus, from Nemo, was the only method that worked, out of several I tried.)

    – user282186
    Apr 8 '17 at 12:42













    Worked well for krusader after I installed it

    – loxaxs
    May 15 '17 at 9:37





    Worked well for krusader after I installed it

    – loxaxs
    May 15 '17 at 9:37













    This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

    – jojman
    May 24 '17 at 5:40





    This is the only way I could make xdg-open open directories with nautilus in Debian, thanks.

    – jojman
    May 24 '17 at 5:40













    xdg-open seems to ignore this on 16.04.

    – Raphael
    Nov 14 '17 at 8:55





    xdg-open seems to ignore this on 16.04.

    – Raphael
    Nov 14 '17 at 8:55











    3














    The file manager choice is handled by a file in ~/.local/share/applications. They are mimeapps.list and mimeinfo.cache, deleting both of those files will reset your file manager to the default, which is Nautilus.






    share|improve this answer





















    • 1





      I'm afraid that solution didn't work.

      – nick
      Jan 4 '13 at 14:12
















    3














    The file manager choice is handled by a file in ~/.local/share/applications. They are mimeapps.list and mimeinfo.cache, deleting both of those files will reset your file manager to the default, which is Nautilus.






    share|improve this answer





















    • 1





      I'm afraid that solution didn't work.

      – nick
      Jan 4 '13 at 14:12














    3












    3








    3







    The file manager choice is handled by a file in ~/.local/share/applications. They are mimeapps.list and mimeinfo.cache, deleting both of those files will reset your file manager to the default, which is Nautilus.






    share|improve this answer















    The file manager choice is handled by a file in ~/.local/share/applications. They are mimeapps.list and mimeinfo.cache, deleting both of those files will reset your file manager to the default, which is Nautilus.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Apr 23 '16 at 16:03









    Bus42

    951211




    951211










    answered Jan 3 '13 at 19:30









    RolandiXorRolandiXor

    44.5k25140229




    44.5k25140229








    • 1





      I'm afraid that solution didn't work.

      – nick
      Jan 4 '13 at 14:12














    • 1





      I'm afraid that solution didn't work.

      – nick
      Jan 4 '13 at 14:12








    1




    1





    I'm afraid that solution didn't work.

    – nick
    Jan 4 '13 at 14:12





    I'm afraid that solution didn't work.

    – nick
    Jan 4 '13 at 14:12











    1
















    1. sudo mv /usr/bin/nemo /usr/bin/nemo.backup

    2. Open any folder. You could use xdg-open /path/to/folder/ while in the command line, for example. Or you could use a X application that requests a file.

    3. A dialog should appear to you requesting a default application to be your file manager. Type /usr/bin/nautilus there and confirm.


    After that, as long as you don't rename nemo to its original name/location, nautilus will be your default file manager again.






    share|improve this answer




























      1
















      1. sudo mv /usr/bin/nemo /usr/bin/nemo.backup

      2. Open any folder. You could use xdg-open /path/to/folder/ while in the command line, for example. Or you could use a X application that requests a file.

      3. A dialog should appear to you requesting a default application to be your file manager. Type /usr/bin/nautilus there and confirm.


      After that, as long as you don't rename nemo to its original name/location, nautilus will be your default file manager again.






      share|improve this answer


























        1












        1








        1









        1. sudo mv /usr/bin/nemo /usr/bin/nemo.backup

        2. Open any folder. You could use xdg-open /path/to/folder/ while in the command line, for example. Or you could use a X application that requests a file.

        3. A dialog should appear to you requesting a default application to be your file manager. Type /usr/bin/nautilus there and confirm.


        After that, as long as you don't rename nemo to its original name/location, nautilus will be your default file manager again.






        share|improve this answer















        1. sudo mv /usr/bin/nemo /usr/bin/nemo.backup

        2. Open any folder. You could use xdg-open /path/to/folder/ while in the command line, for example. Or you could use a X application that requests a file.

        3. A dialog should appear to you requesting a default application to be your file manager. Type /usr/bin/nautilus there and confirm.


        After that, as long as you don't rename nemo to its original name/location, nautilus will be your default file manager again.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 24 '13 at 21:32









        thiagowfxthiagowfx

        57549




        57549






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f235660%2fhow-do-i-change-the-default-file-manager-back-to-nautilus%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei