Running a script on startup before X starts in Ubuntu 9.10
Posted
by Epcylon
on Super User
See other posts from Super User
or by Epcylon
Published on 2010-04-21T19:58:56Z
Indexed on
2010/04/22
7:23 UTC
Read the original article
Hit count: 167
I have a script that I want to run at startup to switch X-configs depending on location, but I can't seem to find out where to put it in order to get it to run before X is started. This results in me having to restart X to get it to run the correct config.
Currently, my script is located in /etc/init.d/whereami
, with symlinks in /etc/rc[2-5].d/S25whereami
. I was trying to find out when X is started, in case the problem is simply the 25
, but I can't seem to find the answer...
Any help is appreciated.
© Super User or respective owner