Bugfix easyVoid non-US keyboard
Caramel reported this problem:
https://forum.puppylinux.com/viewtopic.php?p=113730#p113730
The problem is that there are scripts that expect the Xorg keyboard layout files to be at /etc/X11/xkb. The normal path is /usr/share/X11/xkb, with extras allowed in /etc/X11/xkb; however, Puppy Linux from the very early days had /usr/share/X11/xkb a symlink to /etc/X11/xkb
easyVoid has installed the keyboard layouts to the normal path, /usr/share/X11/xkb, not a symlink, so some scripts are not working.
This goes back a long way... when the keyboard layout is chosen in the initrd, it writes the selection to /etc/keymap. At startup of X from the commandline, /usr/bin/xwin script runs, and one thing this script does is call "keymap-set --xopt", which edits /etc/X11/xorg.conf.d/10-evdev-puppy.conf with the appropriate keyboard layout.
It is that 'keymap-set' script that is broken, as it looks at
/etc/X11/xkb only. Forum member shinobar wrote that script in
2010, minor mods in 2012, 2015, 2016 and one small change in 2023.
I really should fix those scripts to look at /usr/share/X11/xkb, but for now have just implemented the easy solution; made /usr/share/X11/xkb into a symlink. Here is the woofV commit:
https://github.com/bkauler/woofq/commit/ae37d3c2d67bfe9374ff90809c357d51fd750fb1
Tags: easy