Where to add X startup actions?

Michael R. Head burner at suppressingfire.org
Sun Aug 27 19:20:15 UTC 2006


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



> Thanks!
> 
> -- 
> Dave Abrahams
> Boost Consulting
> www.boost-consulting.com
> 
> 
-- 
Michael R. Head <burner at suppressingfire.org>
suppressingfire.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060827/e0ffe640/attachment.sig>


More information about the ubuntu-users mailing list