Skip to contentSkip to conversation

x11vnc: fix CAPS_LOCK issues

PATCH New Laurentiu Palcu 1 participant 2 messages Jan 16, 2014

lore
Share & tools
lore
#0 lore raw

cover x11vnc: fix CAPS_LOCK issues

The following changes since commit cea75f9c8c083d76ad8c45127be332665ef09d06:

ltp: fix makefile race (2014-01-15 17:26:50 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib lpalcu/b4149_vnc_caps_lock
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b4149_vnc_caps_lock

Laurentiu Palcu (1):
x11vnc: fix CAPS_LOCK issues

 .../x11vnc/files/starting-fix.patch                |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 x11vnc: fix CAPS_LOCK issues

Currently, pressing CAPS_LOCK on the viewer changes the lock state on the server and the key will not change the case.

To fix this, use -skip_lockkeys option to ignore all Caps_Lock, Shift_Lock, Num_Lock, Scroll_Lock keysyms received from viewers, in order to leave the lock state on the server side unchanged. However, the keys will appear correctly on the remote side.

[YOCTO #4149]

---
 .../x11vnc/files/starting-fix.patch                |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-graphics/x11vnc/files/starting-fix.patch +5 -1
index cfaa797..f62e405 100644
@@ -1,8 +1,12 @@
 "-gui" & "-rfbport" require "wish" installed, or else x11vnc fails to start.
 Removing these 2 parameters makes x11vnc works well on poky sato image.
 
+Add also -skip_lockkeys option to ignore all Caps_Lock, Shift_Lock, Num_Lock,
+Scroll_Lock keysyms received from viewers, in order to leave the lock state on
+the server side unchanged. Yet, the keys will appear correctly.
 
 Signed-off-by: Zhai Edwin <[email protected]>
+Signed-off-by: Laurentiu Palcu <[email protected]>
 
 Upstream-Status: Inappropriate [configuration]
 
@@ -15,7 +19,7 @@ Index: x11vnc-0.9.12/x11vnc/x11vnc.desktop
  Name=X11VNC Server
  Comment=Share this desktop by VNC
 -Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY
-+Exec=x11vnc -bg -rfbport 5900 -o %%HOME/.x11vnc.log.%%VNCDISPLAY
++Exec=x11vnc -bg -rfbport 5900 -skip_lockkeys -o %%HOME/.x11vnc.log.%%VNCDISPLAY
  Icon=computer
  Terminal=false
  Type=Application
Signature · 1 line
1.7.9.5