On Wed, Nov 07, 2007 at 10:28:34AM -0800, Abbas, Mohamed wrote: > I tried to replace all X call with HAL, there are some HAL call to set > brightness but there are no equivalent to set screen saver or dpms. I found > another solution to solve running ppmd at boot time as a root causing call X > call to fail because the DISPLAY environment will be empty. The work around > is:
Hm, no. This isn't ideal. Anything that's supposed to alter X settings should run under the context of the session user. Gnome-screensaver is already able to alter settings in response to dbus events - I suspect that modelling something along those lines would work better. -- Matthew Garrett | [EMAIL PROTECTED] -- Ubuntu-mobile mailing list Ubuntu-mobile@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile