[Debconf-video-commits] r741 - fai-config/files/home/dvswitch/.Xsession
Holger Levsen
holger at alioth.debian.org
Fri Feb 3 13:25:21 UTC 2012
Author: holger
Date: 2012-02-03 13:25:20 +0000 (Fri, 03 Feb 2012)
New Revision: 741
Added:
fai-config/files/home/dvswitch/.Xsession/r2dvswitch
Log:
work in progress
Copied: fai-config/files/home/dvswitch/.Xsession/r2dvswitch (from rev 730, fai-config/files/home/dvswitch/.Xsession/scratchy)
===================================================================
--- fai-config/files/home/dvswitch/.Xsession/r2dvswitch (rev 0)
+++ fai-config/files/home/dvswitch/.Xsession/r2dvswitch 2012-02-03 13:25:20 UTC (rev 741)
@@ -0,0 +1,32 @@
+#
+# manual edits will be lost
+# use svn://svn.debian.org/svn/debconf-video/fai-config/files/home/dvswitch/.Xsession/$hostname
+#
+
+export DISPLAY=":0.0"
+
+setxkbmap -option terminate:ctrl_alt_bksp &
+
+# disable screensaver
+xset -dpms
+xset s off
+
+# kill old sinks in case there are some left
+xterm -e ssh todd 'ps fax | grep "bash -c dvsink-command -h scratchy -p 4321 -- ffmpeg2theora"|grep -v grep | sed -e "s/^ *//" | cut -d " " -f1 | xargs -n 1 kill -9'
+xterm -e ssh r2grab 'ps fax | grep "dvgrab -noavc -"|grep -v grep | sed -e "s/^ *//" |cut -d " " -f1 | xargs -n 1 kill -9'
+
+# setup dvswitch
+xterm -e dvswitch &
+sleep 1
+xterm -e "dc-start-source firewire+tally:r2dvswitch" &
+sleep 3
+xterm -e "dc-start-source firewire+tally:r2grab" &
+sleep 3
+dvsource-file -l /home/dvswitch/dc11simple.dv &
+xterm -e "dc-start-sink file:r2dvswitch" &
+# FIXME
+# dvsink-command -h r2dvswitch -p 4321 -- cat > /home/flumotion/ferrer
+xterm -e "while true ; do dc-start-sink icecast:flumo1 ; done" &
+
+# last command
+xfce4-session
More information about the Debconf-video-commits
mailing list