Not sure if this fully addresses your issues but live-config supports
multiple locales via 'locales=' and multiple keyboard layouts via
'keyboard-layouts=' as per the man page, and then you just use the
usual way provided by your desktop environment to switch, as per the
live-config(7) man page:
live-config.locales=LOCALE1,LOCALE2 ... LOCALEn |
locales=LOCALE1,LOCALE2 ... LOCALEn
Allows to set the locale of the system, e.g. 'de_CH.UTF-8'.
The default is 'en_US.UTF-8'. In case
the selected locale is not already available on the system,
it is automatically generated on the
... KEYBOARD_LAYOUTn | keyboard-lay‐
outs=KEYBOARD_LAYOUT1,KEYBOARD_LAYOUT2 ... KEYBOARD_LAYOUTn
Allows to change the keyboard layouts. If more than one
is specified, the tools of the desktop
environment will allow to switch it under X11. There is no
default value set.
On 29/08/10 09:31 AM, Robert Spiteri wrote:
I made a script called switch_keyboard in /usr/bin containing:
setxkbmap -option grp:switch,grp:alts_toggle gb,us
then added a desktop file in /etc/xdg/autostart that calls the script
when xfce starts
xfkc is not needed anymore now...
On 29 August 2010 12:29, Robert Spiteri <email@example.com> wrote:
> I have 2 main issues as regards the keyboard:
> 1. By default, I want the live cd to use the uk keyboard layout.
So I added the locales package and specified:
LH_BOOTAPPEND_LIVE="locale=en_GB.UTF-8 keyb=uk". I am using xfce4 and
added a package called xfkc to manage the keyboard layout. However when
I add a layout from xfkc ex: USA - International (no dead keys), the
key mappings remain that of UK. Is there anything that needs to be
> 2. Is there a way to add an entry into syslinux to let the user
choose between a UK and US keyboard?