Google
  Web www.spinics.net

Keyboard mapping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


I'm runing Xorg (xorg-x11-server-7.6_1.9.3-15.26.1.x86_64) on OpenSuse 11.4 (fresh install over a runing 11.2 config). One of my PCs has a macintosh keyboard. With this keyboard, two keys are not well reconized:

the "<" / ">" key is reconized as "#" / "@"
and "#" / "@"key is reconized as "<" / ">"
So I just need to wrap them.

On Opensuse 11.2 I had wrapped this in /etc/X11/Xmodmap file with:
keycode 94 = at numbersign
keycode 49 = less greater

and, in the /etc/X11/xorg.conf file had a line in the server section:

Section "ServerFlags"
  Option "AutoAddDevices" "off"
 .....
EndSection


But this doesn't work anymore, even with the old xorg.conf file, in Opensuse 11.4.
If I force the load of /etc/X11/Xmodmap with:
xmodmad /etc/X11/Xmodmap
it works for the current session.

But it is never loaded automaticaly and on the login interface (gdm) the keyboard is wrong.

How can I set this for all the users on this PC?

The command
# xmodmap -pk
shows:
.....
49 0x0040 (at) 0x0023 (numbersign) 0x0040 (at) 0x0023 (numbersign) 0x00b7 (periodcentered) 0x13be (Ydiaeresis)
....
94 0x003c (less) 0x003e (greater) 0x003c (less) 0x003e (greater) 0x08bc (lessthanequal) 0x08be (greaterthanequal)

and 49 shoul be 94 and vice-versa.

Thanks

Patrick

--
===============================================================
|  Equipe M.O.S.T.         | http://most.hmg.inpg.fr          |
|  Patrick BEGOU           |       ------------               |
|  LEGI                    | mailto:Patrick.Begou@xxxxxxxxxxx |
|  BP 53 X                 | Tel 04 76 82 51 35               |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71               |
===============================================================

_______________________________________________
xorg@xxxxxxxxxxx: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: list-xorg@xxxxxxxxxxx


[X Forum]     [Nouveau Driver]     [Devices]     [XFree86]     [XFree86 Newbie]     [Site Home]     [IETF Annouce]     [Security]     [Fontconfig]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Video for Linux]     [Linux RAID]     [Linux Resources]

Powered by Linux