I made a short script which can export various KDE settings from user home directory to use as a basis for a quick setup of the desktop environment on a different machine.

I was successful with all the settings that were of interest to me, but only one is elusive: I can't seem to find where the chosen keyboard layouts are stored. Basically, I would like to get to all the configuration that can be manipulated from the KDE settings application under the System Settings > Hardware > Input Devices > Keyboard > Layout tab (particularly the layouts themselves and the keyboard shortcut to switch between them). Does anyone have any idea? Maybe these settings are not specific to KDE and manipulate different configuration files? Thanks for any tips.


After some time of searching and playing with grep, I was able to locate the configuration file: ~/.config/kxkbrc.

  • didn't work for me – Philippe Gachoud Mar 13 '20 at 16:48
  • I see the LayoutList=us in that file, but do you know the location where these layout are saved? – Typewar Oct 29 '20 at 21:47

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.