Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well, the point of the hidden 'dot' files is that they are not visible when you run ls. Most, if not all of the applications expect your personal config information to be in your home directory in this format. Changing these to another directory would be very difficult afaik because most apps write these files automatically and specifying a different directory could require a hack in the source code.
My advice: don't run ls -a, and if X apps like file managers etc are showing dot files there is usually an option to "show/hide hidden files" or some such.
It would be a lot of hassle, and some programs just won't give you the option of where to store config files, so you'd have to symlink, which would kind of defy the point of it all, to get rid of stuff. Why not just ls instead of ls -a when looking for documents? They're not in hidden directories right? Slightly stupid answer i know, but i don't think there's a workable alternative. let's see what others say anyway
Why not just move all of your documents to subdirectories?? Sacrifice your $HOME directory to keep all the cofiguration files, and keep your documents in a "documents" subdirectory. You've already got what looks like a "Projects" subdirectory. So what's a little more organization gonna hurt?
I've got "documents", "projects", "downloads", "images", "user_install", and a number of other less-common directories.
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Original Poster
Rep:
> Well, the point of the hidden 'dot' files is that they are not visible when you run ls.
> My advice: don't run ls -a, and if X apps like file managers etc are showing dot files there is usually an option to "show/hide hidden files" or some such
I know dot means hidden.
The "ls -a" was to show you the real content of my $HOME, I don't use it often nor use it to open my documents.
The problem was on some applications, for example bluefish, quanta or midnight commander. They have file browsers that show hidden files/dir. Only because of your comment, I looked for the option to turn it off and found it. Thanks. I guess not everybody know about this.
> Sacrifice your $HOME directory to keep all the cofiguration files, and keep your documents in a "documents" subdirectory
I though about this idea too. I put all documents under /doc. However:
* It is only for my private laptop. Can't do that at the office.
* $HOME is no more than 'settings-keeper'. Funny, isn't it ?
> Changing these to another directory would be very difficult afaik because most apps write these files automatically and specifying a different directory could require a hack in the source code.
Damn. This is the worst case I expected.
Where can we send a suggestion to change this habit ?
>Where can we send a suggestion to change this habit ?
I don't think you're going to win that battle, as you would be fighting over 30 years of Unix tradition. If you really think about it, it is the best way to do things. You just need to get used to it.
>My idea it to put all personal settings under $HOME/etc.
>I don't think it will lost that benefit.
Youre right there...
I just had a thought though...all these programs read the value of your $HOME variable, so you could change your $HOME variable to "/home/<username>/etc/"
There may be a few unforeseen side-effects, but maybe giver' a try...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.