Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 startup in Leopard



Ralph Martin wrote:
I dont think this question has been directly answered:

When X11 starts up, it displays an xterm. I want to change the settings used for that xterm, so that it works like
xterm -ls -sb +cm -rightbar -sl 1000 -geometry 132x50+20+40&


Under Tiger, this could be done by editing .xinitrc
This strategy does not work the same in Leopard.

So, how DO I set this up?

One possibility:

Replace
/Applications/Utilities/X11.app/Contents/MacOS/X11
by an executable text file containing the 2 lines

#!/bin/sh
exec /usr/X11/bin/xterm -ls -sb +cm -rightbar -sl 1000 -geometry 132x50+20+40


In the same way you can get rid of the xterm altogether, if you take as second line something like

exec /usr/X11/bin/xhost

--
Martin

_______________________________________________
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
References: 
 >X11 startup in Leopard (From: Ralph Martin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.