Re: Still Happening
Re: Still Happening
- Subject: Re: Still Happening
- From: Martin Costabel <email@hidden>
- Date: Mon, 19 Feb 2007 10:43:02 +0100
Michael Reilly wrote:
Per the fink documentation you must source /sw/bin/inst.csh or
/sw/bin/init.sh to get the path set correctly. Adding it to .xinitrc
above the any lines which would set the path correctly. It is normally
put in your .cshrc or .bashrc though.
The problem is with bash and Apple's treatment of xinit. They run a
non-login version of bash, and bash has completely different startup
scripts for login and non-login shells ([t]csh uses the same scripts for
both). PATH is usually set in the login startup scripts (not in
~/.bashrc). This is the reason why /sw/bin:/sw/sbin does not show up in
a standard xterm in Apple's X11.
Allan Seidel wrote:
On Feb 18, 2007, at 8:54 AM, Martin Costabel wrote:
All those instructions about copying /etc/X11/xinit/xinitrc to your
home directory and then modifying it are bogus.
Bogus in what manner - that is the normally accepted way to create a
.xinitrc in ~ since long before OSX. Nothing bogus about it.
Of the 33 lines of that script, only two are doing anything for a
standard MacOSX installation: system files like
/etc/X11/xinit/.Xresources do not exist, and no standard user has files
like $HOME/.Xmodmap. The other 31 lines are only confusing anyone trying
to modify this file. It is far clearer and shorter to instruct people to
create a new ~/.xinitrc file and tell them the 2 or 3 lines to put there.
Now I am totally confused. I thought putting a modified copy of
.xinitrc at home was standard operating proceedure.
You are correct.
michael
BTW, Just for grins I uncommented the exec wmaker line I had in my
home .xinitrc from when I tried it while back (and decided not to use
it along with all the other wms installed using Fink) and it was not
found. I had to put a /sw/bin/ in front of it. That path is not known
anymore to this machine's X11, yet is known to Terminal on this
machine. It would be nice to find the definitive word as to how and
when the paths are set. I've tried to find and learn them all, but
just when I think I understand it, even when backed up by experiments,
I run into a wall.
As I said before and as it is written in the Fink documentation, you put
source /sw/bin/init.sh
(or, for bash purists, ". /sw/bin/init.sh" which is the same thing)
as a first line into ~/.xinitrc. Then "exec wmaker" will find the command.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden