Hiding any file or folder in Thunar

Usually, programs store their configuration files in a hidden folder that resides within the user’s $HOME. Such folders start with a dot (.), and are therefore regarded as hidden by the file manager. There are however, programs that do not follow this convention and instead create a regular folder in $HOME to store their settings and system files. Its location cannot be changed, which can be particularly annoying.

I searched a bit and found this discussion about Nautilus. However, the instructions work for Thunar, too!

Create a plain text file called .hidden in your $HOME. Open ~/.hidden with your favourite text editor and put the names of any files or folders that you do not want to be shown. Close all Thunar instances and these will not show anymore when you open the file manager! They are considered hidden from now on.

In my particular case, I wanted to hide the system folders of CLC Sequence Viewer and Cytoscape, as well as config files of AmplifX and PSPP. Therefore, my ~/.hidden contains the following:

AmplifX 1.7 preferences

Yes, I even hide the Desktop folder. Why do I need it there? It is already present in the left panel of Thunar under Places.

Finally my $HOME is uncluttered and tidy. Note that this will work for any other folder, too.

One Comment on “Hiding any file or folder in Thunar”

  1. […] Note that the _aptx_configuration_file.txt file does not start with a dot, therefore it is not hidden. I hide it in Thunar, as described here. […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s