Score:0

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

in flag

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 http://zolid.com/uk-intl-kb/index.htm

Gunnar Hjalmarsson avatar
uz flag
Switch to the _English (US, intl., with dead keys)_ keyboard layout?
in flag
@GunnarHjalmarsson English (US, intl., with dead keys) does have the Ñ but it mess up other symbols. What 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 http://zolid.com/uk-intl-kb/index.htm
Gunnar Hjalmarsson avatar
uz flag
As far as I can see there is no layout named "UK Intl. with Alt Gr". Please be precise about which XKB keyboard layout you want to use.
in flag
@GunnarHjalmarsson that's the problem. On Windows, the English UK International layout can do the Ñ (Alt Gr + N), and all the other UK symbol where are mean to be with this layout. If I use the US Intl layout I can write the Ñ but all the other symbols are scrambled up.
Score:2
uz flag

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)"
 };
in flag
That worked, thank you so much!
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.