Re: Xinitrc in 2.2.0 suggestion
Re: Xinitrc in 2.2.0 suggestion
- Subject: Re: Xinitrc in 2.2.0 suggestion
- From: Harald Hanche-Olsen <email@hidden>
- Date: Wed, 02 Apr 2008 08:42:45 +0200 (CEST)
+ Peter Collinson <email@hidden>:
> 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?
Yes; see below.
> 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?
> 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.
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden