How to disable “recent files” folder in Nautilus?












24















When I turn off " record activity" in the privacy settings, my activities are still recorded in the "recent files" folder (even when I am using a truecrypt volume).



I haven't figured out a PERMANENT solution to this problem. It sucks to delete history via terminal manually and what happens if I forget?










share|improve this question




















  • 1





    One of you should post that as an answer, but beware that does not clear everything (such as bash history and specific applications may also track recent files).

    – Panther
    May 13 '13 at 17:05











  • Exactly how are you deleting the history via the terminal? I'd really like a temporary solution.

    – Hubro
    Jul 9 '13 at 15:34











  • in Ubuntu 13.04 the settings.ini file is in /etc/gtk-3.0/settings.ini and the configuration will be applied for all users

    – user198454
    Oct 3 '13 at 16:47
















24















When I turn off " record activity" in the privacy settings, my activities are still recorded in the "recent files" folder (even when I am using a truecrypt volume).



I haven't figured out a PERMANENT solution to this problem. It sucks to delete history via terminal manually and what happens if I forget?










share|improve this question




















  • 1





    One of you should post that as an answer, but beware that does not clear everything (such as bash history and specific applications may also track recent files).

    – Panther
    May 13 '13 at 17:05











  • Exactly how are you deleting the history via the terminal? I'd really like a temporary solution.

    – Hubro
    Jul 9 '13 at 15:34











  • in Ubuntu 13.04 the settings.ini file is in /etc/gtk-3.0/settings.ini and the configuration will be applied for all users

    – user198454
    Oct 3 '13 at 16:47














24












24








24


15






When I turn off " record activity" in the privacy settings, my activities are still recorded in the "recent files" folder (even when I am using a truecrypt volume).



I haven't figured out a PERMANENT solution to this problem. It sucks to delete history via terminal manually and what happens if I forget?










share|improve this question
















When I turn off " record activity" in the privacy settings, my activities are still recorded in the "recent files" folder (even when I am using a truecrypt volume).



I haven't figured out a PERMANENT solution to this problem. It sucks to delete history via terminal manually and what happens if I forget?







nautilus






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 13 '13 at 22:02









Braiam

52k20136222




52k20136222










asked May 13 '13 at 16:23









aaaaaaaa

3683412




3683412








  • 1





    One of you should post that as an answer, but beware that does not clear everything (such as bash history and specific applications may also track recent files).

    – Panther
    May 13 '13 at 17:05











  • Exactly how are you deleting the history via the terminal? I'd really like a temporary solution.

    – Hubro
    Jul 9 '13 at 15:34











  • in Ubuntu 13.04 the settings.ini file is in /etc/gtk-3.0/settings.ini and the configuration will be applied for all users

    – user198454
    Oct 3 '13 at 16:47














  • 1





    One of you should post that as an answer, but beware that does not clear everything (such as bash history and specific applications may also track recent files).

    – Panther
    May 13 '13 at 17:05











  • Exactly how are you deleting the history via the terminal? I'd really like a temporary solution.

    – Hubro
    Jul 9 '13 at 15:34











  • in Ubuntu 13.04 the settings.ini file is in /etc/gtk-3.0/settings.ini and the configuration will be applied for all users

    – user198454
    Oct 3 '13 at 16:47








1




1





One of you should post that as an answer, but beware that does not clear everything (such as bash history and specific applications may also track recent files).

– Panther
May 13 '13 at 17:05





One of you should post that as an answer, but beware that does not clear everything (such as bash history and specific applications may also track recent files).

– Panther
May 13 '13 at 17:05













Exactly how are you deleting the history via the terminal? I'd really like a temporary solution.

– Hubro
Jul 9 '13 at 15:34





Exactly how are you deleting the history via the terminal? I'd really like a temporary solution.

– Hubro
Jul 9 '13 at 15:34













in Ubuntu 13.04 the settings.ini file is in /etc/gtk-3.0/settings.ini and the configuration will be applied for all users

– user198454
Oct 3 '13 at 16:47





in Ubuntu 13.04 the settings.ini file is in /etc/gtk-3.0/settings.ini and the configuration will be applied for all users

– user198454
Oct 3 '13 at 16:47










10 Answers
10






active

oldest

votes


















36














