All pastes #386680 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-08 20:37 UTC
rendered paste body
#!/bin/bash

gnome-screensaver-command -i -r "Mplayer running" &
SPID=$!

function r_exit() {
        kill $SPID
}

trap r_exit 9 
trap r_exit 3
trap r_exit 1

mplayer -ao alsa:device=hw=1.2 -ac hwdts,hwac3, -fs "$@"

r_exit