I found the cause and a workaround for this bug.
The cause is, that blanking the display and switching off backlight is
done through 2 separate processes: gnome-screensaver blanks the display
and gnome-powermanager switches backlight off. These two are in conflict
when happening at the same time.
One workaround is to set the "backlight off" timeout higher than the
"lock" timeout.
Another workaround is the following script running in background, which
monitors dbus messages from screensaver and switches backlight off when
screensaver is activated.

##!/bin/sh
      
function activated ()
{
xset dpms force off
}

function deactivated ()
{
return
}

dbus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'"
|
  ( while read X; do
case "$X" in
"boolean true")
activated;;
"boolean false")
deactivated;;
esac
done
  )


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to