Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an Ubuntu 11.04 install for which I can't seem to get the correct (UK English) keyboard mapping set on. Running setxkmap produces an error:

"XKB extension not present on :10.0".

If go to System -> Keyboards -> Layouts and select the only layout installed "English Keymap" and press Show, I get a blank dialog.

I'm using xrdp and that this is almost certainly connected to xrdp using it's own keyboard mapping files. What I can't tell is how it can be changed.

Does anyone know how I can install and activate the correct keymap?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

To make your own keymap

  • Log onto the console
  • Run setxkbmap with the parameters that correspond to your layout
  • xrdp-genkeymap filename

so in my case I did

  • setxkbmap –model pc104 –layout us –variant dvorak
  • xrdp-genkeymap km-0409.ini

The keymap I ended up with had problems with some keys (eg arrow keys) so I had to copy keys 98 to 107 from the original keymap file.

share|improve this answer
Daniel: Thanks! This was exactly the problem for me. I hope your advice is easy to find for anyone in the future! –  jamiei Oct 12 '11 at 15:44

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.