Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Mar 2010 11:09:16 +0100
From:      Niki Kovacs <contact@kikinovak.net>
To:        freebsd-questions@freebsd.org
Subject:   Configure X: multiple keyboard layouts ?
Message-ID:  <4B937B4C.3030702@kikinovak.net>

next in thread | raw e-mail | index | archive | help
Hi,

I'd like to configure X for multiple keyboard layouts, e. g.:

- french
- swiss french
- german

On my Linux box (running CentOS 5.4 and a dated version of X.org), the 
configuration for this looks like this :

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option      "XkbModel" "pc105"
   Option      "XkbLayout" "fr,ch,de"
   Option      "XkbVariant" ",fr,"
   Option      "XkbOptions" "grp:alt_shift_toggle"
EndSection

This stanza enables me to toggle between different keyboard layouts, 
using the [Alt]+[RightShift] key combination. You might wonder about the 
XkbVariant option: the swiss keyboard layout has two variants: fr and 
de. This is to indicate the swiss roman layout.

Now is there any way I could achieve a similar thing with the more 
recent X.org shipping with FreeBSD 8.0 ?

Any suggestions ?

Niki Kovacs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B937B4C.3030702>