xdisplay

  1,842 downloads
1.0 GPL (GNU General Public License)    
2.9/5 16
xdisplay is a little script which can help to keep track of where you are and set your default X DISPLAY.

description

download

specifications

xdisplay is a little script which can help to keep track of where you are and set your default X DISPLAY. If your DISPLAY is set, it will be returned, but if it is not, this will return the last known value. Use this in environments where you want your display to automatically get set whenever you log into remote machines. Appropriate stderr messages are output when invoked so that you are aware of your settings.

This display value gets stored in ~/.xdisplay. To use, put this in your path somewhere, say ~/bin and:

in csh, do: setenv DISPLAY `xdisplay`
in sh, do: export DISPLAY=`xdisplay`
READ MORE   
Last updated on April 16th, 2008

0 User reviews so far.

SUBMIT