View Single Post
Old 09-21-2013, 06:30 AM   #59
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 477
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Quote:
Originally Posted by baf View Post
Should work on PW. Try this run.sh
Code:
#!/bin/sh
init_orientation=`/usr/bin/lipc-get-prop com.lab126.winmgr orientationLock`
/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock R

GALCULATOR_CONFIG=/mnt/us/extensions/galculator/galculator.conf \
GTK_IM_MODULE=kindle \
GTK2_RC_FILES=/mnt/us/extensions/galculator/pixmaps/gtkrc \
/mnt/us/extensions/galculator/usr/bin/galculator

/usr/bin/lipc-set-prop com.lab126.winmgr orientationLock ${init_orientation}
Great.. it works on my PW..
i changed the binary as well as run.sh..
only thing.. the basic mode also opens in landscape orientation..
no way to retain it in portrait ..?
nasser is offline   Reply With Quote