On 11/05/2010 12:54, David Weinehall wrote: > An (undocumented) alternative is: > > Code: gconftool -s --type int /system/osso/dsm/display/inhibit_blank_mode 3 > > Replace the 3 for whatever inhibit mode you want: > > 0 -- No display blanking inhibit > 1 -- Inhibit dimming/blanking if charger is connected > 2 -- Allow dimming, but inhibit blanking if charger is connected > 3 -- Inhibit dimming/blanking > 4 -- Allow dimming, but inhibit blanking
gconftool -s --type int /system/osso/dsm/display/inhibit_blank_mode 3
Try: Code: dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.req_display_blanking_pause instead (every 30s should be enough).
dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.req_display_blanking_pause
And that'll change the user setting, which might not be a good idea from an application developer pov.