Re: scripts that run when we type startx

[email protected] (Josip Deanovic)
Newsgroups gmane.comp.xfree86.devel
Organization Nimium d.o.o.
Message-ID <[email protected]>
Karthik Ramamoorthy <[email protected]> writes:

> Hi,
>
> I need to execute my program when Xserver is loaded( ie when we type startx 
> from text mode). So can anybody specify the shell script into which i can 
> incorporate my executable, so that whenever Xserver is loaded my application 
> also runs during the loading.
>
> I tried to incorporate my executable in /etc/profile file but it works only 
> when your runlevel is 5 during booting ie in /etc/inittab ur runlevel is 5. 
> So what is the option for me to run my executable application when my 
> starting run level is 3 ie textmode so that my application runs when Xserver 
> is loaded.

Your question would better suit [email protected] list.
[email protected] is a list for technical discussions of XFree86 development.

> Please suggest me some solution, which script can be edited to load run my 
> executable application when we type startx to load Xserver.
> Actullay my application works only after Xserver starts loading.

Since you are using startx(1), you should read it's manual. You will
find your answer there.

-- 
Josip Deanovic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.