From: paul Date: Tue, 5 Jul 2016 10:47:52 +0000 (+0000) Subject: fire up xrandr before playing on screen, should help recognize displays X-Git-Url: http://git.plutz.net/?p=serve0;a=commitdiff_plain;h=78950186e3e84330c214bfac0ac7a3b4f1fb7d6a fire up xrandr before playing on screen, should help recognize displays svn path=/trunk/; revision=139 --- diff --git a/actions/watch.sh b/actions/watch.sh index e473ac4..913e621 100755 --- a/actions/watch.sh +++ b/actions/watch.sh @@ -75,6 +75,7 @@ case "${_COOKIE[watch]}" in export DISPLAY=":0" uid="$(id |sed -rn '1s;.*uid=([0-9]+)[^0-9].*;\1;p')" export XDG_RUNTIME_DIR="/run/user/$uid" # required for Pulseaudio + xrandr >/dev/null # helps enable all screens nohup /usr/bin/mplayer -ao pulse \ -slave -input file="$fifofile" \