Stopping kill all user processes in PostLogout (Closes: #797244).
[debian/lxdm.git] / debian / patches / 23_debian-config.patch
CommitLineData
400ad8c1
AG
1Description: Change background-image to debians default and stop remaining users processes
2Forwarded: not-needed
3Author:Klaumi Klingsporn <klaumikli@gmx.de
4
5--- a/data/lxdm.conf.in
6+++ b/data/lxdm.conf.in
7@@ -34,7 +34,8 @@
8 gtk_theme=Clearlooks
9
10 ## background of the greeter
11-bg=/usr/share/backgrounds/default.png
12+#bg=/usr/share/backgrounds/default.png
13+bg=/usr/share/images/desktop-base/login-background.svg
14
15 ## if show bottom pane
16 bottom_pane=1
17--- a/data/PostLogout.in
18+++ b/data/PostLogout.in
19@@ -1,3 +1,13 @@
20 #!/bin/sh
21 #
22-# Note: this is a sample and will not be run as is.
23+# PostLogout is run as the logged-in user right after he has logged out.
24+
25+# Kills all your processes when you log out.
26+# (Stolen von Arch-Linux)
ea929fb7 27+#ps --user $USER | awk 'NR > 1 {print $1}' | xargs -t kill
400ad8c1
AG
28+
29+# Fix for pulseaudio (Stolen von Arch-Linux):
30+test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r
31+
32+# Sets the desktop background to solid black. Useful if you have multiple monitors.
33+xsetroot -solid black