Wednesday, May 31, 2006

Lithuanian HOWTO for Zenwalk Linux

The following is a log of changes you need to do to configuration files to get Lithuanian keyboard layout. It should work for any GNU/Linux distribution that uses Slackware-style pathnames and startup scripts/their locations.

Open /etc/X11/xorg.conf, find Section "Input Device" , and something like Identifier "Keyboard0" or Identifier "Generic Keyboard" . Changes you need to make to this section:

Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,lt"
Option "XkbVariant" "extended"
Option "XkbOptions" "grp:alt_shift_toggle"

Add the following line to /etc/profile.d/
export LC_CTYPE="lt_LT.utf8"

You can find an applet for switching keyboard layouts visually for Xfce here . Install it via installpkg and add to Xfce menu.