Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-07-2004, 05:54 PM   #1
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Rep: Reputation: 15
Startup script, help understanding it..?

Hi members of the forum. I will like to ask for some help understanding the different command lines in this script:
Another sample of startup file

export PATH=$PATH:/usr/local/bin
export LC_ALL=nl_NL
#export LC_ALL=nl_NL.UTF-8
export DISPLAY=:0.0
#bsetroot -solid black
fbsetbg -C ~/.fluxbox/splash.jpg
exec &> ~/.fluxbox/log
xmodmap ~/.Xmodmap
xset -b
xset r rate 195 35
# xset +fp $HOME/.font
unclutter -idle 2 -jitter 5 &
xset s off

sleep 6 ; idesk &
sleep 3 ; ssh_haddock &
sleep 3 ; exec emacs --iconic /haddock:documenten/nop &
sleep 3 ; xmms &
sleep 3 ; firefox &
# sleep 3 ; fbpager &
# sleep 3 ; xscreensaver &

#exec /usr/bin/fluxbox -log ~/.fluxbox/log
#exec ~/src/fluxbox/src/fluxbox -log ~/.fluxbox/log
exec /usr/local/bin/fluxbox #-log ~/.fluxbox/log
#exec aterm
bsetroot -solid black
I will like to know also if you guys think that this script represents an unique system or it can be use in any system.

Old 08-07-2004, 06:59 PM   #2
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
it is a startup-script for your (an) XServer - it sets a PATH - exports some variables - sets up the background-image to load (the background-color to set is commented out..) sets up logging events to a file (~/.fluxbox/log) ...some other things - starts some programs - each after a delay of 3 (6) seconds - (some of them are probably scripts) such as firefox, xmms, emacs and then starts the window-manager "fluxbox"...then it changes the background once again (to black) - (why)?!

it will take at least 18 seconds until the window-manager fluxbox really gets started...

since there are absolute paths given in this script - it might work on another system, but more probable is, that it would fail!

The programs started by the script would need to exist - and would need to be in the same location as on the machine, the script was written for.
So: it is quite unique...


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
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 03:53 AM
How to call a script from a system startup script? jonatito Linux - Newbie 7 11-11-2005 10:40 PM
Startup script Larsza SUSE / openSUSE 7 10-21-2005 07:59 AM
Need help understanding script....? jmr0311 Mandriva 3 08-08-2004 08:42 AM
RH8 - Understanding the startup? itsjustme Red Hat 1 10-09-2003 11:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:41 AM.

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