The method with editing ~/.config/gtk-3.0/settings.ini doesn't work with Nautilus 3.8.
But there is better and simpler way.
Simply open dconf-editor, navigate to org->gnome->desktop->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






share|improve this answer





















  • 2





    org->gnome->desktop doesn't have privacy for me in 13.04.

    – Prinzhorn
    Jan 4 '14 at 11:35











  • +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

    – Ben
    Jan 18 '14 at 23:07








  • 2





    in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

    – Din
    Jun 29 '14 at 11:17



















8














Disable the Nautilus Recent Files list



To permanently disable any recent files from showing up in the Nautilus Recent sidebar item, open the ~/.config/gtk-3.0/settings.ini file with a text editor:



gedit ~/.config/gtk-3.0/settings.ini


and under "[Settings]", add the following lines:



gtk-recent-files-max-age=0
gtk-recent-files-limit=0


If this file does not exist, create it. Make sure the header says "[Settings]" and not "Settings". This is how the file should look after editing it:



[Settings]
gtk-recent-files-max-age=0
gtk-recent-files-limit=0


(there can be other items below these, of course).



To apply the changes, log out and log back in.



Copied from Webupd8 exercising (cc) BY-NC-SA WebUpd8 : Nautilus 3.6: How To Clear The Recent Files List (Or Disable It)






share|improve this answer





















  • 2





    Doesn't work for me on 13.04.

    – pcworld
    Aug 20 '13 at 23:27



















5














In 14.04 go to Settings > Security & Privacy > Files & Applications and check "off" Record file and application usage.






share|improve this answer
























  • not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

    – Hiep
    Apr 24 '17 at 21:17











  • It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

    – Paul Gregoire
    Apr 25 '17 at 3:06



















2














You have 4 options (AFIK)




  1. Use the guest account. The guest account is confined by apparmor and the session is wiped when you log out.


  2. Each user should have a separate account.


  3. Write a script to clear your private data.


  4. use bleachbit.







share|improve this answer
























  • I suppose you could always boot from a flash drive as well.

    – Panther
    May 13 '13 at 16:48



















2














If you're using Ubuntu 17.10 and above (or Ubuntu GNOME) then:




  • Open Settings

  • Open the Privacy Tab
    enter image description here


  • Click Usage & History and disable the "Recently Used" label
    enter image description here







share|improve this answer































    1














    As the settings.ini method didn't work for me on Ubuntu 13.04, here is a workaround that should be pretty reliable:



    $ rm ~/.local/share/recently-used.xbel # clear current file history
    $ touch ~/.local/share/recently-used.xbel # create a 0-byte history file
    $ sudo chattr +i ~/.local/share/recently-used.xbel # make it readonly





    share|improve this answer































      1














      Starting with GTK 3.8 (Ubuntu 13.10 and later) you can just use the following setting in
      ~/.config/gtk-3.0/settings.ini to disable the "Recent files" feature completely:



      [Settings]
      gtk-recent-files-enabled = 0





      share|improve this answer





















      • 1





        didn't work for me on 13.10, dconf-editor solution works well

        – baptx
        Dec 9 '13 at 12:44



















      0














      Simply open dconf-editor, navigate to org->gnome->(filemanager e.g. nemo for me)->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






      share|improve this answer

































        0














        Using the terminal:



        gsettings set org.gnome.desktop.privacy remember-recent-files false





        share|improve this answer































          -1














          If you are using Nemo as your file manager and to manage your desktop, you should look under /org/cinnamon/desktop/privacy in dconf-editor, too.






          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%2f294901%2fhow-to-disable-recent-files-folder-in-nautilus%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            10 Answers
            10






            active

            oldest

            votes








            10 Answers
            10






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            36














            The method with editing ~/.config/gtk-3.0/settings.ini doesn't work with Nautilus 3.8.
            But there is better and simpler way.
            Simply open dconf-editor, navigate to org->gnome->desktop->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






            share|improve this answer





















            • 2





              org->gnome->desktop doesn't have privacy for me in 13.04.

              – Prinzhorn
              Jan 4 '14 at 11:35











            • +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

              – Ben
              Jan 18 '14 at 23:07








            • 2





              in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

              – Din
              Jun 29 '14 at 11:17
















            36














            The method with editing ~/.config/gtk-3.0/settings.ini doesn't work with Nautilus 3.8.
            But there is better and simpler way.
            Simply open dconf-editor, navigate to org->gnome->desktop->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






            share|improve this answer





















            • 2





              org->gnome->desktop doesn't have privacy for me in 13.04.

              – Prinzhorn
              Jan 4 '14 at 11:35











            • +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

              – Ben
              Jan 18 '14 at 23:07








            • 2





              in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

              – Din
              Jun 29 '14 at 11:17














            36












            36








            36







            The method with editing ~/.config/gtk-3.0/settings.ini doesn't work with Nautilus 3.8.
            But there is better and simpler way.
            Simply open dconf-editor, navigate to org->gnome->desktop->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






            share|improve this answer















            The method with editing ~/.config/gtk-3.0/settings.ini doesn't work with Nautilus 3.8.
            But there is better and simpler way.
            Simply open dconf-editor, navigate to org->gnome->desktop->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 15 '13 at 18:50









            guntbert

            9,256133170




            9,256133170










            answered Nov 15 '13 at 18:05









            ionash.ionash.

            36132




            36132








            • 2





              org->gnome->desktop doesn't have privacy for me in 13.04.

              – Prinzhorn
              Jan 4 '14 at 11:35











            • +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

              – Ben
              Jan 18 '14 at 23:07








            • 2





              in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

              – Din
              Jun 29 '14 at 11:17














            • 2





              org->gnome->desktop doesn't have privacy for me in 13.04.

              – Prinzhorn
              Jan 4 '14 at 11:35











            • +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

              – Ben
              Jan 18 '14 at 23:07








            • 2





              in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

              – Din
              Jun 29 '14 at 11:17








            2




            2





            org->gnome->desktop doesn't have privacy for me in 13.04.

            – Prinzhorn
            Jan 4 '14 at 11:35





            org->gnome->desktop doesn't have privacy for me in 13.04.

            – Prinzhorn
            Jan 4 '14 at 11:35













            +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

            – Ben
            Jan 18 '14 at 23:07







            +1 neat. For noobs like me, dconf-editor just runs in my terminal - it's a UI :)

            – Ben
            Jan 18 '14 at 23:07






            2




            2





            in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

            – Din
            Jun 29 '14 at 11:17





            in Gnome 3.8 Settings -> Privacy -> Turn of Usage & History

            – Din
            Jun 29 '14 at 11:17













            8














            Disable the Nautilus Recent Files list



            To permanently disable any recent files from showing up in the Nautilus Recent sidebar item, open the ~/.config/gtk-3.0/settings.ini file with a text editor:



            gedit ~/.config/gtk-3.0/settings.ini


            and under "[Settings]", add the following lines:



            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            If this file does not exist, create it. Make sure the header says "[Settings]" and not "Settings". This is how the file should look after editing it:



            [Settings]
            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            (there can be other items below these, of course).



            To apply the changes, log out and log back in.



            Copied from Webupd8 exercising (cc) BY-NC-SA WebUpd8 : Nautilus 3.6: How To Clear The Recent Files List (Or Disable It)






            share|improve this answer





















            • 2





              Doesn't work for me on 13.04.

              – pcworld
              Aug 20 '13 at 23:27
















            8














            Disable the Nautilus Recent Files list



            To permanently disable any recent files from showing up in the Nautilus Recent sidebar item, open the ~/.config/gtk-3.0/settings.ini file with a text editor:



            gedit ~/.config/gtk-3.0/settings.ini


            and under "[Settings]", add the following lines:



            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            If this file does not exist, create it. Make sure the header says "[Settings]" and not "Settings". This is how the file should look after editing it:



            [Settings]
            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            (there can be other items below these, of course).



            To apply the changes, log out and log back in.



            Copied from Webupd8 exercising (cc) BY-NC-SA WebUpd8 : Nautilus 3.6: How To Clear The Recent Files List (Or Disable It)






            share|improve this answer





















            • 2





              Doesn't work for me on 13.04.

              – pcworld
              Aug 20 '13 at 23:27














            8












            8








            8







            Disable the Nautilus Recent Files list



            To permanently disable any recent files from showing up in the Nautilus Recent sidebar item, open the ~/.config/gtk-3.0/settings.ini file with a text editor:



            gedit ~/.config/gtk-3.0/settings.ini


            and under "[Settings]", add the following lines:



            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            If this file does not exist, create it. Make sure the header says "[Settings]" and not "Settings". This is how the file should look after editing it:



            [Settings]
            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            (there can be other items below these, of course).



            To apply the changes, log out and log back in.



            Copied from Webupd8 exercising (cc) BY-NC-SA WebUpd8 : Nautilus 3.6: How To Clear The Recent Files List (Or Disable It)






            share|improve this answer















            Disable the Nautilus Recent Files list



            To permanently disable any recent files from showing up in the Nautilus Recent sidebar item, open the ~/.config/gtk-3.0/settings.ini file with a text editor:



            gedit ~/.config/gtk-3.0/settings.ini


            and under "[Settings]", add the following lines:



            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            If this file does not exist, create it. Make sure the header says "[Settings]" and not "Settings". This is how the file should look after editing it:



            [Settings]
            gtk-recent-files-max-age=0
            gtk-recent-files-limit=0


            (there can be other items below these, of course).



            To apply the changes, log out and log back in.



            Copied from Webupd8 exercising (cc) BY-NC-SA WebUpd8 : Nautilus 3.6: How To Clear The Recent Files List (Or Disable It)







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 14 '13 at 23:02


























            community wiki





            2 revs, 2 users 98%
            jokerdino










            • 2





              Doesn't work for me on 13.04.

              – pcworld
              Aug 20 '13 at 23:27














            • 2





              Doesn't work for me on 13.04.

              – pcworld
              Aug 20 '13 at 23:27








            2




            2





            Doesn't work for me on 13.04.

            – pcworld
            Aug 20 '13 at 23:27





            Doesn't work for me on 13.04.

            – pcworld
            Aug 20 '13 at 23:27











            5














            In 14.04 go to Settings > Security & Privacy > Files & Applications and check "off" Record file and application usage.






            share|improve this answer
























            • not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

              – Hiep
              Apr 24 '17 at 21:17











            • It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

              – Paul Gregoire
              Apr 25 '17 at 3:06
















            5














            In 14.04 go to Settings > Security & Privacy > Files & Applications and check "off" Record file and application usage.






            share|improve this answer
























            • not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

              – Hiep
              Apr 24 '17 at 21:17











            • It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

              – Paul Gregoire
              Apr 25 '17 at 3:06














            5












            5








            5







            In 14.04 go to Settings > Security & Privacy > Files & Applications and check "off" Record file and application usage.






            share|improve this answer













            In 14.04 go to Settings > Security & Privacy > Files & Applications and check "off" Record file and application usage.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 9 '14 at 13:30









            Paul GregoirePaul Gregoire

            418513




            418513













            • not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

              – Hiep
              Apr 24 '17 at 21:17











            • It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

              – Paul Gregoire
              Apr 25 '17 at 3:06



















            • not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

              – Hiep
              Apr 24 '17 at 21:17











            • It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

              – Paul Gregoire
              Apr 25 '17 at 3:06

















            not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

            – Hiep
            Apr 24 '17 at 21:17





            not work! i excluded all the videos, my movies folder, my video player applications.. but it keep adding videos into "Recent" list

            – Hiep
            Apr 24 '17 at 21:17













            It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

            – Paul Gregoire
            Apr 25 '17 at 3:06





            It worked at the time for me in 14; I've been using 16 for awhile now and couldn't say if its still valid or not.

            – Paul Gregoire
            Apr 25 '17 at 3:06











            2














            You have 4 options (AFIK)




            1. Use the guest account. The guest account is confined by apparmor and the session is wiped when you log out.


            2. Each user should have a separate account.


            3. Write a script to clear your private data.


            4. use bleachbit.







            share|improve this answer
























            • I suppose you could always boot from a flash drive as well.

              – Panther
              May 13 '13 at 16:48
















            2














            You have 4 options (AFIK)




            1. Use the guest account. The guest account is confined by apparmor and the session is wiped when you log out.


            2. Each user should have a separate account.


            3. Write a script to clear your private data.


            4. use bleachbit.







            share|improve this answer
























            • I suppose you could always boot from a flash drive as well.

              – Panther
              May 13 '13 at 16:48














            2












            2








            2







            You have 4 options (AFIK)




            1. Use the guest account. The guest account is confined by apparmor and the session is wiped when you log out.


            2. Each user should have a separate account.


            3. Write a script to clear your private data.


            4. use bleachbit.







            share|improve this answer













            You have 4 options (AFIK)




            1. Use the guest account. The guest account is confined by apparmor and the session is wiped when you log out.


            2. Each user should have a separate account.


            3. Write a script to clear your private data.


            4. use bleachbit.








            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 13 '13 at 16:41









            PantherPanther

            79.1k14157259




            79.1k14157259













            • I suppose you could always boot from a flash drive as well.

              – Panther
              May 13 '13 at 16:48



















            • I suppose you could always boot from a flash drive as well.

              – Panther
              May 13 '13 at 16:48

















            I suppose you could always boot from a flash drive as well.

            – Panther
            May 13 '13 at 16:48





            I suppose you could always boot from a flash drive as well.

            – Panther
            May 13 '13 at 16:48











            2














            If you're using Ubuntu 17.10 and above (or Ubuntu GNOME) then:




            • Open Settings

            • Open the Privacy Tab
              enter image description here


            • Click Usage & History and disable the "Recently Used" label
              enter image description here







            share|improve this answer




























              2














              If you're using Ubuntu 17.10 and above (or Ubuntu GNOME) then:




              • Open Settings

              • Open the Privacy Tab
                enter image description here


              • Click Usage & History and disable the "Recently Used" label
                enter image description here







              share|improve this answer


























                2












                2








                2







                If you're using Ubuntu 17.10 and above (or Ubuntu GNOME) then:




                • Open Settings

                • Open the Privacy Tab
                  enter image description here


                • Click Usage & History and disable the "Recently Used" label
                  enter image description here







                share|improve this answer













                If you're using Ubuntu 17.10 and above (or Ubuntu GNOME) then:




                • Open Settings

                • Open the Privacy Tab
                  enter image description here


                • Click Usage & History and disable the "Recently Used" label
                  enter image description here








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 4 '18 at 17:11









                hexmanhexman

                506417




                506417























                    1














                    As the settings.ini method didn't work for me on Ubuntu 13.04, here is a workaround that should be pretty reliable:



                    $ rm ~/.local/share/recently-used.xbel # clear current file history
                    $ touch ~/.local/share/recently-used.xbel # create a 0-byte history file
                    $ sudo chattr +i ~/.local/share/recently-used.xbel # make it readonly





                    share|improve this answer




























                      1














                      As the settings.ini method didn't work for me on Ubuntu 13.04, here is a workaround that should be pretty reliable:



                      $ rm ~/.local/share/recently-used.xbel # clear current file history
                      $ touch ~/.local/share/recently-used.xbel # create a 0-byte history file
                      $ sudo chattr +i ~/.local/share/recently-used.xbel # make it readonly





                      share|improve this answer


























                        1












                        1








                        1







                        As the settings.ini method didn't work for me on Ubuntu 13.04, here is a workaround that should be pretty reliable:



                        $ rm ~/.local/share/recently-used.xbel # clear current file history
                        $ touch ~/.local/share/recently-used.xbel # create a 0-byte history file
                        $ sudo chattr +i ~/.local/share/recently-used.xbel # make it readonly





                        share|improve this answer













                        As the settings.ini method didn't work for me on Ubuntu 13.04, here is a workaround that should be pretty reliable:



                        $ rm ~/.local/share/recently-used.xbel # clear current file history
                        $ touch ~/.local/share/recently-used.xbel # create a 0-byte history file
                        $ sudo chattr +i ~/.local/share/recently-used.xbel # make it readonly






                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Aug 20 '13 at 23:30









                        pcworldpcworld

                        4841414




                        4841414























                            1














                            Starting with GTK 3.8 (Ubuntu 13.10 and later) you can just use the following setting in
                            ~/.config/gtk-3.0/settings.ini to disable the "Recent files" feature completely:



                            [Settings]
                            gtk-recent-files-enabled = 0





                            share|improve this answer





















                            • 1





                              didn't work for me on 13.10, dconf-editor solution works well

                              – baptx
                              Dec 9 '13 at 12:44
















                            1














                            Starting with GTK 3.8 (Ubuntu 13.10 and later) you can just use the following setting in
                            ~/.config/gtk-3.0/settings.ini to disable the "Recent files" feature completely:



                            [Settings]
                            gtk-recent-files-enabled = 0





                            share|improve this answer





















                            • 1





                              didn't work for me on 13.10, dconf-editor solution works well

                              – baptx
                              Dec 9 '13 at 12:44














                            1












                            1








                            1







                            Starting with GTK 3.8 (Ubuntu 13.10 and later) you can just use the following setting in
                            ~/.config/gtk-3.0/settings.ini to disable the "Recent files" feature completely:



                            [Settings]
                            gtk-recent-files-enabled = 0





                            share|improve this answer















                            Starting with GTK 3.8 (Ubuntu 13.10 and later) you can just use the following setting in
                            ~/.config/gtk-3.0/settings.ini to disable the "Recent files" feature completely:



                            [Settings]
                            gtk-recent-files-enabled = 0






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Oct 12 '13 at 15:55

























                            answered Oct 12 '13 at 15:35









                            aliasbindaliasbind

                            112




                            112








                            • 1





                              didn't work for me on 13.10, dconf-editor solution works well

                              – baptx
                              Dec 9 '13 at 12:44














                            • 1





                              didn't work for me on 13.10, dconf-editor solution works well

                              – baptx
                              Dec 9 '13 at 12:44








                            1




                            1





                            didn't work for me on 13.10, dconf-editor solution works well

                            – baptx
                            Dec 9 '13 at 12:44





                            didn't work for me on 13.10, dconf-editor solution works well

                            – baptx
                            Dec 9 '13 at 12:44











                            0














                            Simply open dconf-editor, navigate to org->gnome->(filemanager e.g. nemo for me)->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






                            share|improve this answer






























                              0














                              Simply open dconf-editor, navigate to org->gnome->(filemanager e.g. nemo for me)->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






                              share|improve this answer




























                                0












                                0








                                0







                                Simply open dconf-editor, navigate to org->gnome->(filemanager e.g. nemo for me)->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!






                                share|improve this answer















                                Simply open dconf-editor, navigate to org->gnome->(filemanager e.g. nemo for me)->privacy and uncheck the remember-recent-files key. That takes care of it, once for all!







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Nov 9 '17 at 6:28









                                fakedad

                                822517




                                822517










                                answered Nov 8 '17 at 22:52









                                lakhanlakhan

                                1




                                1























                                    0














                                    Using the terminal:



                                    gsettings set org.gnome.desktop.privacy remember-recent-files false





                                    share|improve this answer




























                                      0














                                      Using the terminal:



                                      gsettings set org.gnome.desktop.privacy remember-recent-files false





                                      share|improve this answer


























                                        0












                                        0








                                        0







                                        Using the terminal:



                                        gsettings set org.gnome.desktop.privacy remember-recent-files false





                                        share|improve this answer













                                        Using the terminal:



                                        gsettings set org.gnome.desktop.privacy remember-recent-files false






                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered 5 hours ago









                                        Nathaniel M. BeaverNathaniel M. Beaver

                                        264111




                                        264111























                                            -1














                                            If you are using Nemo as your file manager and to manage your desktop, you should look under /org/cinnamon/desktop/privacy in dconf-editor, too.






                                            share|improve this answer




























                                              -1














                                              If you are using Nemo as your file manager and to manage your desktop, you should look under /org/cinnamon/desktop/privacy in dconf-editor, too.






                                              share|improve this answer


























                                                -1












                                                -1








                                                -1







                                                If you are using Nemo as your file manager and to manage your desktop, you should look under /org/cinnamon/desktop/privacy in dconf-editor, too.






                                                share|improve this answer













                                                If you are using Nemo as your file manager and to manage your desktop, you should look under /org/cinnamon/desktop/privacy in dconf-editor, too.







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Jan 11 '18 at 14:19









                                                MarvoMarvo

                                                993




                                                993






























                                                    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%2f294901%2fhow-to-disable-recent-files-folder-in-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

                                                    數位音樂下載

                                                    When can things happen in Etherscan, such as the picture below?

                                                    格利澤436b