LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


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

Rep: Reputation: 15
Need help understanding script....?


Hi members of the forum. I will like to ask for some help understanding the different command lines in this script:
Quote:
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.

Javi
 
Old 08-07-2004, 06:14 PM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
first, don't crosspost or double post. It's incredibly rude.

Second, tell us what the man pages for "export" "fbsetbg" "exec" "sleep" "bsetbg", etc. etc. aren't telling you that you need to know, then maybe we can give you an intelligent answer.
 
Old 08-07-2004, 11:17 PM   #3
jmr0311
Member
 
Registered: Jul 2004
Location: Texas
Distribution: Mandriva 2006
Posts: 97

Original Poster
Rep: Reputation: 15
Sorry for the double post. it wasn't my intentions to be rude to the fellow members. The reason I'm asking is because I'm trying to run gdesklets automatically in my Fluxbox WM, but I can't get it to work. I read all the posible references I can find doing some google search. I being applying all the suggestions I found but nothing seems to work in my system. This is a snapshot of the startup file on my system;
Quote:
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
#
# You can set your favorite wallpaper here if you don't want
# to do it from your style.
#
fbsetbg -f /usr/share/fluxbox/backgrounds/Underwater.jpg
#
# This sets a black background
#
/usr/X11R6/bin/bsetroot -solid black
#
# This shows the fluxbox-splash-screen
# fbsetbg -C /usr/share/fluxbox/splash.jpg
#
# Other examples. Check man xset for details.
#
# Turn off beeps:
# xset -b
#
# Increase the keyboard repeat-rate:
# xset r rate 195 35
#
# Your own fonts-dir:
# xset +fp /home/zero/.font
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap ~/.Xmodmap
#
#
#
# Applications you want to run with fluxbox.
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
#
# unclutter -idle 2 &
# wmnd &
# wmsmixer -w &
# idesk &
gdeskcal &
# gaim &
Eterm -x -0 --trans --buttonbar 0 --scrollbar=off -f orange &
Eterm -x -0 --trans --buttonbar 0 --scrollbar=off -f orange &
# acme &
gdesklets &
#
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with ''exec'' before it.
exec /usr/X11R6/bin/fluxbox
# or if you want to keep a log:
# exec /usr/X11R6/bin/fluxbox -log /home/jmr0311/.fluxbox/log
I found that other sample of a startup script in my previous post while searching, but I want to know if I could use it in my system safely just to do a test, to see if the problem is the startup file I'm using. Any other suggestion is very welcome.

Javi
 
Old 08-08-2004, 08:42 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

FUP here: http://www.linuxquestions.org/questi...hreadid=214776
 
  


Closed Thread


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
help understanding ln dr_zayus69 Linux - General 3 01-14-2005 09:33 PM
Startup script, help understanding it..? jmr0311 Linux - Software 1 08-07-2004 06:59 PM
A better understanding! nny0000 Slackware 1 04-14-2004 01:01 PM
Understanding X?? ++ bdp Linux - General 2 02-25-2004 06:47 PM
Understanding df -k itsjustme Linux - General 6 10-28-2003 01:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:41 PM.

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