View Single Post
Posts: 33 | Thanked: 26 times | Joined on Jul 2008
#53
So here's how I did my cron-scripts. First line changes volume to mute/max, and second line switches Instant Message -led on/off.

Setting stuff OFF.
Code:
gconftool -t int -s /apps/osso/sound/master_volume -- -100
gconftool -t bool -s /system/osso/dsm/leds/PatternCommunicationChat false
Setting stuff ON.
Code:
gconftool -t int -s /apps/osso/sound/master_volume 100
gconftool -t bool -s /system/osso/dsm/leds/PatternCommunicationChat true
To make the screen turn off in case you have charger connected:
Code:
gconftool -t bool -s /system/osso/dsm/display/display_on_with_charger false
Here's the whole crontab. http://mikma.reaktio.net/maemo/crontab.txt

Last edited by Mikma; 2008-09-12 at 23:05.
 

The Following 3 Users Say Thank You to Mikma For This Useful Post: