As the question mentions, I want the the key to right of space which has AltGr written on it (the output of xev is however Alt_R) to perform the the same action as backspace. I tried almost every random combination of setxkbmap backspace:ralt i could come up, unfortunately I find the manual not very helpful. If somebody knows how to understand setxkbmap so I can figure stuff out by myself I'd be even more thankful.

PS: I am running i3 on Lubuntu, if it matters.

  • 2
    It makes sense to run localectl list-x11-keymap-options to see the available options instead of trying "almost every random combination". If you can't find an option that does what you want you'll have to write a new xkb option. – don_crissti May 19 at 19:43
  • the option I'm looking for does in fact not exist. writing ones own xkb option seems rather tedious and overly complicated for a - imho - standard task as button remapping, but whatever. more importantly, the /usr/share/X11/xkb/rules/evdev file mentioned in the answer you linked says in the first line "do not edit this". whom should I trust now? (and is there no easier way?) – protolyse May 20 at 21:20
  • In theory you should do it via user overrides - as you can see that's even more complicated on some DEs and still involves editing system files (if you can make it work, that is)... – don_crissti May 21 at 9:40

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.