Re: Dang .xinitrc
Re: Dang .xinitrc
- Subject: Re: Dang .xinitrc
- From: "Joseph R. Kiniry" <email@hidden>
- Date: Sun, 19 Jan 2003 12:53:35 +0100
Hi Martin,
--On zondag, 19 januari 2003 12:35 +0100 Martin Costabel
<email@hidden> wrote:
Joseph R. Kiniry wrote:
[]
Finally, unless you are using a program like SSH Agent, I always suggest
starting X with one of the provided scripts (e.g., startx) so that all
env variables, X resource database (xrdb) environment, X keymaps
(xmodmap), etc. are configured properly for the entire session. Don't
forget that startx and the rest of the X infrastructure up to, but not
including, the X server are just shell scripts. Reading them is quite
rewarding in understanding how a given X installation hangs together.
In Apple's X11 package, startx doesn't work. Also xinit isn't used in the
standard way, there is no systemwide xinitrc script. When started the
Apple way, i.e. by clicking on the Application icon, even XDarwin.app,
which is a lot more standard and transparent than X11.app, has a special
hard-coded startup procedure which you cannot guess from reading startup
scripts.
So while I agree with you that one can learn a lot from reading startup
scripts, such general advice is often unhelpful in the realm of Mac OSX.
I'm sorry, but I disagree with you. My startx script works great, starts
up my Fink gnome install, sets up keymaps properly, etc. on my Apple X11
install.
I had removed my entire Fink X install prior to installing Apple's X11,
which I presumed cleaned out all startup scripts &c. Of course, I could be
wrong and I could be happily using the Fink XFree86 startup scripts, but
given the modification dates on everything in /etc/X11 match those in
/usr/X11R6/bin, I suspect that this is not the case.
It all looks like a standard X install to me that happens to have an icon I
can click on. As near as I can tell, clicking on the icon performs the
exact same actions as running "startx". I get an identical environment
including all ssh agent env. vars and the like.
Joe
---
Joseph R. Kiniry http://www.kindsoftware.com/
KindSoftware, LLC ID 78860581 ICQ 4344804
_______________________________________________
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.