Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to define a new keyboard layout for KDE 4. In particular I would like to take the standard British layout and add Polish characters for the combinations Alt-Gr + letter. How can I do it?

share|improve this question
up vote 5 down vote accepted

KDE simply uses the X server's keyboard mapping facility (XKB). This is more complex than it looks, and definitely more complex than it should be. Sigh.

The quick and dirty answer would be to combine the files in /usr/share/X11/xkb/symbols/gb and /usr/share/X11/xkb/symbols/pl into a new file, but you also need to provide information via XML for front-ends (like KDE4), and you'd probably have to read a few hundred pages of documentation.

But you may be able to get away with less: have you seen this tutorial on making a hybrid de/pl keymap?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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