I put that to /opt/smartdimmerd
To run it I changed the launcher of gnome-power-manager in gnome autostart to point to /opt/smartdimmerd.
The first time that smartdimmerd tries to establish a dbus connection to the power-managers backlight service will fail, because power-manager does not run yet. But obviously this kicks of the launching of gnome-power-manager, so that the second try connecting to the service succeeds.
This is not really clean, I know, but my knowledge of gnome, hal, dbus and so on is rather shallow, so I am quite satisfied having come so far... brightness adjustment works at least :-)
I put that to /opt/smartdimmerd manager, so that the second try connecting to the service succeeds.
To run it I changed the launcher of gnome-power-manager in gnome autostart to point to /opt/smartdimmerd.
The first time that smartdimmerd tries to establish a dbus connection to the power-managers backlight service will fail, because power-manager does not run yet. But obviously this kicks of the launching of gnome-power-
This is not really clean, I know, but my knowledge of gnome, hal, dbus and so on is rather shallow, so I am quite satisfied having come so far... brightness adjustment works at least :-)
have fun...
Manuel Gaus