DevHeads.net

Put all KDE config files under one directory like ~/.config/kde/

I found KDE put all components config files under ~/.config/.
Because there are lot of configs of KDE, and lot of programs configs
under it.
When I want to do something (like reset KDE configs) I don't know which
ones need to delete.
Put all KDE related config files under ~/.config/kde/ will help user.

Really. That's a totally mess!!!

Comments

Re: Put all KDE config files under one directory like ~/.config/

By Kevin Krammer at 03/12/2018 - 04:17

On Montag, 12. März 2018 06:33:42 CET stardiviner wrote:
It seems that at some point there was a .config/kde.org "vendor" directory, but
indeed most configs are at the top level nowadays.

I would suggest to file a wish item ticket on bugs.kde.org

Unfortunately changing file locations is a bit problematic, as moving the file
means an older version won't find it anymore and copying means they easily get
out of sync.

But it does sound like a good idea to have each vendor use a directory of its
own.

Cheers,
Kevin

Re: Put all KDE config files under one directory like ~/.config/

By stardiviner at 03/12/2018 - 22:16

I see. you mentioned problem indeed. I will consider find file based on
modified timestamp.

On 03/12/2018 05:17 PM, Kevin Krammer wrote:

Re: Put all KDE config files under one directory like ~/.config/

By =?utf-8?Q?Ren=C... at 03/12/2018 - 04:10

How long have you been using Linux and/or Unix systems?

Before the Freedesktop.org standard everyone put their config and other user-specific resource stuff in a place of their choosing, typically directly into $HOME or if you were lucky, in a dedicated subdirectory under $HOME (e.g.: ~/.ssh).

To extrapolate your argument a bit: don't you think that /usr/bin is an even worse total mess? Everything ends up being installed there

Morale: storing settings files of an entire software family will always remain a mess. This may be why Gnome/GTk use a database (or at least provide a database-like central interface to the settings repository). And you only have to look at the MS Windows registry to know what an incredible mess such a thing can become.

The best way to figure out which settings file you're looking for is to look at the file date. And if you want them all in one place you should be able to do that with a simple change (maybe even a configure option) to one of the frameworks. Certain distributions did that so KDE4 stuff was under ~/.kde4 instead of ~/.kde .

Doing this upstream would force the decision upon everyone, with all the resulting maintenance costs (each and every application will have to ensure their settings are migrated properly and even then some users may find that they lost their settings). That's not a decision the core devs will make lightly, or so I hope.

R.