View Single Post
Old 09-21-2013, 11:06 AM   #65
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
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}
got rid of the lines..
but there is a side effect in that.. reading orientation is changed..
after running galculator, books open sideways..
using orientation kual button didn't seem to have any effect..
toggle from inside the app.. as twobob is planning.. may be best..
nasser is offline   Reply With Quote