Xinitrc in 2.2.0 suggestion
Xinitrc in 2.2.0 suggestion
- Subject: Xinitrc in 2.2.0 suggestion
- From: Peter Collinson <email@hidden>
- Date: Wed, 2 Apr 2008 06:54:25 +0100
The use of a directory to store starting fragments in 2.2.0 makes it a
little fiddly to have your own start up code.
Is this changeable?
I'd like to have something start after the font setting but before the
exec to Xquartz happens.
a) I could replicate the xinitrc and xinitrc.d - and edit the package
locations to suit
which seems overkill.
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.
c) The nicest solution (for me) is to split the current xinitrc.d into
two directories - and have
three loops:
xinitrc_pre.d - run before you call my code
a loop to call my code
xinitrc_post.d - run after you call my code
I'll do (a) for now.
(and yes the zombie has gone)
_____________________________________________
Peter Collinson
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden