In this article, we’ll walk you through the process of hiding recent files in Unity Dash temporarily. This can be useful for maintaining privacy if you’re sharing your computer with others. There are several methods to achieve this, and we’ll cover each one in detail.
To hide recent files in Unity Dash temporarily, you can use the Activity Log Manager or Gnome Activity Journal to blacklist specific applications, folders, or file patterns. Additionally, you can clear the Zeitgeist history or rename folders to prevent files from appearing in the recent files list.
- Using Activity Log Manager
- Using Gnome Activity Journal
- Clearing the Zeitgeist History
- Renaming Folders
Using Activity Log Manager
Activity Log Manager is a tool that comes pre-installed with Ubuntu Precise 12.04 and later versions. It allows you to manage and control what appears in your recent files list.
Step 1: Access Activity Log Manager
You can access the Activity Log Manager from the System Settings. Alternatively, you can search for “Privacy” in the Unity Dash.
Step 2: Blacklist Applications or Folders
Once you’re in the Activity Log Manager, you can choose to blacklist specific applications or folders. This will prevent them from appearing in your recent files list. Simply click on the ‘Add’ button and select the applications or folders you want to hide.
Using Gnome Activity Journal
Gnome Activity Journal is another tool you can use to manage your recent files. It offers more flexibility as it allows you to blacklist specific file patterns.
Step 1: Install Gnome Activity Journal
You can install Gnome Activity Journal from the Stable PPA. Use the following command in your terminal:
sudo add-apt-repository ppa:zeitgeist/ppa
sudo apt-get update
sudo apt-get install gnome-activity-journal
In this command,
sudo is used to execute commands with root privileges.
add-apt-repository is used to add a new repository.
apt-get update is used to update the package list, and
apt-get install is used to install the package.
Step 2: Enable Blacklist Manager Plugin
After installing Gnome Activity Journal, you need to enable the “Blacklist Manager” plugin. You can do this from the ‘Plugins’ menu.
Step 3: Add File Patterns to Blacklist
Once the Blacklist Manager plugin is enabled, you can add file patterns to the blacklist. This will prevent files matching these patterns from appearing in your recent files list.
Clearing the Zeitgeist History
Zeitgeist is a service in Ubuntu that logs the users’ activities and events, anywhere from files opened to websites visited and conversations. You can clear the Zeitgeist history to remove all recent files.
Step 1: Delete Zeitgeist Folder
You can delete the Zeitgeist folder by using the following command in your terminal:
rm -rf ~/.local/share/zeitgeist
In this command,
rm is used to remove files or directories,
-rf is used to remove directories and their contents recursively, and
~/.local/share/zeitgeist is the directory that stores Zeitgeist data.
Step 2: Restart Zeitgeist
After deleting the Zeitgeist folder, you need to restart the Zeitgeist daemon. You can do this by using the following command in your terminal:
In this command,
zeitgeist-daemon is used to start the Zeitgeist daemon, and
--replace is used to replace the current running instance.
A simple workaround to hide recent files is to rename the folders containing these files. By adding an underscore or any other character at the end of the folder name, the files within won’t appear in the recent files list.
Remember, some of these methods may clear all recent files, not just the ones you want to hide. Also, some solutions may not work in newer versions of Ubuntu. Always make sure to back up important data before making any changes to your system.
No, the methods mentioned in this article are temporary solutions to hide recent files. If you want to permanently hide recent files, you may need to modify the Unity Dash source code or use a different desktop environment.
Hiding recent files will not affect the functionality of your computer. It only hides the files from appearing in the recent files list in Unity Dash. The files will still be accessible through other means, such as the file manager.
Yes, both Activity Log Manager and Gnome Activity Journal allow you to selectively hide certain files or folders. You can blacklist specific applications or folders in Activity Log Manager, and you can add file patterns to the blacklist in Gnome Activity Journal.
No, clearing the Zeitgeist history only removes the log of recent files and activities. It does not delete the actual files from your computer. Your files will remain intact.
Yes, you can undo the changes made to hide recent files. In Activity Log Manager, you can remove the blacklist entries to show the previously hidden files. In Gnome Activity Journal, you can remove the file patterns from the blacklist. If you cleared the Zeitgeist history, the recent files will start appearing again as you use your computer.