STARTFLUXBOX(1)

πŸ“¦
version 1.3.7+248+g5ba8c921 Β· 2 versions
  • 1.3.7+248+g5ba8c921 Β· alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.3.5 Β· debian bookworm, ubuntu jammy
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ STARTFLUXBOX β€” the fluxbox manual, but make it cute ✨

okay bestie, welcome to startfluxbox(1), straight out of the Fluxbox Manual πŸ’– this is the lil script that gets your whole fluxbox era started. no cap.


🌸 NAME 🌸

startfluxbox β€” literally just: start a fluxbox session πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

startfluxbox

that's it. that's the whole vibe. one word, no flags, main character energy ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so startfluxbox is a script, and what it does is run the file ~/.fluxbox/startup. and if that file doesn't exist? it just generates one for you. iconic behaviour honestly, it's giving "I got you babe" 🫢

you should be launching startfluxbox from your ~/.xinitrc if you're a startx girly, or from ~/.xsession if you're running a display manager like xdm. that's the whole thing fr fr.


πŸ’– FILES πŸ’–

  • ~/.fluxbox/startup β€” this file holds all the commands that should run before fluxbox starts. the initial version it makes for you comes with helpful comments for beginners (yes bestie, they wrote them for us πŸ˜­πŸ’•). and yes, it also starts fluxbox itself.

πŸ”₯ EXAMPLES πŸ”₯

the default ~/.fluxbox/startup looks exactly like this, no cap:

#!/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.

exec fluxbox
# or if you want to keep a log:
# exec fluxbox -log "$fluxdir/log"
okay so the important part: apps that keep running need that & at the end, and fluxbox is the last thing you run, so it gets exec in front of it. do not skip this, I'm begging πŸ™

now. if you wanna start applications after fluxbox (like, post-launch glow-up apps), you can change that exec fluxbox line to something like this:

exec fluxbox &
fbpid=$!

sleep 1
{
    xsetroot -cursor_name left_ptr -fg white -bg black &
    ipager &
    gkrellm2 &
} &

wait $fbpid

so what's happening here: xsetroot, ipager, and gkrellm2 all get started after fluxbox β€” and it gives fluxbox 1 second to startup first, because we're polite and we let the queen get ready πŸ’…βœ¨

want even more details on what else you can do in this script? go check sh(1), or the documentation for your shell. iykyk 🐚


πŸ‘‘ AUTHORS πŸ‘‘

the author of startfluxbox(1) is Han Boetes <han at fluxbox.org> πŸ’œ

and this manpage was converted to asciidoc format by Jim Ramsay <i.am at jimramsay.com> for fluxbox-1.1.2 🌈


🌟 SEE ALSO 🌟

  • fluxbox(1) β€” go read it bestie, it's the whole point πŸ¦‹

⭐ AUTHOR ⭐

Jim Ramsay <i.am@jimramsay.com>

  • Author. (yes, just "Author." β€” we love a minimal legend 😌)

🌸 okay that's the whole page, you ate that. now go start your session and slay πŸ’…

startfluxbox.txt β€” 08 February 2015 β€” that's the date, that's the file, that's the era πŸŽ€