I do not know michas solution.
And I need to admit, that the solution below is a pretty dirty one, I am simply too lazy to edit and get through 4 to 5 files for making a fully customized keyboard layout.
From your Name I assume you are a German speaking guy, so I concentrate on the German Umlauts.
Change your keyboard layout from âusâ to âus internationalâ.
What you have already achieved by that is that you get:
<alt-r> <a> = ĂĄ
<shift><alt-r><a> = Ă
<alt-r> <u> = Ăș
<shift><alt-r><u> = Ă
Thatâs convenient for the French but not really for Germans.
You can solve that by adjusting the âus internationalâ keyboard layout:
sudo nano /usr/share/X11/xkb/symbols/us
This âusâ keyboard file carries all variants of the us keyboard, also âus internationalâ
In the file search for:
name[Group1]= âEnglish (US, international with dead keys)â;
below that is the definition for âus internationalâ only change the keys listed below and leave all others untouched:
key <AD01> { [ q, Q, aacute, Aacute ] };
key <AD06> { [ y, Y, uacute, Uacute ] };
key <AD07> { [ u, U, udiaeresis, Udiaeresis ] };
key <AD09> { [ o, O, odiaeresis, Odiaeresis ] };
key <AD10> { [ p, P, oacute, Oacute ] };
key <AC01> { [ a, A, adiaeresis, Adiaeresis ] };
key <AC11> { [apostrophe, quotedbl, dead_acute, dead_diaeresis] };
in addition replace the line with (ralt_switch) with:
include âlevel3(caps_switch)â
what you have achieved now is:
<caps><a> = À
<shift><caps><a>=Ă
<caps><u> = ĂŒ
<shift><caps><u>=Ă
<caps><o> = ö
<shift><caps><o>=Ă
So the Umlaut is on the âcorrectâ key now and the normally useless, nerving <caps>
turns into a convenient replacement for the inconvenient <altr>
I hope that dirty solution brings alt least just a little bit relief âŠ
Finally backup your changes also under another filename, such as e.g. âmy_us.backupâ
This allows quick recovery, in case the changes in âusâ get overwritten by an update.
As said: A dirty solution âŠ