[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Keyboard mapping
From:       Patrick Begou <Patrick.Begou () hmg ! inpg ! fr>
Date:       2012-07-19 14:13:12
Message-ID: 500815F8.7070401 () hmg ! inpg ! fr
[Download RAW message or body]

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@hmg.inpg.fr |
|  BP 53 X                 | Tel 04 76 82 51 35               |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71               |
===============================================================

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic