Each time I reinstall I re-map the lock screen global shortcut manually to Win/Super+L.

How can I do this from the command line so that I can subsequently run it from a script?


It appears that global keyboard shortcuts shortcuts are stored in ~/.config/kglobalshortcutsrc. It's structured in headered sections like an INI file. You might be able to add the shortcut if you can add it to that file in the correct location.

Source: https://forum.kde.org/viewtopic.php?t=151477

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.