13
0
livetrax/tools/osx_packaging/bin/getdisplay.sh
David Robillard 22c20ab6f2 Merged with trunk, and a few trivial GUI updates etc.
git-svn-id: svn://localhost/ardour2/branches/midi@664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2006-07-05 19:47:25 +00:00

10 lines
197 B
Bash
Executable File

#!/bin/sh
#
# Author: Aaron Voisine <aaron@voisine.org>
if [ "$DISPLAY"x == "x" ]; then
echo :0 > /tmp/$UID/TemporaryItems/display
else
echo $DISPLAY > /tmp/$UID/TemporaryItems/display
fi