so
ok let me say that I want this to be a very configurable fluxbox setup
I want it so if someone wants to run all the stuff or just some or none
they can
so, heres my present sloppy startup in ~/.fluxbox
Code:
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# You can set your favourite wallpaper here if you don't want
# to do it from your style.
#
# fbsetbg -f /home/user/pictures/wallpaper.png
#
# This sets a black background
/usr/bin/fbsetroot -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/user/.fonts"
#
# Your favourite mouse cursor:
# xsetroot -cursor_name right_ptr
#
# Change your keymap:
# xmodmap "/home/user/.Xmodmap"
# I did this so random wallpaper at each login (fbsetbg -h is help)
fbsetbg -r /usr/share/wallpapers
# 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 &
#rotate.sh &
conky -d &
fbpanel &
lxpanel &
systray-volume-control &
wmdrawer &
# 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/bin/fluxbox
# or if you want to keep a log:
# exec /usr/bin/fluxbox -log "/home/user/.fluxbox/log"
and heres my fluxbox menu which just makes it so livecd user can be root without logging out/passwd etc
Code:
[begin] (fluxbox)
[include] (~/.fluxbox/root-menu)
[include] (~/.fluxbox/magic-menu)
[include] (~/.fluxbox/fluxbox-menu)
[separator]
[include] (~/.fluxbox/hag-xrandr-menu)
[include] (~/.fluxbox/hag-baseconf-menu)
[separator]
[include] (~/.fluxbox/logout-menu)
[include] (~/.fluxbox/hag-exit-menu)
[end]
so, magic-menu is remastersys-installer, live-magic and unetbootin,etc
root-menu is for opening root apps like pcmanfm, terminal, gparted,etc
xrandr is you know
baseconf is this
Code:
[begin]
[submenu] (Wallpapers)
[wallpapers] (~/.wallpapers/) {fbsetbg}
[wallpapers] (/usr/share/wallpapers/) {fbsetbg}
[end]
[submenu] (Styles)
[stylesdir] (~/.fluxbox/styles)
[stylesdir] (/usr/share/fluxbox/styles)
[end]
[workspaces] (Workspaces)
[config] (Configuration)
[end]
heres menu pic
http://multidistro.com/deb/powerbox/menu2.png
and hag-exit-menu is very cool as it uses gtkdialog and nice
see here
http://multidistro.com/deb/powerbox/hagexit.png
the logout function wont work and I am too stupid to know why?
heres part of script hag-exit-fluxbox
Code:
case "$ACTION" in
'lock') xlock ;;
'logout') fluxbox-remote exit ;;
'hibernate') sudo hibernate --force ;;
'reboot') sudo shutdown -r now ;;
'shutdown') sudo shutdown -h now ;;
esac
the logout part dont work?!
so I had to make additional fluxbox menu entry
Code:
[begin]
[exit] (Logout)
[end]
LOL
thats how dumb I am as the answer is probably easier to fix script
anymore ideas gang/?