Re: Startup items
Re: Startup items
- Subject: Re: Startup items
- From: Ronald Cohen <email@hidden>
- Date: Fri, 17 Jan 2003 11:48:43 -0800
On Friday, January 17, 2003, at 10:39 AM, Dave Williss wrote:
When I start X11, it always launches an xterm. Is there
any way to prevent this?
Easy, create your own .xinitrc file in your home directory
and start up only what you want.
You can do so by copying /etc/X11/xinit/xinitrc to ~/.xinitrc,
and editing that. Replace the startup of the twm manager by
the quartz window manager, by replacing the line:
twm &
by
quartz-wm &
and then comment out (by prepending with "#") the following
lines that invoke xclock and three xterms.
(Note this is also the route to starting up an xterm with scroll bars --
don't comment out one of the xterm lines; and add "-sb -sl 1000"
to the end of that line; this will produce scrollbars and save 1000
lines of history.)
-- Ron Cohen-
I'm launching X11 from a C++ program by calling...
strcpy(prog, "/Applications/X11.app/Contents/MacOS/X11");
execl(prog, prog, 0);
I found that I could avoid the xterm by running
/usr/X11R6/bin/XQuartz
/usr/X11R6/bin/quartz-wm
but then you don't get any menus and it's not happy if you kill
the process directly.
-- Dave Williss
------
Meddle not in the affairs of dragons,
for you are crunchy and taste good with catsup
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.