System-wide KDE configuration - Autostart for all users

Hi,

I know there is $HOME/.config/ but is there also a directory structure for system-wide KDE configuration that is applied to all users?

I have a system that authenticates against Samba AD and that can be used by multiple users.

I’d love to set some default configuration for all users, especially autostart scripts.
See docs.kde.org slash stable5/en/plasma-workspace/kcontrol/autostart/index.html for a per-user-profile solution. (Please excuse the weird link syntax, I’m not allowed to post a link…)

I know about /etc/skel that is used to create new profiles but that’s not the right thing as this is used only one time when the profile is created. Later additions or changes to the default configuration are not possible. If a profile already is created, changes to skel don’t apply any more.

If there is no system-wide config directory that applies to all KDE Plasma users, is there maybe something like KDE group policies like in Windows to achieve similar things?

Thanks a lot and have nice holidays!
Sebastian

1 Like

Files that appear in $HOME/.config (and similar locations) usually follow the XDG Base Dir Spec

Essentially for every one of those directories there is a search list which can be set via environment variables but which also has defaults.

For config the local directory is determined by $XDG_CONFIG_HOME and defaults to $HOME/.config

The system search list is determined by $XDG_CONFIG_DIRS and defaults to /etc/xdg

See also 2.1 of the XDG Autostart Spec

2 Likes