![]() |
Keep display light on
Hi!
How can I disable and enable the display light dimmer in a C application? I want to keep the light on, while the application is running. Is there also a dbus call o do this via script? |
Re: Keep display light on
I got just the thing. Follow me ok?
Search for: Simple Brightness App. Install. Done. |
Re: Keep display light on
There is no direct way to do this.
The simple brightness applet sets up a timer and calls osso_display_state_on (plugin->priv->osso_context) every 50 seconds. Nicolai |
Re: Keep display light on
don't know what you are looking for but you can look at the code in my custom brightness, can be something you can use.
|
Re: Keep display light on
Quote:
Code:
dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.req_display_blanking_pause |
Re: Keep display light on
Maybe I should look at some games, that don't let turn the light off.
|
All times are GMT. The time now is 10:31. |
vBulletin® Version 3.8.8