Where to add X startup actions?
David Abrahams
dave at boost-consulting.com
Mon Aug 28 17:34:56 UTC 2006
"Michael R. Head" <burner at suppressingfire.org> writes:
> On Sun, 2006-08-27 at 14:33 -0400, David Abrahams wrote:
>> Hi,
>>
>> I want to do a few things when X starts up, namely:
>>
>> xhost +local:acpid
>>
>> and also, enable any attached monitors and extend my desktop. Where
>> should I put these commands? They're not gnome-specific, so I'd
>> rather not stick them in something that will only be run by gdm.
>
> There are a few places it could be put.
>
> ~/.gnomerc
> ~/.xinitrc
> ~/.xsession
> /etc/X11/Xsession.d/
>
> .gnomerc and .xsession are run by the default Ubuntu startup, as well as
> any scripts put into /etc/X11/Xsession.d
Since I wanted this behavior machine-wide, I went with the latter.
Thanks; it worked great!
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the ubuntu-users
mailing list