Opened 15 years ago
Closed 14 years ago
#55 closed defect (fixed)
keyboard mapping issues...
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 0.12 |
Component: | Client | Keywords: | |
Cc: |
Description (last modified by )
NX and VNC call self.set_xmodmap(session, user)
before any client attaches to set the keymap to the one that was supplied by the client (guessed using xmodmap on *nix clients)
This seems to work in most cases but not always.
Here are some bugs that may be related:
http://ubuntuforums.org/archive/index.php/t-959411.html
https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/289918
https://bugs.launchpad.net/ubuntu/intrepid/+source/xorg-server/+bug/255008
Also related is #82 : on macosx we can't always get xmodmap (if the server is not running this would cause it to start).
We may be able to get it to work with just setxkbmap?
(ie: setxkbmap -rules xfree86 -model pc104 -layout us -option "";
), provide UI to select the keymap given the list in grep xkb_symbols /usr/share/X11/xkb/symbols/gb
? default to current? (setxkbmap -print
)
From #139:
The solution we have doesn't work in all cases:
- xpra + UK keyboard mapping ends up wrong
- win32 doesn't map properly either?
- osx: we have to guess since the build does not use an X server..
etc.
Change History (5)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from Antoine Martin to Antoine Martin |
Status: | new → accepted |
comment:2 Changed 15 years ago by
Milestone: | 0.9 → 1.0 |
---|
comment:3 Changed 15 years ago by
Description: | modified (diff) |
---|
comment:4 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.0 → 0.12 |
comment:5 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Removed lots of xmodmap related code and simply fixed the xpra code instead (new snapshot added in r3776) - seems to work OK for Xpra on all platforms, NX is ok on all but macosx... See r3777 and r3773
This will do for now.