Le vendredi, 10 jan 2003, � 21:48 Europe/Paris, Nicholas Riley a �crit :
I use tcsh, so I think (I may be completely wrong) that I cannot distinguish XDarwin and X11 that way.On Fri, Jan 10, 2003 at 06:54:47PM +0100, Mich�le Garoche wrote:Is there a way to have a unique .xinitrc for X11 and XDarwin, something
like this:
This is what I do - but it's very sensitive to quirks of X11.#!/bin/zsh [...] # Apple's X11.app uses bash despite the #! line if [[ -n $BASH_VERSION ]]; then # grab Fink stuff . ~/.zprofile rxvt & exec quartz-wm fi
I got this behaviour launching X11 by double-clicking its icon, so I entered into the menu the full path for each app.Regardless of that, it seems that anything I execute from the launcher menu does not use the environment set in ~/.xinitrc, which is very annoying. I have to launch everything from the rxvt I launch from .xinitrc.
/sw/bin/texmacs for example in place of texmacs
and it worked fine. I'll guess X11 does not take the environment into account.
But if you launch X11 via Terminal with:
/Applications/X11.app/Contents/MacOS/X11 --xquartz-be-xinit -keymap /System/Library/Keyboards/Francais.keymapping
(or no -keymap if you use an US keyboard)
the shell is fair enough to take the environment into account.
And you can enter command in the menu without specifying the full path.
Mich�le
<http://micmacfr.homeunix.org/>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
