Two simple QQ about XWin
Q1. Can anybody tell me what startup sequence (another/ different command line switch?) is equivalent to Start -> Run -> start XWin -multiwindow then point to the System Tray and choose "Show Root Window" please? Thank you! Q2. I've compared $ set > vars.list both when XWin is running and when not, expecting a small difference in env vars (or something). But all that has changed are PIDs. I want to be able to query the O/S to ask whether X is running or not. Is there a way of doing this, please? Apart from say ps -a | grep XWin. Thank you! Fergus P.S. There are so many ways of starting Cygwin up ... there are often questions on the list How Do You Start Yours? For a non-X system I use "rxvt -e bash" with presentation options picked up from ~/.Xdefaults. For X it seems to have to be a two-liner start XWin -multiwindow # see Q1 above for what I really want run rxvt -display :0.0 -e bash for a nice sparse system. I am not wild about the default startx. Any advance on this for a nice neat rxvt session in an X environment? Any possibility of a one-liner that I'm missing? Fergus
Re: Two simple QQ about XWin
Fergus, I have always recommended using startxwin.bat to start Cygwin/XFree86. Please see the following section in the User's Guide: http://xfree86.cygwin.com/docs/ug/using.html#using-starting Of course, everyone is free to do as they choose. On the other hand, no one sends in patches for the startx stuff, so it is basically unsupported since I don't know what to do with it. Harold [EMAIL PROTECTED] wrote: Q1. Can anybody tell me what startup sequence (another/ different command line switch?) is equivalent to Start -> Run -> start XWin -multiwindow then point to the System Tray and choose "Show Root Window" please? Thank you! Q2. I've compared $ set > vars.list both when XWin is running and when not, expecting a small difference in env vars (or something). But all that has changed are PIDs. I want to be able to query the O/S to ask whether X is running or not. Is there a way of doing this, please? Apart from say ps -a | grep XWin. Thank you! Fergus P.S. There are so many ways of starting Cygwin up ... there are often questions on the list How Do You Start Yours? For a non-X system I use "rxvt -e bash" with presentation options picked up from ~/.Xdefaults. For X it seems to have to be a two-liner start XWin -multiwindow # see Q1 above for what I really want run rxvt -display :0.0 -e bash for a nice sparse system. I am not wild about the default startx. Any advance on this for a nice neat rxvt session in an X environment? Any possibility of a one-liner that I'm missing? Fergus
Re: Two simple QQ about XWin
On Thu, 14 Aug 2003 [EMAIL PROTECTED] wrote: > Q2. I've compared > > $ set > vars.list > > both when XWin is running and when not, expecting a small difference in env > vars (or something). But all that has changed are PIDs. I want to be able to > query the O/S to ask whether X is running or not. Is there a way of doing > this, please? Apart from say ps -a | grep XWin. Thank you! xdpyinfo >/dev/null 2>&1 || echo false bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723