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 12:57:08 -0700
On Jun 21, 2010, at 18:09, raf wrote:
> 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. Scripts in there will be executed after the system startup
>> scripts but before the WM starts.
>
> i don't need any fixes or changes to the global xinitrc
> since i have my own ~/.xinitrc.
But then you'll need to check to see if you need to update it periodically. For example, you may have had issues with key repeats in the past because you were not including that xinitrc.d fix ... and you may have incorrect font dirs now because you don't have that one either...
> also, your method doesn't sound like it would let me run the
> window manager of my choosing. but perhaps it only sounds like
> that.
No, that is what is meant by the "before the WM starts", so you can hijack it if you want. You can either set the USERWM environment variable, or exec it yourself.
> also, and the system's xinitrc runs programs that i don't
> want it to run so replacing it entirely is the correct solution
> for me.
what don't you want it to run?
> it's not meant to be a straight-jacket that everyone has to
> fit in.
Right, but you may miss out on fixes and workarounds for issues if you choose to go your own route.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden