[Debian-eeepc-commits] [SCM] Maintenance of eeepc-acpi-scripts debian package branch, master, updated. d2426a48af7045803c94fbd8671da75a3f16dec1
Darren Salt
linux at youmustbejoking.demon.co.uk
Thu Feb 5 00:08:25 UTC 2009
The following commit has been merged in the master branch:
commit d2426a48af7045803c94fbd8671da75a3f16dec1
Author: Darren Salt <linux at youmustbejoking.demon.co.uk>
Date: Thu Feb 5 00:07:56 2009 +0000
Fall back on xtrlock when trying to lock the display.
diff --git a/debian/changelog b/debian/changelog
index e58265f..94c7c7a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ eeepc-acpi-scripts (1.0.12) UNRELEASED; urgency=low
* Made the volume stepping configurable, with the default being hw-dependent
(the test being of the entry for device 00-00 in /proc/asound/pcm):
ALC269, which my 901 has, is recognised.
+ * When locking the display, if all else fails, try xtrlock.
[ Raphael Geissert ]
* Auto detect the playback devices and the playback switches
diff --git a/functions.sh b/functions.sh
index 966e37f..6b2474e 100644
--- a/functions.sh
+++ b/functions.sh
@@ -80,6 +80,7 @@ lock_x_screen()
if [ -x /usr/bin/dcop ]; then
dcop --user $user kdesktop KScreensaverIface lock
fi
+ [ -x /usr/bin/xtrlock ] && su "$user" -s /usr/bin/xtrlock &
fi
fi
}
--
Maintenance of eeepc-acpi-scripts debian package
More information about the Debian-eeepc-commits
mailing list