I have set up my .fvwm/config to pass through to vncviewer all keypresses that would otherwise be my WM keyboard shortcuts (e.g., Super-1 through 0 for switching virtual desktops): fvwm does this by capturing the KeyPress/Release events, checking the window name, and generating synthetic keypress events if that window is vncviewer.
The whole point of this is that an identical fvwm configuration is running against the vncserver, so in theory this should give me the same keyboard shortcuts inside the vnc session as outside. The problem appears to be that vncviewer doesn't receive the synthetic events. I have done extensive testing with other applications, including xev, xterm, and XEmacs, and it appears that fvwm is sending them... but vncviewer simply isn't receiving them. I even instrumented handleXEvents directly and no KeyPress/Release event is received when pressing 1 through 0 while holding down Super, though keypresses not associated with WM shortcuts are received correctly (e.g., S-x). I assume vncviewer ignores send_events for security reasons, but I'm willing to trust my X servers and the applications I'm running. I'm not familiar enough with X development to know what the solution here is. Has vncviewer told X that it will not accept send_events? (Is this even possible?) Otherwise, why would the events not even show up in handleXEvents? If someone can point me in the right direction here, that would be fantastic. Thanks, Kyle _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
