Strange locale issue (perhaps GB and US keyboards are reversed?!)

General support questions
Post Reply
NickMcAlpin
Posts: 4
Joined: 2019/06/17 02:56:38

Strange locale issue (perhaps GB and US keyboards are reversed?!)

Post by NickMcAlpin » 2019/07/02 23:36:36

Hi all.

I am having a really weird keyboard layout issue with my CentOS 7 machine.

Code: Select all

[root@machine ~]# localectl
System Locale: LANG=en_GB.UTF-8
VC Keymap: us
X11 Layout: us
X11 Model: pc105+inet
X11 Options: terminate:ctrl_alt_bksp
This layout works perfectly, except £ on shift+3 doesn't work. However, I am from the United Kingdom. When trying

Code: Select all

[root@machine ~]# localectl set-keymap gb
[root@machine ~]# localectl set-x11-keymap gb
So that this is the output

Code: Select all

[root@machine ~]# localectl
System Locale: LANG=en_GB.UTF-8
VC Keymap: gb
X11 Layout: gb
Now, shift+2 gives @. Howerver, on the US version, shift+2 gives ", as is supposed to happen with the GB version. So does this mean the US and GB layouts are somehow reversed? Very weird as the £ symbol is seemingly disabled as well.

Thanks for your help.

NickMcAlpin
Posts: 4
Joined: 2019/06/17 02:56:38

Re: Strange locale issue (perhaps GB and US keyboards are reversed?!)

Post by NickMcAlpin » 2019/07/04 23:59:36

Bump. (sorry)

Post Reply