root/nicotine-app/trunk/nicotine/data/getdisplay.sh
@
33
| Revision 33, 199 bytes (checked in by vasi, 4 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Author: Aaron Voisine <aaron@voisine.org> |
| 4 | |
| 5 | echo foo |
| 6 | display=/tmp/$USER-display-nicotine |
| 7 | |
| 8 | if [ "$DISPLAY"x == "x" ]; then |
| 9 | echo :0 > "$display" |
| 10 | else |
| 11 | echo $DISPLAY > "$display" |
| 12 | fi |
Note: See TracBrowser
for help on using the browser.
