Hello, I’m trying to use kwriteconfig to enable and disable ‘on button down scrolling’, however, this config is on a group whose name contains square brackets which are being escaped by the tool.
I’m attempting to update the ScrollMethod value with kwriteconfig6 --file kcminputrc --group "Libinput][5426][92][Razer Razer DeathAdder Elite" --key ScrollMethod 0
But all that does is create a new group with the escaped brackets:
Thank you! The above solves that issue, however, the --notify flag does not make applications aware of the change as I expected… Not even restarting plasmashell worked, only signing out of my session and signing back in made the system aware of the change. How can I replicate the effect the settings’ ‘Apply’ button has? Immediately making the changes take effect?
Yeah sadly no dice with either of those. From your script I’ve installed and tried the qdbus and the qdbus-qt5 binaries for testing.
Something I noticed is that, when manually editing this specific setting via the settings GUI, the respective file isn’t updated at all (flushed) until I logoff and login again, if that’s any use.