Bug#571612: gdm: Please provide a Xreset hook using a common framework
Petter Reinholdtsen
pere at hungry.com
Fri Feb 26 13:15:39 UTC 2010
Package: gdm
Version: 2.20.10-1
User: debian-edu at lists.debian.org
UserTags: debian-edu
In BTS report #230422, I outline the need for a hook into the Xreset
phase of the display manager. Please implement support for it in gdm,
to make it possible to run scripts when users log out from a gdm
session. This bug should be blocked by #230422.
This patch should solve the issue, if I understood the code correctly.
diff -ru gdm-2.20.10/config/PostSession.in gdm-2.20.10-pere/config/PostSession.in
--- gdm-2.20.10/config/PostSession.in 2009-03-19 05:59:27.000000000 +0100
+++ gdm-2.20.10-pere/config/PostSession.in 2010-02-26 14:13:07.000000000 +0100
@@ -19,4 +19,9 @@
echo "$OUTPUT"
}
+# Use common Xreset framework if it exist
+if [ -x /etc/X11/Xreset ] ; then
+ /etc/X11/Xreset
+fi
+
exit 0
Happy hacking,
--
Petter Reinholdtsen
More information about the pkg-gnome-maintainers
mailing list