read at first this thread:
http://forum.tinycorelinux.net/index.php/topic,12154.msg65121.html#msg65121and dig into
www.fluxbox.orgthe startup-file has to be executable:
sudo chmod 700 ~/.fluxbox/startup
and i put startup into .xsession
~/.xsession:
~/.fluxbox/startup
so .xsession executes the startup-file
~/.fluxbox/startup:
#!/bin/sh
NETDEVICES="$(awk -F: '/eth.:|wlan.:|tr.:/{print $1}' /proc/net/dev 2>/dev/null)
if [ "`which wmcpuload`" ]; then
sudo killall wmcpuload
wmcpuload -bl -lc rgb:50/60/70 &
fi
if [ "`which wmnd`" ]; then
sudo killall wmnd
wmnd -i $NETDEVICES &
fi
if [ "`which wmnet`" ]; then
sudo killall wmnet
wmnet -wW $NETDEVICES &
fi
if [ "`which wmsmpmon`" ]; then
sudo killall wmsmpmon
wmsmpmon &
fi
~/.fluxbox/slitlist:
wmcpuload
wmnd
wmnet
wmsmpmon
~/.fluxbox/init:
session.startupFile: ~/.fluxbox/startup
session.slitlistFile: ~/.fluxbox/slitlist