Comments: In-reply-to Jeremy Huddleston <email@hidden> message dated "Fri, 02 May 2008 13:59:27 -0700."
Delivered-to: email@hidden
Delivered-to: email@hidden
> > #!/bin/sh
> >
> > MYIP=`ifconfig -a | grep 'inet' | grep 'broadcast' | awk '{print $2}'`
> > echo `echo $DISPLAY | sed -e "s;^.*:;${MYIP}:;"`
>
> No, that just does the same exact thing as ${MYIP}:0 because the end
> of the launchd $DISPLAY is always ':0'
Really? His original message said:
> The problem with a hard coded DISPLAY is that if X11.app crashes it
> often runs again with a different DISPLAY, it won't go back to 0:0
> until a reboot, also if another user uses fast user switching and runs
> another X11.app it is not 0:0.
I'm assuming he means "0.0". So, I guess we need to know what the
difference is -- I was just presuming that it was a different major
display number. So, when X11.app "runs again", what does it do?
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden
This email sent to email@hidden