Dragon12
February 3rd, 2006, 18:57
I have been trying to get things like Xclock & FBPager to run when Fluxbox starts up.

Trying the intructions in the Fluxbox docs I put the commands "xclock" and "fbpager" in my .xinitrc file and logged out and logged back in and they still did not start up.

I have also tried the same thing in .xsession file with the same results.

After this had failed I tried using "exec" in front xclock & fbpager in both .xinitrc & .xsession files and still nothing comes up.

My .xinitrc file

#!/bin/sh
exec fluxbox -nodaemon
exec fbpager -w
exec xclock -w
exec fbrun -w -bg black -fg white
&
My .xsession file

#!/bin/sh
exec fluxbox
exec fbpager -w
exec xclock -w


If someone could tell me what I'm doing wrong I would really apprecate it!

Thanks in advance,

Dragon12

Dragon12
February 4th, 2006, 02:59
I finaly figuered out that you have to have all of the programs you want to run in BOTH .xinitrc & .xsession and of course without the "exec". Thanks anyway folks.

Strog
February 4th, 2006, 14:27
You don't need the #!/bin/sh in there. Just start your apps backgrounded and always start your window manager last.


fbpager &
fbrun &
xclock &
exec fluxbox