2

I know we can config file explorer to hide hidden files, but in the open dialogue box of some program, it is not an option. I am just tired of scrolling through hidden folder and files in my home directory. Is there a way to move them into a sub folder and keep the applications working?

  • Do you have a certain program in mind where the open dialogue does not allow to filter out hidden files? – Dubu Jan 28 '16 at 8:11
  • You could file bug reports with the programs that do not follow the XDG standard ... – StrongBad Jan 28 '16 at 21:11
  • @Dubu There are many programs, some of them don't use the standard GUI kit, so it can't be controlled in the desktop settings. – godblessfq Jan 29 '16 at 9:38
2

You would be going against alot of UNIX momentum and history renaming your the hidden folders in you home directory, I wouldn't do it.
Not only do the existing programs expect those folders to exist but any applications you install in the future will just place more hidden folders in your home directory.
I agree its annoying - I have almost 100 files and folders in my home dir - instead I recommend you learn how to use tools to manage listing and searching files, e.g.

Here is a couple of ways to list ignoring hidden files:

  • ls
  • find . -not -path '*/\.*' ==Explanation==> The -path option checks the pattern against the entire path string. * is a wildcard, / is a directory separator, \. is a dot (it has to be escaped to avoid special meaning), and * is another wildcard. -not means don't select files that match this test.

My personal preference is to use tmux's copy mode (with vi key bindings).

  • ls ignores hidden files by default. You have to explicitly add -a or -A to show them. – Dubu Jan 28 '16 at 8:09
1

Never ever move or delete the dot files in your home directory. This will break your environment because as stated, they hold your configuration. Some are recreated when missing and others not.

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.