2

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?

1 Answer 1

3

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.

4
  • 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, 2011 at 15:44
  • 3
    Did anyone manage to specify xrdp's keyboard layout remotely? It seems setxkbmap needs to be run locally on the machine, because I only get XKB extension not present on :display. Nov 20, 2015 at 19:12
  • 3
    I have the same problem as @HåvardGeithus. When I run the setxkbmapcommand, I get the message XKB extension not present on . How could one tackle that?
    – Cleb
    Oct 20, 2017 at 11:43
  • solution: askubuntu.com/a/1148671/854571
    – mixalbl4
    Nov 22, 2023 at 20:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .