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


Click here to return to the '.initrc question (was' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
.initrc question (was
Authored by: evildrbob on Jan 10, '03 02:25:46PM

So how can I tell where my .initrc file is? I've searched using the Finder "Find" but no .initrc file turns up - where should it be?

Yah, I'm a newbie... :)



[ Reply to This | # ]
.initrc question (was
Authored by: ClarkGoble on Jan 10, '03 05:37:13PM

It is in your home directory. And it is .xinitrc not .initrc.

Open a terminal. Type the following:

cat ~/.xinitrc

That will list what is in it. The other important file is .tcshrc and you can do pretty much the same thing to see what is in it.



[ Reply to This | # ]
.initrc question (was
Authored by: terceiro on Jan 11, '03 03:37:21AM

Yeah, but if you've installed apple's X11 as the first-ever X11R6 on your machine, you won't have an .xinitrc file in your home directory. Nor any that I can find anywhere else. So how does quartz-wm do it? Am I missing something?



[ Reply to This | # ]
.initrc question (was
Authored by: MasterUltan on Jan 13, '03 11:29:02PM

Ordinarily, an installation of X11 will check your home directory for a file called ".xinitrc" which it will then execute. Failing to find this, it will use the default version in /etc/X11/xinit/xinitrc. Apple's X11 does the first, but not the second. If it doesn't find a .xinitrc, it seems that it launches quartz-wm and an xterm, as if your .xinitrc read:

xterm &
exec quartz-wm



[ Reply to This | # ]
.initrc question
Authored by: tcwatson on Feb 19, '03 01:14:50PM

There is a default xinitrc file on this path
/usr/X11R6/lib/X11/xinit/xinitrc
This seems to be the one that is used if there is no .xinitrc in the home directory.



[ Reply to This | # ]