LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-17-2004, 03:43 AM   #1
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Rep: Reputation: 30
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.
 
Old 03-17-2004, 05:10 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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
 
Old 03-17-2004, 11:32 AM   #3
Dabria
Member
 
Registered: Jul 2003
Location: Caraquet, New-Brunswick
Distribution: Slackware - Current
Posts: 35

Rep: Reputation: 15
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
 
Old 03-17-2004, 03:28 PM   #4
Chu
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Slackware 9.1
Posts: 166

Original Poster
Rep: Reputation: 30
Oh my Dabria that desktop is sweet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i add daemons to the startup? snip128 Debian 6 07-15-2005 09:33 AM
startup daemons? c_olin3404 Slackware 6 05-16-2005 03:21 PM
mysql spawns 10 daemons on startup mfitzpat Linux - Software 0 09-24-2004 02:57 PM
loading services/daemons at startup sirpimpsalot Linux - Newbie 3 03-05-2004 06:45 PM
Preventing auto startup of various daemons ssmaitra Linux - Software 2 03-04-2004 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration