X and Fluxbox :: Startup applications....
Ok, i've installed dsl on my laptops harddrive, all is going well and i've got linux pretty much figure out now, although there are a few things im unsure of.
In windows, any applications you want to run on start can be put into the registry, or start/programs/startup. How is this done in dsl? Its just so I can stick the battery monitor, and other dockable apps onto where the wmcpuload, wmmount, etc are.
Once again, i've been using linux for 2 days now? So I don't exactly know it inside out.
Edit your ~/xinitrc !
(this is mine xinitrc)
xset s off s noblank & #don't blank the screen
cp /cdrom/keep/scriptjes/.torsmorc /home/dsl & #run a script
cp /cdrom/keep/scriptjes/moon.jpg ~/.xplanet/images & #copy a jpg
sh /cdrom/keep/scriptjes/ipoutside.sh & # run a script
/usr/bin/wmcpuload -bl -n & #start wmcpuload and put it in the slit
/usr/X11R6/bin/wmnet -w & start wmnet and put it in the slit
/usr/bin/wmtop -s 100 -m -a 5 & # start wmtop and put it in the slit
/cdrom/keep/Dockable/usr/bin/wmclockmon & #start wmclockmon
/cdrom/keep/Dockable/usr/bin/wmsmixer -w &start wmmixer and put it in the slit
/cdrom/keep/Dockable/usr/bin/wmcdplay -w & #start wmcdplay
/usr/bin/wmbiff & #start wmiff
/usr/bin/wmifinfo -w & #start wmifinfo
/usr/bin/wmMatrix & #start wmMatrix
/usr/bin/wmdrawer & # start wmDrawer
sh /cdrom/keep/scriptjes/xplanetmoon & #run a script
#/usr/X11R6/bin/wmMoonClock -lat 51 -lon 5 &
/usr/bin/wmSun -lon 5 -lat 51 -td -1 & #run wmSun
/usr/bin/xsnow -whirl 2 -notrees -nosanta -norudolf & # run xsnow
/opt/fluxbox-0.9.11/bin/fluxbox #start fluxbox
Backup any changes you make to your system (in the file: /opt/filetool.lst and run the backup). Anything behind # is NOT executed
Genius! I guessed there would be a script somewhere, guess I just have to get used to this...been using windows for 10 years so this is a difficult transition...now to find how to write c++ apps...gcc is included in dsl isnt it?
it's in the repository... (http://www.ibiblio.org/pub/Linux/distributions/damnsmall/)
in http://www.ibiblio.org/pub/Linux/distributions/damnsmall/mydsl/system/
gcc1.dsl
download it and execute it from emelfm with the button myDSL
Speaking of gettting things to run before fluxbox, I've got a little script (written by milkshaw), which when run, changes the desktop background (pic chosen randomly from a folder). I tried adding the script line before and after the fluxbox load line in .xinitrc, but the background defaults to the one from the theme.
Any ideas?
Next Page...
original here.