Quote:
Originally Posted by trekk
There is some other minor annoyance. I don't know what is responsible for that, but when you exit koreader with the front light on, the light stays on and you can't turn it off with the light button.
When you exit vlasovsoftlauncher, the light is automatically turned off. I'd prefer that 
|
Quote:
Originally Posted by tshering
Light control, this is something I didn't give much attention until now. Right now that is beyond me, but maybe we can try to address this problem at a later point.
|
Fortunately, KevinShort wrote a
"frontlight" program. Put this program into .kobo/kbmenu/tools, and put the following script (frontlight.msh) into .kobo/kbmenu/scripts:
Code:
#!/bin/sh
frontlightprg=/mnt/onboard/.kobo/kbmenu/tools/frontlight
kbmenudir=/mnt/onboard/.kobo/kbmenu
lightlevels="0 1 2 3 4 5 6 7 8 9 10 11 12"
moptions="$lightlevels return:arrowup.png return_home:arrowup.png"
while [ "$selection" != "EXIT" ]; do
selection=$(sh $kbmenudir/kobomenu.sh $moptions)
case $selection in
return) selection="EXIT";;
return_home)
selection="EXIT"
echo "return_home"
;;
*)
$frontlightprg "$selection"
;;
esac
done
If you already have the program at another folder, edit the line f
rontlightprg=/mnt/onboard/.kobo/kbmenu/tools/frontlight accordingly.
I don't know how many light levels there actually are. I took them to go up to 12. If you have more information, edit the line
lightlevels="0 1 2 3 4 5 6 7 8 9 10 11 12" accordingly.