diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-01-16 16:25:08 +0200 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2014-01-26 14:08:28 +0800 |
commit | 7b4790b67e53071e19a243b31c159b2f1014575f (patch) | |
tree | 53669c70876cd53bf5a636c53acf8192accb73bc | |
parent | 7d7481667fcf4550513aec1eca20d87b4ddfd40e (diff) | |
download | openembedded-core-7b4790b67e53071e19a243b31c159b2f1014575f.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 master rev: 1e06d5ce83439b5bd75a958f305e6a880d40333d)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r-- | meta/recipes-graphics/x11vnc/files/starting-fix.patch | 6 |
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 @@ "-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 <edwin.zhai@intel.com> +Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> 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 |