I have a few apps that create visible folders in my home directory by default. I would like to hide these folders so I don't have to see them when I open Nemo. I prefer to see only the folders I actually use, such as Documents, Videos, Music, Projects, etc. Making them dotfiles either makes the app freak out because it can't find the folder any longer, or, in one case, the app just creates the folder again the next time it is run. Is there a way to hide these files? Perhaps a way to create some sort of alias so the app could search for a given directory, but be redirected to a dotfile? I'm using Linux Mint 18.3 Cinnamon.

Note: This is not a duplicate of this question, as that ended up being a debate on the usefulness of file hiding in general.


Nemo uses GLib, so you should have access to the .hidden feature that it provides.

Create a file named .hidden in the parent directory containing the files or directories that you want to hide, then in this .hidden file list everything you want to hide, e.g.


All files listed in .hidden will be hidden by default (use Ctrl+H to unhide).

(feature's source code)

| improve this answer | |
  • 1
    Just tested... Works in Caja as well. – David Yockey Oct 24 '19 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.