View Single Post
Old 02-03-2013, 02:38 PM   #324
Gianni began at the beginning.
Posts: 18
Karma: 14
Join Date: May 2011
Device: Kindle Touch jb
running this script on my raspberry, I am able to update - only - the first rows of the kt5 touch (the space where the menu is), but when I click the home button on the kindle, the script crashes...

#!/bin/sh -xe
/usr/bin/Xvnc -geometry 1200x824 -depth 16 -dpi 160 -alwaysshared :1 &
sleep 1
DISPLAY=:1 xterm &
DISPLAY=:1 dwm &
vncviewer :1 &
x2vnc -east localhost:1 &
ssh root@ /mnt/us/kindlevncviewer/

this is on the kindle, I commented the last two rows because on the kt5 they don't work
cd $(dirname "$0")
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
Gianni is offline   Reply With Quote