[Xquartz-dev] x11-exec
Jeremy Huddleston
jeremyhu at berkeley.edu
Sun Dec 16 01:23:55 PST 2007
This duplicate icon was actually an error on my end. org.x.X11 was
mapping to /usr/X11/bak/X11.app on my system.
Anyways, I started moving this "stuff" over to xinit. Right now, it
is mostly working. launchd's startup envokes startx to start the
server and dock behavior is as expected. xinit does not yet have the
necessary code to check defaults for things like noauth tcp.
Additionally, using X11.app to start the server (via X11.app -query
<ip> or by disabling launchd support) falls back on the current
server_main() in server_main.c.
We need to move over this extra support from server_main.c into
xinit.c within __APPLE__ #ifdefs, then just tighten up server_main()
to exec startx.
--Jeremy
here's how to compile/install xinit:
git-clone git://anongit.freedesktop.org/git/xorg/app/xinit
cd xinit
export CFLAGS="-Wall -O2 -arch i386 -arch ppc -pipe"
./autogen.sh --prefix=/usr/X11 --mandir=/usr/X11/man --with-
launchagents-dir=/System/Library/LaunchAgents
make
make install
On Dec 14, 2007, at 15:34, Jeremy Huddleston wrote:
>
> On Dec 13, 2007, at 23:56, Jeremy Huddleston wrote:
>
>> And actually, you're solution still has the second dock icon
>> issue. Place /A/U/X11.app in the dock and execute it. A new dock
>> icon is created.
>
> However, it works as expected if I make a "simple" x11-exec as
> follows:
>
> (15:32:18 Fri Dec 14 2007 jeremy at yuffie Power Macintosh)
> /usr/X11/libexec $ cat x11-exec
> exec /Applications/Utilities/X11.app/Contents/MacOS/X11 "${@}"
>
> ---
>
> So we should be able to do this... there's just some weirdness
> involved that I'm a bit confused
> about..._______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3040 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20071216/6030cad9/smime.bin
More information about the Xquartz-dev
mailing list