Permalink
Browse files

on exit send menu key twice to refresh display

  • Loading branch information...
1 parent 46adb80 commit 31c28a0bcbe98cb0db1ca4d255fda7c23c087260 @dpavlin dpavlin committed May 18, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 kvncviewer.sh
View
@@ -6,3 +6,7 @@ export LD_LIBRARY_PATH
lipc-set-prop com.lab126.powerd preventScreenSaver 1
./kindlevncviewer -config config.lua "$@"
lipc-set-prop com.lab126.powerd preventScreenSaver 0
+
+# send menu key twice to refresh display
+echo "send 139" > /proc/keypad
+echo "send 139" > /proc/keypad

0 comments on commit 31c28a0

Please sign in to comment.