On Tue, Jun 20, 2000 at 03:04:19AM +0200, clemensF wrote:
> isn't there some other way (a unix way) for trying to open the x- display?
> is one of the standard /dev/* devices associated with an x- display?
no (there's a socket associated with it, but the location and permissions
vary from one p
On 2000.06.19, in <[EMAIL PROTECTED]>,
"clemensF" <[EMAIL PROTECTED]> wrote:
> > Mrinal Kalakrishnan:
>
> > No it's different. If you're in a console while X is running, the
> > RunningX test will fail, because it actually tries to open the
> > display. Whereas the $DISPLAY variable still
> Mrinal Kalakrishnan:
> No it's different. If you're in a console while X is running, the
> RunningX test will fail, because it actually tries to open the
> display. Whereas the $DISPLAY variable still exists, so "test -n
isn't there some other way (a unix way) for trying to open the x- display
> Mrinal Kalakrishnan:
> No it's different. If you're in a console while X is running, the
> RunningX test will fail, because it actually tries to open the
> display. Whereas the $DISPLAY variable still exists, so "test -n
> $DISPLAY" test passes. So if you're in a console, while X is running,
>
Hi,
clemensF typed:
> you might consider just using standard "/usr/bin/test -n $DISPLAY". no
> need for special programs, if you test the existence of the x- variable
> used to indicate, well, the display to use.
No it's different. If you're in a console while X is running, the
RunningX test wi
> Gary Johnson:
> > ...so it can be tested if an X-server is running. What is this program
> > RunningX ? Is it an utility that comes with X (it is not on my
you might consider just using standard "/usr/bin/test -n $DISPLAY". no
need for special programs, if you test the existence of the x- var
On Mon, Jun 19, 2000 at 12:02:53AM +0200, [EMAIL PROTECTED] wrote:
> ...so it can be tested if an X-server is running. What is this program
> RunningX ? Is it an utility that comes with X (it is not on my
> machine), or a simple script in bash or so (a test about a variable
> like $TERM) ?
It's
Hello,
In the documentation about mime-types, it's said that one can test whether a mailcap
entry should be used with the command test=. The given example is :
text/html; netscape -remote 'openURL(%s)' ; test=RunningX
text/html; lynx %s
...so it can be tested if an X-server i