LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Daemons upon Fluxbox Startup (https://www.linuxquestions.org/questions/linux-newbie-8/daemons-upon-fluxbox-startup-158843/)

Chu 03-17-2004 03:43 AM

Daemons upon Fluxbox Startup
 
I would like xscreensaver-demo to start up when I load into Fluxbox (I have to manually do it, and it gets old.. :P)

I would also like to know how to get two things to open in the Fluxbox menu:
I would like giftd -d to start when I open giFTcurs from the menu.

Crashed_Again 03-17-2004 05:10 AM

Here is my .xinitrc file which should be in your home directory:

Code:

# window manager
fluxbox & wmpid=$!

xset m 1 &
aterm +sb -tr -fn -artwiz-smoothansi-medium-r-normal--13-130-75-75-m-60-iso10646-1 -fg white -bg "#F909F1" -g 179x25+0+0 &
aterm +sb -tr -fn -artwiz-smoothansi-medium-r-normal--13-130-75-75-m-60-iso10646-1 -fg white -bg "#F909F1" -g 179x25+198+514 &
gkrellm2 -w &
xscreensaver -nosplash &

#HANG POINT - wait for windowmanager to exit
wait $wmpid

xset m1 &=set mouse speed
aterm blah blah blah &=open aterm
gkrellm2 -w &=start gkrellm in the slit
xscreensaver -nosplash & starts the xscreensaver daemon

Dabria 03-17-2004 11:32 AM

Another way is to create a file called apps in ~/.fluxbox, if it's not already there.

In that file just add lines like this

[startup] {xscreensaver -nosplash}
[startup] {whatever other apps you want}
etc.....

I don't think this would work with the stable release of Flux. I'm running 0.9.8 here and it's working great.


My desktop

Chu 03-17-2004 03:28 PM

Oh my Dabria that desktop is sweet.


All times are GMT -5. The time now is 10:19 PM.