Linux X11, keyboard problem

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
BruXy
New user
Posts: 1
Joined: 17 Sep 2010, 07:59

Linux X11, keyboard problem

Post by BruXy »

I have Fedora 13, with gnome and warzone2100-2.3.4-1.fc13.x86_64 installed.

I have two keyboard layouts, English and Czech, but when I starting warzone, so it always keep only Czech layout. Normally I change it to English in GUI and run warzone from terminal, but keyboard remains czech. I tried to unset all environment variables like LC_ALL and LANG, but nothing help.

I solved it dirty way with remaping all number keys to same keys (but in fact with another scan code). But before I found that group mapping cannot be used due to this keyboard layout isssue I clicked out my finger ;)
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Linux X11, keyboard problem

Post by Buginator »

Code: Select all

#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
  /usr/bin/loadkeys /usr/share/kbd/keymaps/i386/qwerty/uk.map.gz
fi
... dunno if that works on Fedora, you might need to change paths.
Also, once in Warzone, dunno if it is needed, but click the trashcan icon to get rid of the old values.
and it ends here.