Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Another way...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another way...
Authored by: DaphneDiane on Jan 23, '03 12:47:50AM
I find following .xinitrc stuff works well and actually keys off the difference between the two X11 servers. Apparently Apple's X11 using an "Apple-DRI" extension for quartz-wm to talk to, so I just check for this...
if /usr/X11R6/bin/xdpyinfo | /usr/bin/grep -q Apple-DRI; then
    # Using Apple's server
    # Using XDarwin or another server

[ Reply to This | # ]