LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   how do I start applications after fluxbox starts? (https://www.linuxquestions.org/questions/linux-desktop-74/how-do-i-start-applications-after-fluxbox-starts-510526/)

kav 12-14-2006 06:54 PM

how do I start applications after fluxbox starts?
 
xmms doesn't behave properly unless you start it after fluxbox starts. Running any xscreesavers as the background also behave really bizzare if you don't start them after fluxbox has been started. It's like fluxbox is stuck behind them.

Starting them manually after fluxbox has started fixes all odd behavier. So how do I start them automatically whenever I startx? I can't put them in .fluxbox/startup because "exec fluxbox" has to be the last command in that script.

Where is the best place to put the commands for any programs that need to be started after the window manager?

beagle2 12-14-2006 07:45 PM

Edit .xinitrc file something like :

xscreensaver &
gkrellm &
exec fluxbox

exec fluxbox must be last command.

kav 12-15-2006 07:59 AM

Actually exec fluxbox is a command in the startfluxbox script that is run from .xinitrc so I can say


startfluxbox
#exec ratpoison
#exec wmii
#exec enlightenment

/usr/lib/xscreensaver/euphoria -r
xscreensaver &
gkrellm &


But that is exactly the answer I was looking for. I just needed to know which which script came right after fluxbox started.

Thanks a bunch

dive 12-15-2006 01:51 PM

Have you tried putting the apps in ~/.fluxbox/startup?

I believe that is the last file that runs when flux starts.


All times are GMT -5. The time now is 08:40 AM.