: Does anyone know how to change keyboard map in X? I am set
: to use portugal keyboard map when I install mini0-linux. I would
: like to change it to US keyboard map. But I keep failing...
: Changing keyboard map in Slakware setup does not help. It only
: changes the keyboard map in Linux console, not in X.
I had the same problem, and I found a program called xmodmap with does
exactly what you want. I do not know if it is the best solution however,
there might be a more elegant one. You have to start xmodmap every time
you enter a session I believe. In a file (I called it .xmodmaprc) you
give the definitions of the keys, looks something like
keycode 34 = grave asciicircum bracketleft
for each key.
Hope this helps,