You are not logged in.

#1 2020-03-21 17:04:57

undy
Member
Registered: 2014-02-23
Posts: 4

modify keymap to insert ä, ö, ü, Ä, Ö, Ü

I have an Italian keyboard, but I often write in German and switch frequently between Italian and German, so I would like to be able to easily insert German Umlaute (ä, ö, ü, Ä, Ö, Ü) without changing the layout of the keyboard.
Ideally, I would like to change the original keymap as follows:

"AltGr + a"  inserts  ä  (unicode 0228)
"AltGr + o"  inserts  ö  (unicode 0246)
"AltGr + u"  inserts  ü  (unicode 0252)

"Shift + AltGr + a"  inserts  Ä  (unicode 0196)
"Shift + AltGr + o"  inserts  Ö  (unicode 0214)
"Shift + AltGr + u"  inserts  Ü  (unicode 0220)

(“AltGr+s" for ß already works!)

I would the changes to be permanent, and not just for the terminal, but I would like them to work always and anywhere. How to achieve that? Thanks!

Offline

#2 2020-03-21 17:45:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,918

Re: modify keymap to insert ä, ö, ü, Ä, Ö, Ü

Derive /usr/share/X11/xkb/symbols/it into your own variant and add the diaresis symbols (lookup the de table), however maybe (and since I'm not sure this would work w/ wayland anyway):
https://wiki.archlinux.org/index.php/Xo … ompose_key

Offline

Board footer

Powered by FluxBB