Hi all, I realize my keymap is wrong when in Eterm or xterm. So I did some research and found /etc/init.d/kbd. This script uses files keyboard and console from under /etc/sysconfig to set the following variables: KEYTABLE="be-latin1.map.gz" CONSOLE_FONT="lat9w-16.psfu" It then loads things using "loadkeys" and "setfont" but this only sets thins for /dev/tty* i.o.w. the consoles behind Ctrl+Alt+F1, F2, ... There the keys map correctly. When in X windows, a terminal is associated with a pseudo terminal (/dev/pts/[0-9]*) and there the maping sucks. Does anyone know how to fix this? Thanks, Guy.
* Guy Zelck (gzelck@tiscalinet.be) [030930 13:52]:
I realize my keymap is wrong when in Eterm or xterm. So I did some research and found /etc/init.d/kbd. This script uses files keyboard and console from under /etc/sysconfig to set the following variables: KEYTABLE="be-latin1.map.gz" CONSOLE_FONT="lat9w-16.psfu"
It then loads things using "loadkeys" and "setfont" but this only sets thins for /dev/tty* i.o.w. the consoles behind Ctrl+Alt+F1, F2, ... There the keys map correctly. When in X windows, a terminal is associated with a pseudo terminal (/dev/pts/[0-9]*) and there the maping sucks.
The console keymap and the X keymap are completely independent (using different keymaps, tools, etc.). Key bindings in X are usually changed with xmodmap. I thought there was a Belgian X keymap added a while ago, maybe try setting your keyboard type to that in Sax2. -- -ckm
On Tue, Sep 30, 2003 at 02:12:04PM -0700, Christopher Mahmood wrote:
* Guy Zelck (gzelck@tiscalinet.be) [030930 13:52]:
I realize my keymap is wrong when in Eterm or xterm. So I did some research and found /etc/init.d/kbd. This script uses files keyboard and console from under /etc/sysconfig to set the following variables: KEYTABLE="be-latin1.map.gz" CONSOLE_FONT="lat9w-16.psfu"
It then loads things using "loadkeys" and "setfont" but this only sets thins for /dev/tty* i.o.w. the consoles behind Ctrl+Alt+F1, F2, ... There the keys map correctly. When in X windows, a terminal is associated with a pseudo terminal (/dev/pts/[0-9]*) and there the maping sucks.
The console keymap and the X keymap are completely independent (using different keymaps, tools, etc.). Key bindings in X are usually changed with xmodmap. I thought there was a Belgian X keymap added a while ago, maybe try setting your keyboard type to that in Sax2.
It can be also switched on the fly with the command: setxkbmap -layout "us,be" -option "grp:ctrl_shift_toggle" Ctrl-Shift will be used to switch keyboard layout between us and be. If you need just one layout, e.g. Belgian, just use setxkbmap -layout "be" Regards, -Kastus
participants (3)
-
Christopher Mahmood
-
Guy Zelck
-
Kastus