LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   makeing an app start at fluxbox startup (https://www.linuxquestions.org/questions/linux-software-2/makeing-an-app-start-at-fluxbox-startup-191987/)

sethgeekx86 06-10-2004 12:47 PM

makeing an app start at fluxbox startup
 
I need a program to start when fluxbox starts what to i need to add to init to make this happen.

b0uncer 06-10-2004 02:01 PM

touch $home/.xinitrc

after that (ensuring it exists, and if not, create it) open the file .xinitrc in your home directory with a text editor, like

vim $home/.xinitrc

and add there a line:

exec /path/to/your/app

that should do...the file .xinitrc should be run every time X starts, which means that when you start fluxbox (and X) it is run :)

Dabria 06-10-2004 04:45 PM

If you want your program to start only when you start Fluxbox and not everytime X starts then :

touch ~/.fluxbox/apps

Then add this in apps

[startup] {path/to/your/app}

b0uncer 06-11-2004 04:54 AM

hmm...yup, but how many times you start fluxbox but not X? :)

just a pop-up-idea..but anyway, after thinking it's better to use fluxbox's file, because when you use .xinitrc it seems that you must sort things a bit...the last line seems to define the app that's left running as the "final" process and it ends the same time as X session ends...


All times are GMT -5. The time now is 06:52 PM.