Quote:
Originally Posted by mr.w0lf
sorry, i can not replicate your results.. are you using SSH directly?
|
I did it either via SSH and modifying the Kindle Launcher stuff directly on the kindle. I 'm right now using this script:
Code:
#!/bin/sh
SETPROP=/usr/bin/lipc-set-prop
PREFS=/var/local/java/prefs/com.amazon.ebook.framework/prefs
case "$1" in
"L"|"R")
$SETPROP com.lab126.winmgr orientationLock $1
$SETPROP com.lab126.winmgr refreshOnTurn true
;;
"U"|"D")
$SETPROP com.lab126.winmgr orientationLock $1
$SETPROP com.lab126.winmgr refreshOnTurn refreshOnTurn $({ grep onPageTurn $PREFS || echo false ; } | sed 's/.*=//')
;;
esac
The two variables can be avoided, of course.
I named it <i>setorientation.sh</i>. It can be used with:
Code:
/mnt/us/extensions/orientation/bin/setorientation.sh L|R|U|D