Keyboard layout English UK international “with” AltGr for typing Ñ does not exist in Ubuntu 20.04

Under Gnome, I usually work the keyboard layout "English US alt.Intl." using Alt Gr + N to write the Ñ but I can't do the same on my work laptop that have an English UK keyboard.

Looks like there isn't an international layout that allow me to use the same keystroke with an UK keyboard. Does someone know how can I resolve?

EDIT TLTR: I'm looking for is the UK Intl. with Alt Gr which is used to activating the extra symbols, as you can see from this link

Answers 1

  • You can open /usr/share/X11/xkb/symbols/gb for editing and modify the N key. Example:

    --- gb.orig 2021-07-05 10:17:07.431348509 +0200
    +++ gb  2021-07-05 10:23:46.833021094 +0200
    @@ -21,6 +21,8 @@
         key <BKSL> { [numbersign, asciitilde,   dead_grave,   dead_breve ] };
         key <LSGT> { [ backslash,        bar,          bar,    brokenbar ] };
    +    key <AB06> { [         n,          N,       ntilde,       Ntilde ] };
         include "level3(ralt_switch_multikey)"

Related Questions