Hi,
Pardon my ignorance, and that I am never good in this
stuff.
I have noticed that the startxwin.bat starts the X
Server using
%RUN% XWin -multiwindow -clipboard -silent-dup-error
Is there any way of checking if the X Server is
currently running? Because if you try th
--- Charles Wilson <[EMAIL PROTECTED]> ha
scritto:
> O. Olson wrote:
>
> > Is there any way of checking if the X Server is
> > currently running? Because if you try this again,
> it
> > gives you A fatal error
which does not crash
> your
> &
--- Holger Krull <[EMAIL PROTECTED]> ha scritto:
>
> There probably is a more elegant solution but doing
> ps |grep Xwin >/dev/null || run Xwin -your options
> here
>
> will only start Xwin if it is not running already.
> (Assuming you will only start one Xwin)
>
Dear Holger,
I dont
--- Gary Johnson <[EMAIL PROTECTED]> ha
scritto:
> You can use 'cygcheck' to find the Cygwin package
> the contains a
> particular program. For example,
>
>$ cygcheck -p checkX
>Found 2 matches for checkX.
>checkx/checkx-0.1.0-1 checks to see if Xserver
> is usable
>checkx/che
--- Bengt-Arne Fjellner <[EMAIL PROTECTED]>
ha scritto:
>
> Just run setup click next until your in the
> categories window.
> Click view till you reach not installed.
> scroll down till you see checkX
> select it and then next.
>
> --
> tel 0920 49 1894
> Bengt-Arne Fjellner
Thanks Bengt-Arn
--- Holger Krull <[EMAIL PROTECTED]> ha scritto:
> I misstyped XWin, it is W not w. Sorry, i didn't
> test it.
>
Dear Holger,
I can get your suggestion of
ps |grep XWin >/dev/null ||XWin -multiwindow
-clipboard -silent-dup-error
to work from the Cygwin Command Prompt as well as from
--- Gary Johnson <[EMAIL PROTECTED]> ha
scritto:
> My guess is that you created that file with DOS line
> endings. Try
> converting it to use Unix line endings,
>
>cd /usr/X11R6/bin
>d2u sd.sh
>
> then try executing it again.
>
> Also, I would recommend putting such scripts that
> yo
--- Holger Krull <[EMAIL PROTECTED]> ha scritto:
>
> I suggest you start the shell script from a
> batchfile.
>
> Like:
> C:\cygwin\bin\bash.exe -l yourstartscript.sh
> Or make an Windows Icon with that command.
>
> If yourstartscript.sh is not found you have to give
> the full path to it in cy
--- Holger Krull <[EMAIL PROTECTED]> ha scritto:
>
> I suggest you start the shell script from a
> batchfile.
>
> Like:
> C:\cygwin\bin\bash.exe -l yourstartscript.sh
> Or make an Windows Icon with that command.
>
> If yourstartscript.sh is not found you have to give
> the full path to it in cy
--- Gary Johnson <[EMAIL PROTECTED]> ha
scritto:
> You're welcome.
>
> I've written a few batch files that call Bash
> scripts, but to be
> honest, I seldom get these right the first
> time--there is usually
> some aspect of the transition from Windows/DOS to
> Cygwin that I
> overlook. Sinc
--- Holger Krull ha scritto:
> Holger Krull schrieb:
> > Holger Krull schrieb:
> > I was to fast on my last email. I tested it now:
> > You need (on windows):
> > set DISPLAY=127.0.0.1:0.0& c:\cygwin\bin\bash.exe
> -l /home/krull/test.sh
> >
> > (it is important that there is no space between
>
--- Holger Krull ha scritto:
> As someone pointed out in another post the sequence
> ps |grep has a risk of finding grep itself in the
> list. The command pgrep combines both and hasn't
> that risk.
Thanks for this tip.
>
> That can be avoided by dual nested start like:
> C:\cygwin\bin\bash.
12 matches
Mail list logo