Fluxbox Startup

Fluxbox Startup File
The Fluxbox startup file located at ~/.fluxbox/startup. This is where you can add programs to start upon entering Fluxbox. Simply add an entry, or comment out, anything you would like to use. Here is my startup file for comparison and ideas.

Copy and paste what you want, or replace yours with this one as it is user independant.

# fluxbox startup-script:
#
## Lines starting with a '#' are ignored.
# fbsetbg -f ~/pictures/wallpapers/sidux.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 "~/.fonts"
#
# 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 &

######### WM’S ##########

#wmclockmon &
#wmweather &
#wmmoonclock &
#wmdate &
#wmsmpmon &
#wmifinfo &
#wmmon &
#wmtimer &
#wmtop &

######### PAST ##########

#xfce4-mailwatch-plugin &
#xfce4-notes-plugin &
#gdeskcal &
#xmms &
#firestarter &
#gmail-notify &
#kpowersave &
#kopete &
#xscreensaver &
#pidgin &
#xfishtank &

######### TERMINAL ITEMS ##########

#exec /usr/bin/xfce4-terminal –geometry=32X10 –hide-borders –hide-menubar –hide-toolbars &
#xfce4-terminal –geometry=92X32 –hide-borders –hide-menubar –hide-toolbars -e “canto -u” &

######### Always #########

xfsettingsd &
checkgmail &
audacious &

######### Misc effects. ##########

#xcompmgr -c &
#xcompmgr -fF -I-.004 -O-.004 -D2 -cC -t-4 -l-6 -r6 &

#########
#xclock -digital -strftime %Y%m%d.%H%M -update 30 -geometry +960+0 &
#xdesktopwaves -c 5 -vs 5 -li 9 -nwm -si 4 -lal 50 -laz 0 -fr 75 -sf 2 &

#########
#xsnow -snowflakes 25 -windtimer 20 -nosanta -notrees -nokeepsnowonscreen -sc darkred -whirl 1 -xspeed 4 -yspeed 7 -wsnowdepth 25 &
#xsnow -snowflakes 350 -windtimer 20 -nosanta -notrees -nokeepsnowonscreen -nokeepsnowonwindows -sc darkcyan -whirl 1 -xspeed 4 -yspeed 7 &

######### CONKY #########

##conky &
conky -c ~/.scripts/bottom-conky/bottomconky &
conky -c ~/.scripts/fortunes &
conky -c ~/.scripts/conkyclock &
conky -c ~/.scripts/boxweather/conkyweather &
conky -c ~/.scripts/dictionary/dictionary &

######### NVIDIA #########

#nvidia-settings –load-config-only &
#nvidia-settings -a FSAAAppControlled=0 &
#nvidia-settings -a FSAA=5 &
#nvidia-settings -a LogAnisoAppControlled=0 &
#nvidia-settings -a LogAniso=3 &
#nvidia-settings -a TextureSharpen=1 &
#nvidia-settings -a InitialPixmapPlacement=2 &
#nvidia-settings -a GlyphCache=1 &
#nvidia-settings -a GPUOverclockingState=1 &
##nvidia-settings -a GPU2DClockFreqs=582,720 &
##nvidia-settings -a GPU3DClockFreqs=582,720 &
#nvidia-settings -a GPUScaling=1,2
#######GPUCurrentPerfLevel

########## PLAY STARTUP SOUND #########

#### (apt-get install sox first)####
#play ~/.fluxbox/sounds/login.wav > /dev/null 2>&1 &

########### START FLUXBOX! ###########

# 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 “~/.fluxbox/log”

Advertisements

5 comments

    1. There is a screenshot of my desktop on the first page about fluxbox, and all of the screen shots are of my personal desktop as it is used. All of this is a fee years old, though still relevant and useful. Hope you enjoyed my guides.

  1. Here’s mine,


    #!/bin/sh
    #
    # fluxbox startup-script:
    #
    # Lines starting with a '#' are ignored.

    #######################################################################
    # KEYMAPPING
    #######################################################################
    # Change your keymap:
    xmodmap "/home/deaddog/.Xmodmap"

    #######################################################################
    # ON LOAD
    #######################################################################
    # Applications you want to run with fluxbox.
    # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN ''&'' AT THE END.
    #
    # unclutter -idle 2 &
    # wmnd &
    wmweather &
    wmMoonClock &
    wmdrawer &

    #######################################################################
    # DEBIAN HACKING
    #######################################################################
    # Debian-local change:
    # - fbautostart has been added with a quick hack to check to see if it
    # exists. If it does, we'll start it up by default.
    which fbautostart > /dev/null
    if [ $? -eq 0 ]; then
    fbautostart
    fi

    #######################################################################
    # EXECUTE
    #######################################################################
    # And last but not least we start fluxbox.
    # Because it is the last app you have to run it with ''exec'' before
    # it.
    # This section commented out in favor of the AFTER LOAD method below.

    #exec fluxbox
    # or if you want to keep a log:
    # exec fluxbox -log "/home/deaddog/.fluxbox/log"

    #######################################################################
    # AFTER LOAD
    #######################################################################

    # Start Flux and let it run background, log it starting up.

    fluxbox -log "$HOME/.fluxbox/log" &

    # Give the Wait program a variable. This is a local variable, which
    # can accept a few different pointers. One group of programs starts
    # N of seconds, another group starts X seconds and so on.

    fbpid=$!

    # Load Tomboy ten seconds after Flux starts.
    # This is the first pointer, or group to load after Flux starts.

    sleep 10
    {
    # Applications you want to run after fluxbox has started
    # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
    # pluma &
    tomboy &
    } &

    # Give emacs ten more seconds then start it up.
    # Here is the second pointer, or group to start after Flux loads.

    sleep 20
    {
    # Applications you want to run after fluxbox has started
    # MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
    pluma &

    } &

    #######################################################################
    # !!! WAITER !!!!
    #######################################################################
    # Wait and then load applications listed above, after Flux starts.
    # This is also vital to keeping the X-server running as long as
    # Flux runs. DO NOT REMOVE LAST FOUR LINES HERE! THE XSERVER WILL
    # DROP IF YOU DO.

    wait $fbpid

    I’m considering knocking out the Window Maker weather and moon clock. Do not really use or, need using them. I used them as an experiment to see the slit in action. That left me under impressed. It is there and works if a need to use it exists. Not seeing any need though.

    I also have Mate desktop on here. Not been using it as it seems my memory is going bad, is bad. Might even continue using Flux once I upgrade, get new memory. It is a rather nice environment & can be expounded upon easily

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s