When I use kwriteconfig5 to change a text key in the exact same manner as the GUI, the setting is not applied. However, the GUI setting will now display the loaded key. Reproducible: Always Steps to Reproduce: 1. Run 'kwriteconfig5 --file ~/.config/kglobalshortcutsrc --group kwin --key 'Switch One Desktop Up' 'Ctrl+Alt+Up,none,Switch One Desktop Up' Actual Results: The text key is changed appropriately. The new shortcut shows up in the GUI keyboard shortcuts. However, the setting is not applied. Expected Results: The setting should be applied. Maybe the settings are reloaded upon load/unload of some modules, which the GUI does upon 'Apply changes'. However, I do not know which modules these are. kwriteconfig5 --file ~/.config/kdeglobals --group General --key toolBarFont 'Oxygen-Sans,12,-1,5,50,0,0,0,0,0' kwriteconfig5 --file ~/.config/kglobalshortcutsrc --group kwin --key 'Switch One Desktop Up' 'Ctrl+Alt+Up,none,Switch One Desktop Up' These are two files that I have been unable to load configurations in. touchpadrc changes are loaded upon logout/login.
When the correct file in ~/.config is specified with --file, this works and settings are applied on reboot.