root/nicotine-app/trunk/nicotine/data/getdisplay.sh

Revision 33, 199 bytes (checked in by vasi, 4 years ago)

new module

  • Property svn:executable set to *
Line 
1#!/bin/sh
2#
3# Author: Aaron Voisine <aaron@voisine.org>
4
5echo foo
6display=/tmp/$USER-display-nicotine
7
8if [ "$DISPLAY"x == "x" ]; then
9    echo :0 > "$display"
10else
11    echo $DISPLAY > "$display"
12fi
Note: See TracBrowser for help on using the browser.