You did not state which version of KDE you are using. User config files have been moved around between releases. In earlier releases, a lot was in ~/.kde
or ~/.kde4
while more recently ~/.config
is the standard directory.
With plasma 5.13 from KDE Neon, Power devil uses ~/.config/powermanagementprofilesrc
.
A general solution to find a config file:
- Make a git repo (
git init
) in the directory you suspect the config files might be in (including its children)
- Add everything to the repo (
git add .
)
- Make a commit (
git commit
)
- Make the change you want via GUI (e.g. System Settings)
- Check where and what has changed (
git diff
)
You can remove the git repo with rm -rf .git
when you are done. If you added a very big directory (like homedir) in step 1, then you might want to add some cache directories or other spontaneously changing false leads to the .gitignore
file.
Also, you might want to bookmark https://userbase.kde.org/KDE_System_Administration for help on the location and syntax of config files.
sed
from a script, orvim
/nano
in a terminal).