Score:1

Ubuntu 21.10 set AltGr + u -> ü

lc flag

I'm trying to change the keyboard, so that by entering AltGr (Right Alt) + u the key ü appears.

Added /usr/share/X11/xkb/symbols/us

key { [ u, U, udiaeresis, Udiaeresis ] };

Ubuntu seems to recognize it:

enter image description here

But if pressing right alt and u nothing happens. Any idea what is missing? I tried to play around with the compose key settings but it didn't help.

ChanganAuto avatar
us flag
Enabling the US International layout variant with dead keys it's much easier (and don't break other things).
Bodo avatar
pt flag
Maybe you have to configure right alt to send Alt Gr?
MichaelRazum avatar
lc flag
@Bodo Any idea how to enable it ?
24601 avatar
in flag
Please [edit] your question to include the steps taken to set the `Compose` key. I have the `Compose` key set (in 20.04) which works by latching the key presses in sequence so that by pressing `Compose` then `u` then `"` I can produce ü
MichaelRazum avatar
lc flag
Thanks a lot for the help. Found a solution using https://github.com/SnakeJesus/Umlaute-on-US-layout Didn't touch the compose key in any way
Gunnar Hjalmarsson avatar
uz flag
@MichaelRazum: Would you mind submitting the solution as an answer? It's worth mentioning that the missing piece was that you previously hadn't defined AltGr as the key for accessing 3rd level symbols.
NovHak avatar
cn flag
Strictly speaking, that file shouldn't be modified by the user, could be overwritten any time upon update, and almost certainly upon upgrade. A new file should be created instead, probably in `/etc/X11/xkb/symbols`, but I admit it will likely raise a bunch of other questions.
Score:1
lc flag

The solution was using

github.com/SnakeJesus/Umlaute-on-US-layout

It seems that it is also necessary to define the AltGr key (see Gunnar Hjalmarsson comment):

include "level3(ralt_switch)"

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.