File: PostLogout.in

package info (click to toggle)
lxdm 0.5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,072 kB
  • ctags: 1,059
  • sloc: sh: 8,543; ansic: 7,144; makefile: 212
file content (13 lines) | stat: -rwxr-xr-x 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# PostLogout is run as the logged-in user right after he has logged out.

# Kills all your processes when you log out.
# (Stolen von Arch-Linux)
#ps --user $USER | awk 'NR > 1 {print $1}' | xargs -t kill

# Fix for pulseaudio (Stolen von Arch-Linux):
test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r

# Sets the desktop background to solid black. Useful if you have multiple monitors.
xsetroot -solid black