You are not logged in.
This isn't much about DEs, but its the most relevant place I could think of.
Anywho, I get tired of seeing so many dot files in my home dir and only a few in ~/.config. To me, they should all be in ~/.config since they're all config files and that just keeps everything looking cleaner.
So my question is, is there a global path for config files that apps use? So that I could somehow change the path to ~/.config, move all the dot files there, and everything would work like a charm. Or, is there more to it than that?
dnyy in IRC & Urban Terror
Offline
Generally, it's up to apps where they store config files. Some follow the freedesktop specification, which has a variable they should use, normally ~/.config. You could, I suppose, symlink files to/from ~/.config, but that wouldn't change much.
Offline
So you can free yourself, you could have this setup:
/
/home (all . files)
/docs (all you documents...)
Archi686 User | Old Screenshots | Old .Configs
Vi veri universum vivus vici.
Offline
You've got to wonder why developers generally write their programs to put configs in ~/ . It's annoying to me as well. Don't see much way around it except patching every program I run. Might be worth it though.
Offline
I find this so damn annoying, why does almost every app have to pollute the home directory like that ?
I really do get happy to see something with configs in ~/.config...I mean, seriously, what's so hard about doing that ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Interesting point. I found the specification here http://standards.freedesktop.org/basedi … c-0.6.html.
And the variable XDG_CONFIG_HOME=/home/kaktuz/.config exists in the environment and looks good.
Offline
What's worse are programs that write to ~/ with regular files, like a lot of games that will dump log files there (log.001 log.002 game.001 ). At least the dot files can be kept hidden.
Offline
I actually prefer my config files in ~/, unless there are multiple files for one app. E.g., for conky, ~/.conkyrc is fine, but for openbox, ~/.config/openbox is the right place for the three config files.
In fact, it REALLY annoys me when an app with only one config file creates a whole new directory for it. For example, tint2 insists on ~/.config/tint2/tint2rc -- really irritating. The only time I ever type the name of a config file is to edit it, and vi .xbindkeysrc is much faster than tediously typing out, say, vi .config/xbindkeys/xbindkeyrc EVERY TIME.
That's my opinion: if you have a single config file, put it as a dotfile in ~/; otherwise it goes into your own dir in ~/.config. Oh, and I think it ought to be ~/.cfg instead of ~/.config--faster to type, and fits with the rest of the Linux directory tree (/usr, /bin, /etc, /dev, and so on).
Offline
[...snip]
vi .xbindkeysrc is much faster than tediously typing out, say, vi .config/xbindkeys/xbindkeyrc EVERY TIME.[..snip] Oh, and I think it ought to be ~/.cfg instead of ~/.config--faster to type [..snip]
But that's why they have aliases to lessen the typing
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
weasel8 wrote:[...snip]
vi .xbindkeysrc is much faster than tediously typing out, say, vi .config/xbindkeys/xbindkeyrc EVERY TIME.[..snip] Oh, and I think it ought to be ~/.cfg instead of ~/.config--faster to type [..snip]
But that's why they have aliases to lessen the typing
Also, you should try hitting TAB, there's this wonderful thing called auto-completion. It's really great and you're missing out
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Well, I set my home to /home/<username>/.cfg and it works great. Yes, many open-file dialogs opens $HOME by default, but still it is worth for me...
Offline
better to report this advice to application writer.
i have already report some, and some of them did.
Offline