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: Wed, 23 Jun 2010 13:00:34 -0700
On Jun 22, 2010, at 04:51, Richard Cobbe wrote:
> On Mon, Jun 21, 2010 at 10:55:07AM -0700, Jeremy Huddleston wrote:
>>
>> On Jun 20, 2010, at 19:55, 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.
>>>
>>> for example, my ~/.xinitrc does the following
>>> (among other things):
>>
>> This is very much not recommended by me because it means you won't
>> benefit from fixes and changes to the global xinitrc. The recommended
>> approach to customizing your startup is to use a ~/.xinitrc.d directory.
>
> I'm perfectly willing to follow the recommended approach, so long as it works.
>
>> Scripts in there will be executed after the system startup scripts but
>> before the WM starts.
>
> ...but not, apparently, before the first client app starts.
Yeah, this is a weird timing issue. I seem to recall that I added in logic to not accept the connection from the launchd socket until the WM checks in, but I'm not entirely sure. I'll need to look into that again.
Can you please file a bug report at http://xquartz.macosforge.org
> Is this supposed to work? Or should I go back to using a single shell
> script that loads resources then starts an xterm, put that shell script in
> the app_to_run setting, and put XQuartz.app back in my login items?
It would be great if that launched only after the WM loaded, but I'll have to look into that.
Thanks,
Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden