Clear and Disable Recent Documents list on ubuntu gnome

This post was written by admin on July 19, 2009
Posted Under: General

In Places->Recent Documents it lists recent documents on you ubuntu gnome.You may want to disable it because you don’t want other people to see in your list.

recent-document

To clear the recent documents,just click on “Clear Recent Documents”.

To disable the recent documents feature,first create a file by following command in terminal

touch ~/.gtkrc-2.0

Then,edit the file by:

sudo gedit ~/.gtkrc-2.0

Add following,save and close the file

gtk-recent-files-max-age=0

Restart gnome,the recent documents won’t appear anymore.

Related posts:

  1. How to Disable browser bar drop-down list in Firefox
  2. Malformed line 62 in source list /etc/apt/sources.list (dist parse)
  3. Disable 60 seconds delay notification when logout,shutdown and restart ubuntu9.04
  4. Disable the annoying Beep when shutdown Ubuntu
  5. Customize your own Gnome desktop colors with Gnome color chooser

    Tags:

    Reader Comments

    Thank you :)

    [Reply]

    #1 
    Written By Mattia on December 7th, 2009 @ 10:20 am

    According to the official ubuntu documentation you should never use sudo for graphical applications, but only for command line ones.
    https://help.ubuntu.com/community/RootSudo#Graphical%20sudo
    Instead use gksudo.
    Thanks for the guide though :) .

    [Reply]

    #2 
    Written By Peter Bæk Nielsen on December 20th, 2009 @ 8:12 am

    no need for sudo here at all, you are the owner of the file, just “gedit .gtkrc-2.0″

    [Reply]

    #3 
    Written By tweek on February 24th, 2010 @ 12:23 am

    thanks!!!

    [Reply]

    #4 
    Written By andrea on February 26th, 2010 @ 11:43 am

    it seemed that i had some problem while i was using the command as you do.
    it turned out that

    ‘(gedit:18469): GLib-GIO-CRITICAL **: g_converter_convert: assertion `outbuf_size > 0′ failed
    Segmentation fault (core dumped)’

    I just don’t know why I am using ubuntu 10.04

    [Reply]

    peace Reply:

    me too

    [Reply]

    #5 
    Written By ZHANGWEI on April 3rd, 2010 @ 12:01 am

    Or, alternatively, you could just use:
    echo ‘gtk-recent-files-max-age=0′ >> ~/.gtkrc-2.0
    Which is all of the above, but safer and shorter.

    [Reply]

    #6 
    Written By Someone on April 14th, 2010 @ 12:03 pm

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address