ADS

Sunday, 3 July 2011

How to Clear And Disable Recent Documents in Ubuntu

Ok, you made the switch over to Ubuntu from Windows, everything thing is going good, and now you want to do some familiar things like hide your tracks and disable the recent documents folder.
Clearing them out is easy, just click on Places on the top panel menu, and select Recent Documents \ Clear Recent Documents and click on the Clear button when prompted.
ubrecentdocs1.png
The list of recently access documents will be deleted (not the documents themselves). But now you want to disable the view completely.



NOTE: The following steps was tested on Ubuntu 8.04 (Hardy Heron) and may not work properly on previous versions.
To disable, open up a Terminal window by clicking on Application \ Accessories \ Terminal from the top panel menu and enter the following set of commands:
rm ~/.recently-used.xbel
followed by…
touch ~/.recently-used.xbel
…one more (after entering the following command, you will be prompted to enter your password)
sudo chattr +i ~/.recently-used.xbel
Next, clear the Recent Documents list as described above.
Now when you check Places \ Recent Documents again, it should now be greyed out and disabled.
ubrecentdocs2.png
No more displaying "those" recently viewed documents (..aahem).
To explain what occurred to disable Recent Documents using the above set of commands:
  • We first removed the file recently-used.xbel (located in the root of your Home directory by using the rm command (this file is used to store the list of documents)
  • Next we re-created the file using the touch command.
  • Then we changed the attribute of the file to make it inaccessible using the command chattr +i.
If you decide someday that you want to enable displaying of Recent Documents, just run the following command:
sudo chattr -i ~/.recently-used.xbel
The view will remain greyed out and disabled until you access a document, which will cause it to start displaying viewed documents.
Oh yea, one more thing, when you do enable Recent Documents, all documents that you accessed when it was disabled, will be visible. So make sure you clear them out again….otherwise everyone will be able to see what you were trying to hide in the first place ;

2 comments:

  1. I've been surfing online more than 3 hours nowadays, but I by no means found any fascinating article like yours. It's pretty worth enough for me.
    Personally, if all webmasters and bloggers made excellent
    content as you probably did, the internet will probably be a lot more helpful than ever before.



    Here is my web page - plus de followers

    ReplyDelete
  2. It is likely that this page is about. As the weeks go by, I should be getting back in the early web search
    design, engines didn't think they needed smarter ways to extract the requested information. With quality and effective traffic services to achieve this, Google identifies valuable websites and tries to serve them up highly in search engines.

    My web page search engine optimization nj

    ReplyDelete