Fedora Operating System |
Linux/Unix is great. It gives us freedom to enjoy all that is free. Yes, but with such freedom there can be headaches and complexities. Like, for instance, simple task such as clearing your recent documents or websites that you visited can be a taunting task on Fedora. However, it is not. I will show you how in this post, "How to clear recent documents in Fedora 15 or 16?"
First, if you are like me who sometimes tend to visit websites or watched "Girls Gone Wild" videos not approved by your wife on your computer, then obviously you wouldn't want anyone to find out especially your nosy wife (LOL).
Girls gone Wild |
To clear recently visited websites:
Like most of us, if you are using FireFox for surfing the net, then it already has options to prevent it from storing websites you visited in its cache.
- Open FireFox program
- Go to the menu Edit->Preferences->Privacy Tab
- On that tab page, you will see History with pull down option. Click on it and select "Never remember history."
- Then, you will also see a link, "Clear all current history." Click on it and a small window will open.
- At the very top of that window, you will see a "Time Range to clear:" pull down option. Select "Everything" and click "Clear Now" button in the bottom. Once it completes, it will close and take you back to the previous window, "Privacy tab."
- On the Privacy tab, you will also see "Location bar (When using location bar, suggest):" with pull down options. Set it to "Nothing."
- Now, Firefox also comes with one more options that you may like. FireFox has "Start Private Browsing" option under Tools menu. Once you set it, nothing will be saved in its cache.
- Now you are done.
To clear your recent files, documents or items:
You can do this one of two ways - manually or automatically.
Manually:
- Open your terminal program and execute the following command as you see it below.
- rm ~/.local/share/recently-used.xbel
- Once again on your terminal program, execute the following command as you see it below.
- mkdir ~/.local/share/recently-used.xbel
- Then, you are done.
Automatically:
To be able to do the same automatically at certain time interval, you are going to need a program. In this case, the program I use to run tasks on Fedora is called Genome-Schedule. Genome-Schedule lets you execute commands and/or run programs at selected time interval, which can come in handy for situation like this.
Genome-Schedule |
First, you need to install Genome-Schedule if you don't have it already. To install, run the following command on your terminal - sudo yum install gnome-schedule.
After it installs, you need to create a script using the above mentioned commands.
- Open gedit and enter these commands one per line.
- rm ~/.local/share/recently-used.xbel
- mkdir ~/.local/share/recently-used.xbel
- Give it whatever name you want and save it as a script file by adding .sh as its extension. sh extension means that it is a script file.
- Then, open your Genome-Schedule and create a new task to run by clicking on the new button.
- A window will popup asking you to provide information on your task. Enter them as follows.
- Task Name: Whatever you want
- Task Command: sh YOUR_DIRECT_PATH_TO_THE_SCRIPT_FILE+YOUR SCRIPT FILE
- Next, select Basic for Time and Date to run. Then from the pull down options, select "Every hours."
- Then, click on add button in the bottom of that window and you are done.
- Close the main Genome-Schedule window. From now on, your script will be run once an hour cleaning your recent files or documents on your computer
That's it. Now, you can rest assured that no one is going to snoop around
and find out what naughty things you've been doing on your Fedora system or computer. Enjoy browsing or viewing in comfort. :)
and find out what naughty things you've been doing on your Fedora system or computer. Enjoy browsing or viewing in comfort. :)
No comments:
Post a Comment