Re: Xinitrc in 2.2.0 suggestion
Re: Xinitrc in 2.2.0 suggestion
- Subject: Re: Xinitrc in 2.2.0 suggestion
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 2 Apr 2008 01:21:44 -0700
I'd like to have something start after the font setting but before
the exec to Xquartz happens.
Huh? That makes no sense to me. All the xinitrc stuff happens with an
open connection to the X server, so surely, Xquartz has already run.
Or am I missing something here?
Xquartz is exec'd as the last item in the .xinitrd.d sequence -
actually
making the remaining lines in xinitrc cosmetic - they are not
executed.
mmm. No. Xquartz is running when xinitrc starts. In fact, if it
wasn't, everything in xinitrc would fail to execute. Xquartz is run,
and xinitrc is the startup script that gets executed for it. When
xinitrc exits, Xquartz quits.
b) Adding something like
userxinitrcd=$HOME/.xinitrc.d
if [ -d $userxinitrcd ] ; then
for f in $userxinitrcd/*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
before the current test and execute - would save me copying xinitrc
- I'd need to copy xinitrc.d contents tho.
Why don't you just put the above code in a little file and drop into
xinitrc.d as one of the files to run? And if this works well for you,
lobby Jeremy to put the new file in the distribution.
- Harald
Yes this is a very good idea - which didn't occur to me at first -
and is the best solution.
80-run-userxinitrc.d.sh Jeremy?
Yeah... just make a /usr/X11/lib/X11/xinit/xinitrc.d/00-local.sh file
(or 80-userxinitrc.d or whatever) which does that stuff above and you
should be fine. That's the whole point behind this xinitrc.d
directory is to ALLOW what you are trying to do.
For me I would like it part of the distribution - because it will
presumably be zapped on
the next install - and having to remember to redo it after every
install will be a pain.
It won't be deleted when you install a new X11.pkg (unless you
yourself delete it). Again, this is the whole point behind this
feature.
--Jeremy
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden