Quote:
Originally Posted by nasser
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 ..? 
|
That would have to be changed in source files.
Another thing you can do now is get rid of the lines setting orientation.
And change orientation in ad hoc mode, for example from kual orientation button, before starting galculator.
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}