Re: What's the Right Way to read resources on X startup?
Re: What's the Right Way to read resources on X startup?
- Subject: Re: What's the Right Way to read resources on X startup?
- From: Jeremy Huddleston <email@hidden>
- Date: Mon, 21 Jun 2010 11:00:01 -0700
On Jun 21, 2010, at 09:23, Ambrose LI wrote:
> On 21 June 2010 08:37, Richard Cobbe <email@hidden> wrote:
>> On Mon, Jun 21, 2010 at 12:55:09PM +1000, raf wrote:
>>> hi richard,
>>>
>>> what i've always done on all x11 systems is to have my own
>>> ~/.xinitrc (or ~/.xsession) file that gets run instead of
>>> the systetem's default xinitrc. then you get to control the
>>> sequence of things.
>>
>> Hasn't this strategy been discussed as a bad idea elsewhere on this list?
>> In particular, doesn't it prevent the system xinitrc from running and
>> setting up potentially necessary services?
>
> I know the official line, but I don't buy it. It is done this way
> everywhere else and it makes Apple's X11 special (or should I say
> non-standard?).
That is entirely not the case. ~/.xinitrc.d is not Apple-specific. Perhaps your other systems just have older versions of xinit.
See: http://cgit.freedesktop.org/xorg/app/xinit/tree/xinitrc.cpp#n87
> The user's .xinitrc never completely overrides what
> the system does; it requires the system xinitrc to even execute.
That is also untrue. startx will use ~/.xinitrc if present and will use the system xinitrc if it is not.
See: http://cgit.freedesktop.org/xorg/app/xinit/tree/startx.cpp#n200
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden