/etc/acpi/resume.d/* and /etc/acpi/resume.sh do not exist in Karmic as part of
acpi-support deprecation.
https://wiki.ubuntu.com/AcpiSupportDeprecation
/usr/share/acpi-support/screenblank and /etc/acpi/lid.sh check if
xscreensaver exists before running it in Karmic.
azr...@laptop616:~$ cat /etc/acpi/lid.sh |grep -C4 xscreensaver
export DISPLAY=":$displaynum"
grep -q off-line /proc/acpi/ac_adapter/*/state
if [ $? = 1 ]
then
if pidof xscreensaver > /dev/null; then
su $user -c "xscreensaver-command -unthrottle"
fi
fi
if [ x$RADEON_LIGHT = xtrue ]; then
[ -x /usr/sbin/radeontool ] && radeontool light on
fi
if [ `pidof xscreensaver` ]; then
su $user -c "xscreensaver-command -deactivate"
fi
su $user -c "xset dpms force on"
fi
done
azr...@laptop616:~$ cat /usr/share/acpi-support/screenblank |grep -C4
xscreensaver
if [ `pidof xscreensaver` ]; then
su $user -c "(xscreensaver-command -throttle)"
if [ x$LOCK_SCREEN = xtrue ]; then
su $user -c "(xscreensaver-command -lock)"
fi
elif [ `pidof dcopserver` ]; then
dcop kdesktop KScreensaverIface lock
fi
This means that this bug is fixed.
** Changed in: acpi-support (Ubuntu)
Status: Confirmed => Fix Released
--
xscreensaver-command used unconditionally
https://bugs.launchpad.net/bugs/32300
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs