-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pressing shift-comma inputs '>' instead of '<' in x0vncserver #491
Comments
This is not the right fix, as it hardcodes US/qwerty keymap assumptions, but it works:
I suspect the real fix looks more like the |
Indeed. |
A small tweak would be to make it find a key with the right shift state, even if it cannot add fake key presses. I can have a quick look to see if that is possible. |
Can you test #496 and see if it solves your issue? |
Yes, thanks, it solves this issue, and works well with most keys. However, if I press the "Super" key (the diamond on my Sun keyboard, which should be the same as the Windows key on PC or the Command key on Mac), before this change it brought up the GNOME 3 overview mode, but after it crashes x0vncserver with: X Error of failed request: BadValue (integer parameter out of range for operation) |
I'm afraid I can't reproduce the issue, but I have a guess. I've updated the commit. Could you give it a new try? |
Ping @alanc |
Likely fix merged. |
When using x0vncserver to control a Xorg server which is using a US keyboard layout, pressing shift-comma should enter the '<' key but instead enters '>'.
This appears to be because it's sending the keycode for the pc105 layout key with < and >, for which the shifted form is '>' instead of the comma keycode.
This can be seen via 'xev -event keyboard' - on the console keyboard directly connected to the X server, shift-comma generates these X events:
but when hitting shift-comma on a TigerVNC viewer running on Windows, connected to the x0vncserver, it instead reports:
https://wiki.archlinux.org/index.php/TigerVNC#Unable_to_type_less_than_character_.28.3C.29
suggests the workaround of:
I've found using xmodmap to make the '<'/'>' key look like the ','/'<' key works as well:
The text was updated successfully, but these errors were encountered: