If you want "meta" to be a separate key you can change the keyboard layout using xmodmap or edit the source code appropriately. Xvnc should then generate whatever key you've set up to be "meta".
Hope this helps!
Tristan
Sean Kamath wrote:
Hi.
On my Solaris 9 box, running the 4.0 server, my META keypress seems to be wrapped by a weird keypress/keyrelease. Here's the xev output from JUST a META keypress:
KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x26, subw 0x0, time 3778192747, (64,97), root:(730,536), state 0x0, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 characters: ""
KeyPress event, serial 25, synthetic NO, window 0x1e00001, root 0x26, subw 0x0, time 3778192747, (64,97), root:(730,536), state 0x1, keycode 64 (keysym 0xffe7, Meta_L), same_screen YES, XLookupString gives 0 characters: ""
KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x26, subw 0x0, time 3778192748, (64,97), root:(730,536), state 0x9, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 characters: ""
I've looked on the wire (using snoop), and there is no shift event being sent.
I've tested with Chicken of the VNC, VNC viewer (solaris) 3.3.7 and 4.0, and they all do exactly the same thing.
So then I thought it might be my window manager/setup (Gnome 2), so I fired up VNCServer 3.3.7 -- no problems, same machine, same xstartup script.
Even more oddly, here's the event on key release (again, this is a release of the META key):
KeyRelease event, serial 25, synthetic NO, window 0x1e00001, root 0x26, subw 0x0, time 3778194158, (64,97), root:(730,536), state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES, XLookupString gives 0 characters: ""
Something is SERIOUSLY funky here. All the other modifier keys work just fine (including ALT).
I checked my keymappings, and indeed Meta_[LR] is NOT set for Mod1. And, Meta_[LR] *share* their setting with Alt_[LR]. But that doesn't explain the spurious Shift_L keypress/keyrelease.
Any thoughts?
Sean _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
