Skip to content

Commit

Permalink
on exit send menu key twice to refresh display
Browse files Browse the repository at this point in the history
  • Loading branch information
dpavlin committed May 18, 2012
1 parent 46adb80 commit 31c28a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kvncviewer.sh
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ export LD_LIBRARY_PATH
lipc-set-prop com.lab126.powerd preventScreenSaver 1 lipc-set-prop com.lab126.powerd preventScreenSaver 1
./kindlevncviewer -config config.lua "$@" ./kindlevncviewer -config config.lua "$@"
lipc-set-prop com.lab126.powerd preventScreenSaver 0 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.