This is a followup to the question Make US International keyboard not put accents in all characters which I believe has partially been adressed in Ubuntu 22.04, but not quite.
I am going to assume that you have read that question and perhaps also Does Linux have a US international keyboard layout exactly like the windows version?, as well.
Given that, you might have noticed that Ubuntu 22.04 presents an advance towards the solution of this problem in the sense that the us+intl
keyboard no longer attempts to put accents over all characters (the primary concern of the OP for the first question linked above). For example, pressing '
+t
gives you 't
, which is the desired outcome since no languages AFAIK use the accented letter t
. Moreover, again on the upside, '
+a
gives you the accented letter á
and a similar behavior applies to all of the letters usually accentuated in Latin languages. However, '
+r
gives you ŕ
which is not good, again because the letter r
is never accentuated (at least not in most latin languages).
My specific question is thus:
Question. How to achieve a keyboard behavior in which a key press <accent>
+<letter>
gives you the accentuated letter if that combination is usual in latin languages, while giving <accent>
followed by <letter>
, otherwise?
I suppose Ubuntu 22.04 contains a table somewhere, listing the behavior of <accent>
+<letter>
and, should I be able to locate and edit it, the problem would likely be solved.
Observe that the problem discussed here has been solved long ago by Windows, so it is only natural that Ubuntu catch up with it!
Finally, let me say that Stack Exchange contains numerous questions related to this issue with partially satisfactory answers, such as using AltGr
, or alternating between two keyboard layouts, all of which I am well aware of so, especially if you are not a user of languages employing accented characters (and hence have not suffered an inferiority complex in regards to Windows for ages) please make sure your answer addresses the precise formulation of the question!