I'm afraid this might not be the best mechanism to use since it assumes you
have access to the display, but the daemon is being launched at system startup
instead of inside the user session.
I can't just make the script be launched as system startup because other
plugins need to be run as root (i.e. the cpu plugin that needs to write to
sysfs files.)
I suspect the correct mechanism would be to call hal over the system dbus. You
can see an implementation of this in the moblin-applets display applet.
The problem is that ppm is that the ppm display plugin is also making X calls
to adjust the screen saver timeout values, and I'm not sure what the correct
mechanism would be for this if we are running below the session.
--rusty
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Garrett
Sent: Friday, October 19, 2007 6:48 AM
To: Abbas, Mohamed
Cc: [email protected]
Subject: Re: PPM status
On Wed, Oct 10, 2007 at 06:24:57PM -0700, Abbas, Mohamed wrote:
> ● Installing xbacklight app, PPM uses this app to control brightness, once
> installed a more accurate measurement can be taken.
How does this interact with the firmware interface to the backlight?
--
Matthew Garrett | [EMAIL PROTECTED]
--
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
--
Ubuntu-mobile mailing list
[email protected]
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile