determine X windows version from command line

2004-08-30 Thread Steven Friedrich
I've been massaging UberMon for SuperKaramba for my FreeBSD systems.

I'd like to be able to run a command that will yield which X window system is 
installed and what version.

I've done it with something like startx -- -version, but this is problematic 
if X windows is running (which is the scenario I need it to work in).

Even then, I'd have to grep for XFree86 Version so it isn't a general 
solution that would work for systems already switched to x-org.

Any deas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: determine X windows version from command line

2004-08-30 Thread Phil Schulz
Steven Friedrich wrote:
I'd like to be able to run a command that will yield which X window system is 
installed and what version.

`X -version` works for me. But I'm not sure if this will also work w/ 
X.org since I'm still running XFree86

Regards,
Phil
--
Did you know...
If you play a Windows 2000 CD backwards, you hear satanic messages,
but what's worse is when you play it forward
 ...it installs Windows 2000
  -- Alfred Perlstein on [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]