UK keymapping in Anarchy linux needs update
I am a great fan of this distro and have used it successfully in the past for several installations. Thanks for all the effort.
I am using the anarchy linux 1.0 iso from the web site in VirtualBox with the xfte (anarchy linux) version. The keyboard mapping in theGUI is a bit off.
Using locelectl status I get
System Locale: LANG=en_GB.UTF-8 VC Keymap: uk X11 Layout: uk
As I want to use uk that looks actually all right.
However the top line numbers (1 to 0) on the keyboard produce: !@#$%^&*() with Shift which resembles the us layout, not uk. Additionally the key next to the z (bottom, left) produces < > and the two keys next to m (bottom, right) with Shift also produce < >. The last observation makes me think that I don't have a normal key-map at all as there should not be < > mapped twice.
And to clarify. The linux console (without GUI) is fine.
Any help would be appreciated :-)
(Might or might not be related to #532 )
So, I think I have found something. I have updated the title as it does not seem to be related to any specific GUI but to Xorg in general.
It seems that the maker of the Xorg keymapping sometimes rework the valid combinations. A list of valid combinations can be found here:
/usr/share/X11/xkb/rules/xorg.lst
The previously used code "uk" for well, UK has been moved to "gb"
the command
setkbdmod "gb"
(instead of "uk") sorts the problem for me. This can probably also be updated in
/etc/X11/xorg.conf.d/00-keyboard.conf
I will check that later.
Here is the link to the archlinux issue that helped me solve this for me.
@deadhead420 what is the best way to update this in Anarchy Linux? and maybe a complete cross check could be done if other codes have changed as well?
@MarcusE1W it seems Anarchy only changes the vconsole layout, not the xorg one. This could probably be added when the user sets up his preferred keyboard layout. I've checked the Arch Linux Wiki article about Keyboard configuration and it goes about it the same way as you did, so I think this could be implemented fairly easily by pasting the setkbdmod "<lang>" into the xorg keyboard file.