this post was submitted on 07 Mar 2024
10 points (100.0% liked)
Linux Questions
1149 readers
25 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm not on Plasma 6 yet, so I can't tell you exactly what to run, but you can find out yourself.
First, figure out what needs to be changed in the config files.
To do so, you can run
git init
in~/.config
. Then rungit add .
in there.Now change the setting you want to change in the UI.
And now run
git diff
to see what changed.I'll use enabling the Wobbly Windows effect as an example.
So, my diff looks like this:
(The wobblywindows-line got added into the
Plugins
group.)Now you can switch off Wobbly Windows in the UI settings and then use these commands (with the appropriate parameters in
kwriteconfig5
) to switch it on again, and tell KWin to load the new settings:Presumably, those "5"s need to be "6"s on Plasma 6.
You can also check
git diff
again to see whether it changes the config file correctly.To actually toggle the value, you'll have to write a script. You can use kreadconfig to read out the current value:
Make sure, you clean up the Git repo we created in your
~/.config
folder once you're done:I am thankful for you explaining how to ACTUALLY work with
kwriteconfig
. It did work withkwriteconfig6 --file ~/.config/kwinrc --group Plugins --key colorblindnesscorrectionEnabled false
in that the file changed the way I expected it to.BUT
While the command does work for changing the configuration on the file -- the qdbus command to reload it doesn't seem to work.
EDIT: I FOUND IT!
See my post (assuming that's already up, am writing it) if you care about the details