[Rule] Xkb and kdrive

Richard Kweskin rkwesk at hellug.gr
Fri Apr 28 15:12:03 EEST 2006


On Fri, 14 Apr 2006 04:23:04 +0300
Kargiotakis George <kargig at noc.uoi.gr> wrote:

> Still no typing though

Hello All

George refers here to using other character sets inside kdrive's X, i.e. xkb.

Glancing over our documentation on the website it looks like I'll need to add a howto. Until after May 15th here are some brief steps.

1 - Once the install of the few xorg packages is done and the system is rebooted, login as root and cd to the / directory so that the decompressing takes place in /opt.

2 - With access to the tar file kdrive.tar.gz (at the moment it can be downloaded from www.rule-project.org/download/fedora_core_3/kdrive/) untar with tar -xvzf  (make sure the parameter f is last)

3 - Check if the file /usr/bin/X11/setxkbmap exists and that the file /etc/sysconfig/i18n is properly setup for the desired locale.

4 - Create a script and place it in a directory so that the ordinary user's path can find it and that chmod 0755 is applied. I called my script kb.sh, use any desired name. The contents are:

#!/bin/sh

exec /usr/bin/X11/setxkbmap -v 1 -model pc105 -layout us,el -option -option grp:alt_shift_toggle

Notes:

The above example applies to the use of the Greek keyboard and the alt + shift combination to toggle between English and Greek. Alter as desired.
The double -option -option is deliberate. This first clears the rules of any previous entries. Thus what you do is what you have. Other -option rules can also be applied.
The script must be invoked after X is up.

Richard




More information about the Rule-list mailing list