Skip to content

Instantly share code, notes, and snippets.

@ngnguyen1
Created May 24, 2012 12:41
Show Gist options
  • Select an option

  • Save ngnguyen1/2781358 to your computer and use it in GitHub Desktop.

Select an option

Save ngnguyen1/2781358 to your computer and use it in GitHub Desktop.
startup-fluxbox
#!/bin/sh
#
# fluxbox startup-script:
#
# Lines starting with a '#' are ignored.
# Change your keymap:
xmodmap "$HOME/.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 &
# And last but not least we start fluxbox.
# Because it is the last app you have to run it with exec before it.
fluxbox &
fbpid=$!
sleep 1
{
# Applications you want to run after fluxbox has started
# MAKE SURE THAT APPS THAT KEEP RUNNING HAVE AN & AT THE END.
conky &
yakuake &
xfce4-panel &
} &
wait $fbpid
# or if you want to keep a log:
# exec fluxbox -log "$fluxdir/log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment