summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-01-16 16:25:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-19 16:32:09 +0000
commit650ee5e27521489c2907cf592cdd9161af844e68 (patch)
tree7d9acf0c81b9f51dc5609c417316d5dea101f866
parentfa9f89c1e035cc1a5bfd4a1639fd7af982e5596d (diff)
downloadpoky-650ee5e27521489c2907cf592cdd9161af844e68.tar.gz
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] (From OE-Core rev: 1e06d5ce83439b5bd75a958f305e6a880d40333d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/x11vnc/files/starting-fix.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/x11vnc/files/starting-fix.patch b/meta/recipes-graphics/x11vnc/files/starting-fix.patch
index cfaa797b92..f62e405dd1 100644
--- a/meta/recipes-graphics/x11vnc/files/starting-fix.patch
+++ b/meta/recipes-graphics/x11vnc/files/starting-fix.patch
@@ -1,8 +1,12 @@
1"-gui" & "-rfbport" require "wish" installed, or else x11vnc fails to start. 1"-gui" & "-rfbport" require "wish" installed, or else x11vnc fails to start.
2Removing these 2 parameters makes x11vnc works well on poky sato image. 2Removing these 2 parameters makes x11vnc works well on poky sato image.
3 3
4Add also -skip_lockkeys option to ignore all Caps_Lock, Shift_Lock, Num_Lock,
5Scroll_Lock keysyms received from viewers, in order to leave the lock state on
6the server side unchanged. Yet, the keys will appear correctly.
4 7
5Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> 8Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
9Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
6 10
7Upstream-Status: Inappropriate [configuration] 11Upstream-Status: Inappropriate [configuration]
8 12
@@ -15,7 +19,7 @@ Index: x11vnc-0.9.12/x11vnc/x11vnc.desktop
15 Name=X11VNC Server 19 Name=X11VNC Server
16 Comment=Share this desktop by VNC 20 Comment=Share this desktop by VNC
17-Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY 21-Exec=x11vnc -gui tray=setpass -rfbport PROMPT -bg -o %%HOME/.x11vnc.log.%%VNCDISPLAY
18+Exec=x11vnc -bg -rfbport 5900 -o %%HOME/.x11vnc.log.%%VNCDISPLAY 22+Exec=x11vnc -bg -rfbport 5900 -skip_lockkeys -o %%HOME/.x11vnc.log.%%VNCDISPLAY
19 Icon=computer 23 Icon=computer
20 Terminal=false 24 Terminal=false
21 Type=Application 25 Type=Application