news download themes documentation links










  1. Getting Started
  2. Ultimate Guide to fluxbox Tabs
  3. Keybindings
  4. Setting Backgrounds
  5. The Slit
  6. Editing Your Menu
  7. The Basics of themes (styles) in Fluxbox


Setting the Fluxbox Background
  • How do I set backgrounds in fluxbox?
    Fluxbox, like blackbox, just has two wrapper utilities for this-- In fact, they're named the same as in blackbox. bsetroot and bsetbg. Let's see how they work.

  • bsetroot
    bsetroot is about the equivalent of xsetroot- It can set backgrounds as long as they're simple, like a solid color. bsetroot can also set gradients.

  • bsetbg
    bsetbg is a higher-level program, sort of. It's actually a wrapper to other utilities that can set backgrounds, such as wmsetbg, Esetroot, the 'display' program from ImageMagick, etc. When it's first run, it will create a ~/.fluxbox/bsetbg config file, which will set up which programs it can use. You can edit this at any time to select which to use. (NOTE: in order to use 'transparent' applications, such as Xchat and Eterm with transparency, You should use either wmsetbg or Esetroot.

  • Overriding theme defaults
    One of the shortcomings that blackbox has is that the background is totally dependant on the theme. Whenever you change your theme, you'd have whatever background the theme author thought right. A lot of people don't like this behavior. Well, fluxbox has a way to fix that. Add a line like this to your ~/.fluxbox/init file:
        session.screen0.rootCommand:    bsetbg -f ~/.fluxbox/backgrounds/zimdib_dark.png
    And whatever you have put there, will be your background, no matter what your theme's author has to say about it.




      



Got comments about the page? Send them to webmaster.
If you have general Fluxbox related questions ask them on our irc channel or mailing lists.

Show Source








Designed by aLEczapKA