These instructions select a keyboard layout from boot locale: UserLocales="$(cat /proc/cmdline | tr ' ' '\n' | grep -ie '^locale.*=' | cut -f 2 -d '=')" UserVariant="$(printf '%s' "$UserLocales" | cut -f 1 -d '.' | cut -f 2 -d '_')" UserLayout="$(cat /usr/share/X11/xkb/rules/xorg.lst | tr -s ' ' | grep -ie "^ $UserVariant " | cut -f 2 -d ' ')" if [ "$UserLayout" = "" ] ; then UserVariant="$(printf '%s' "$UserLocales" | cut -f 1 -d '.' | cut -f 1 -d '_')" UserLayout="$(cat /usr/share/X11/xkb/rules/xorg.lst | tr -s ' ' | grep -ie "^ $UserVariant " | cut -f 2 -d ' ')" fi
It would be very useful to add this to boot process, and set the keyboard layout based on it*.* __________ I'm using this express-made address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors. El 30/6/19 a les 17:44, Narcis Garcia ha escrit: > Debian Live with Localisation support -> Spanish (es) > User interface has spanish texts, but US keyboard remains selected.