[PATCH][RFC] Backlight addon for dell laptops

David Zeuthen david at fubar.dk
Thu Jan 4 11:15:10 PST 2007


On Wed, 2007-01-03 at 21:38 +0000, Richard Hughes wrote:
> And PolicyKit. I'm not sure how the interaction with the desktop should
> work, I'm guessing if we try to set a brightness without a password
> (when one is required) then we get a RequiredPassword exception or
> something. 

Could probably be arranged.

> g-p-m can then ask for a password using gnome-keyring and
> save it there. We then need a SetPassword method in the addon

Right. Could probably also be arranged.

> , although
> I'm not sure how secure this would be going plaintext over session-dbus.

If you meant the system bus (and I think you did), it's not a problem;
you cannot snoop method calls unless you are root. Remember that our
LUKS stuff uses this too.

However, if you meant the session bus, I'm not sure why you would want
to use that so please clarify. For the record, you can definitely snoop
the session bus as it runs as the desktop session user.

      David



More information about the hal mailing list