FLUXBOX(1)

๐Ÿฆ‹ NAME ๐Ÿฆ‹

fluxbox โ€” a lightweight window manager for the X Windowing System. Welcome to the Fluxbox Manual, bestie; this is the whole vibe. ๐Ÿ’…โœจ

โœจ SYNOPSIS โœจ

okay so the shape of the command is literally:

fluxbox [-rc rcfile] [-no-slit] [-no-toolbar] [-log logfile] [-display
       display] [-screen all|scr,scr...] [-verbose] [-sync]

fluxbox [-v | -version] | [-h | -help] | [-i | -info] | [-list-commands]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so fluxbox(1) is a window manager, periodt. That means it gives you configurable window decorations, a root menu to launch applications, and a toolbar that shows the current workspace name, a set of application names, and the current time. Thereโ€™s also a workspace menu to add or remove workspaces. ๐Ÿ’–

Fluxbox can iconify (or minimize) windows to the toolbar โ€” one click and they reappear. A double-click on the titlebar of the window will shade it; i.e. the window will disappear, and only the titlebar will remain visible. โœจ

There are also two areas commonly used by small applets: the slit can be used to dock small applications; e.g. most of the โ€œbbtoolsโ€ and โ€œWindow Maker dockappsโ€ can use the slit, and the systray which lives in the toolbar supports standard system tray icons provided by some applications. ๐Ÿซถ

Fluxbox uses its own graphics class to render its images on the fly. By using style files, you can determine in great detail how your desktop looks. fluxbox styles are compatible with those of Blackbox 0.65 or earlier versions, so users migrating can still use their current favourite themes. ๐ŸŽ€

Most of the default keyboard and mouse button actions mentioned in this manual can be changed and configured in the keys file. This powerful configuration file can also be used to automate almost any action you may want to perform, from launching applications to moving windows around the screen. See fluxbox-keys(5) for details. ๐Ÿฆ‹

Fluxbox can also remember certain attributes of individual application windows and restore these settings the next time the window opens. See the fluxbox-apps(5) for details. ๐Ÿ‘‘

Fluxbox supports the majority of the Extended Window Manager Hints (EWMH) specification, as well as numerous other Window Hinting standards. This allows all compliant window managers to provide a common interface to standard features used by applications and desktop utilities. ๐Ÿ”ฅ

๐Ÿ’… OPTIONS ๐Ÿ’…

  • -display display โ€” Start fluxbox on the specified display. Programs started by fluxbox will share the DISPLAY environment variable also. ๐Ÿ’–
  • -h, -help โ€” Display command line options. โœจ
  • -i, -info โ€” Display useful information concerning the defaults and compiled-in options. ๐Ÿงš
  • -log logfile โ€” Starting fluxbox with this option will designate a file in which you want to log events to. ๐Ÿ“
  • -no-slit โ€” Do not use the container for DockApps (aka the Slit). ๐Ÿšซ
  • -no-toolbar โ€” Do not use the toolbar. ๐Ÿšซ
  • -rc rcfile โ€” Use a different config file other than the default ~/.fluxbox/init. ๐Ÿ’…
  • -v, -version โ€” The version of fluxbox installed. ๐Ÿ‘‘
  • -screen all|scr,scr... โ€” Run on specified screens only or all (by default). ๐ŸŒˆ
  • -verbose โ€” Print more information in process. ๐Ÿ—ฃ๏ธ
  • -sync โ€” Synchronize with the X server for debugging. ๐Ÿงš
  • -list-commands โ€” Lists all available internal commands. ๐Ÿ“œ

๐Ÿš€ STARTING FLUXBOX ๐Ÿš€

okay so fluxbox(1) comes with a program called startfluxbox(1) usually located wherever you installed fluxbox. This script gives you many options and variables that can be set when starting fluxbox. To actually call fluxbox and begin using it, you should place exec startfluxbox in your ~/.xinitrc as the last executed command. This is assuming that the location of fluxbox(1) and startfluxbox(1) are in your shellโ€™s $PATH. Also note that you may need to create the ~/.xinitrc file or your setup may use ~/.xsession instead, depending on your X setup. Some X login managers like gdm(1) or kdm(1) may simply provide a โ€œFluxboxโ€ session for you without having to alter any settings. ๐Ÿ˜ญ

By using fluxbox -i youโ€™ll see the defaults used by fluxbox(1). These are what fluxbox looks for upon startup. In the list of โ€œDefaults:โ€ youโ€™ll see a menu file location; this is where you can provide a system-wide menu file for your users. ๐Ÿ‘‘

On exit or restart, fluxbox will save user defaults in the file ~/.fluxbox/init. Resources in this file can also be edited by hand โ€” see the RESOURCES section for more details. fluxbox(1) also has many tools to edit these; look through the main menu once fluxbox has started to find different ways of managing your session. ๐Ÿ’œ

๐Ÿ’… USING FLUXBOX ๐Ÿ’…

okay so bestie, first time opening fluxbox and you're coming from KDE or GNOME? you're gonna look at your screen and be like "...where is everything ๐Ÿ˜ญ". that's not a bug, that's the whole vibe. fluxbox is built to be fast and powerful, so it takes a hot sec to get used to โ€” but trust, the payoff is so worth it. ๐Ÿซถ

this section is the quick-and-dirty rundown of the everyday stuff. but fr, go read the referenced sections later to actually level up your fluxbox knowledge, iykyk.

๐ŸŒธ Root Window (Main) ๐ŸŒธ

look at your brand-new fluxbox desktop and honestly? you'll see exactly one thing: the toolbar. that's it. that's the whole aesthetic. โœจ

right-click (mouse button 3) anywhere on the desktop and boom โ€” the Root Menu is right there. middle-click (mouse button 2) on the desktop and you get the Workspace Menu. iconic.

๐ŸŽ€ Root Menu and Workspace Menu ๐ŸŽ€

from the RootMenu you can launch apps and configure fluxbox. the WorkspaceMenu shows you all your windows and which workspaces they're chillin' on. want to customize these? head to the MENUS section, bestie.

๐Ÿฆ‹ Toolbar ๐Ÿฆ‹

the toolbar can hold literally any combo of these tools, and by default they go in this order:

  • Workspace Name: the name of the workspace you're currently looking at
  • Workspace Arrows: previous/next workspace
  • Iconbar: the list of windows fluxbox is managing
  • Window Arrows: previous/next application window
  • System Tray: the area for applets
  • Clock: date and time
  • Button._<name>_: a generic button with a customizable label and mouse actions

you can configure what's in the toolbar and how it behaves โ€” the TOOLBAR section below has the deets.

๐Ÿงš Slit ๐Ÿงš

so at first you literally cannot see the slit. it is there, it's just not being used yet โ€” and yeah, that confuses pretty much everyone at first, no cap. think of it as a dock where you park smaller programs. ๐Ÿšข

if you've peeked at screenshots on the official fluxbox web site, you probably noticed lil' programs hanging out on the edge of the screen โ€” those were almost definitely docked programs sitting in the slit. we've got a whole SLIT section below going into all your options, because we're thorough like that.

๐Ÿ’œ Layers ๐Ÿ’œ

fluxbox manages these layers, from highest to lowest:

  • Above Dock
  • Dock
  • Top
  • Normal
  • Bottom
  • Desktop

windows on a higher layer always appear above windows on a lower one. periodt. these layers work on application windows, the slit, and the toolbar. you can assign apps to a layer by specifying it in the apps file or through the WindowMenu. we talk about the apps file in fluxbox-apps(5), the WindowMenu in the MENUS section, and layers in way more detail in the LAYERS section. ๐Ÿ’…

โญ Focus Model โญ

the window that "has the focus" is the one getting all the key and mouse events โ€” it's giving main character energy, basically. ๐Ÿ‘‘ you can pick your focus model from the Configuration menu inside the root menu. we break down the different types of focus in the FOCUS MODEL section below.

๐ŸŒˆ Windows ๐ŸŒˆ

  • left-click (mouse button 1) anywhere on a window's border and it raises. drag it and you're moving the window across the desktop. ๐Ÿ–๏ธ
  • right-click and drag on the border resizes the window. dragging the resize grips on the left and right bottom corners also resizes it, slay.
  • middle-click on a border or titlebar and it lowers the window immediately.
  • right-click on the titlebar and the Window menu pops up. the commands that are unique to this menu are covered in detail in the Window Menu section.

๐Ÿ“ Tabs ๐Ÿ“

fluxbox lets you 'group' windows: middle-click and hold on a window's tab, then drag it onto another window. that 'tabbing' thing means you can stack multiple applications in one spot on the desktop and then do several operations (moving, resizing, etc.) to all the windows in the group at once. multitasking icon behavior honestly. โœจ

by default tabs sit just above the window, but they can be embedded in the titlebar or moved to other spots on the outside of the window. configuration is covered in the TAB OPTIONS section.

you can also set up automatic grouping using the apps file โ€” check GROUP SECTIONS in fluxbox-apps(5) for the details.

๐Ÿ”ฅ Key Bindings ๐Ÿ”ฅ

there are a bunch of key bindings set up by default, and you can configure and extend them to just about anything you can dream up with a keyboard. fluxbox-keys(5) has the how-to.

the default bindings fluxbox gives you are:

Mouse clicks on the empty desktop:

  • Left-click (Button 1): hides all fluxbox menus
  • Middle-click (Button 2): shows the Workspace Menu
  • Right-click (Button 3): shows the Root Menu
  • Scroll wheel (Buttons 4 and 5): jump to the previous/next workspace

Mouse gestures on a window:

  • ALT+Drag Left-click anywhere on a window moves the window.
  • ALT+Drag Right-click anywhere on a window resizes the window.
  • ALT+Middle-click anywhere on a window lowers the current window.

Mouse gestures on a window's titlebar:

  • CTRL+Drag Left-click on a window's titlebar lets you drag to attach the window to another's tab group
  • Double Left-click on a window's titlebar shades the window
  • Middle-click on a window's titlebar lowers the window
  • Right-click on a window's titlebar pops up the Window Menu

Mouse gestures on the toolbar:

  • Scroll wheel on the toolbar cycles through windows

Keyboard bindings:

  • ALT+Tab / ALT+Shift+Tab: Cycle through windows
  • WIN+Tab / WIN+Shift+Tab: Cycle through tabs
  • WIN+1 - WIN+9: Select the 1st โ†’ 9th tab in the current window
  • ALT+F1: Run xterm(1) to open a new terminal
  • ALT+F2: Run fbrun(1) for a small "run program" dialog
  • ALT+F4: Close the current window
  • ALT+F5: Kill the current window (like xkill(1))
  • ALT+F9: Minimize (iconify) the current window
  • ALT+F10: Maximize the current window
  • ALT+F11: Full-screen the current window
  • ALT+Space: Open the Window Menu
  • CTRL+ALT+Del: Exit fluxbox (log out)
  • CTRL+ALT+Left / CTRL+ALT+Right: Go to the previous/next workspace
  • WIN+Left / WIN+Right: Send the current window to the previous/next workspace, but remain on this workspace
  • CTRL+WIN+Left / CTRL+WIN+Right: Take the current window to the previous/next workspace, and switch to that workspace
  • CTRL+F1 - CTRL+F12: Switch to the 1st โ†’ 12th workspace
  • WIN+F1 - WIN+F12: Send the current window to a specific workspace
  • CTRL+WIN+F1 - CTRL+WIN+F12: Take the current window to a specific workspace

okay so fluxbox has this whole popup menu situation and honestly it ate โ€” it powers a few different types of native menus, and once you get the hang of it you'll be navigating like a main character โœจ

When a menu is open, you can just click on items with the mouse to activate them. Some special menu items react a lil differently depending on which mouse button you use, but 99% of the time you want a left-click (button 1) ๐Ÿซถ

You can also use the keyboard arrow keys to navigate, or literally just type the first few letters of the item's label to select it, then hit "enter" to activate it. iykyk ๐Ÿ’…

Normally activating a menu item should close the menu. You can also right-click the title area of a menu, or press "esc", to close it without activating anything. no accidental launches, we love to see it.


๐ŸŽ€ Root Menu

The root menu is the moment โ€” it's where you launch commonly-used applications and change different aspects of fluxbox just by clicking a menu item. By default it opens when you right-click on the empty area of the desktop. iconic behavior.

The contents of this menu can be configured, see fluxbox-menu(5) for deets.

The default menu (which gets created by the fluxbox-generate_menu command) contains menus for installed applications, plus a special "Fluxbox menu" item with all the goodies below:

  • Configure โ€” the next level under this menu is where you set certain resources and really begin to customize the look and feel of your desktop. See the Configure Menu section below for more ๐Ÿ’–
  • System Styles โ€” this is where the standard styles are listed. Select one by clicking it and it gets applied immediately. System styles live in /usr/share/fluxbox/styles/ on a default install. Remember you can confirm this with fluxbox -i โœจ
    • User Styles โ€” this is where your custom styles are listed. It lists any styles from ~/.fluxbox/styles/, which might be styles you grabbed from the Internet or your own custom ones, as long as you follow the standards described in fluxbox-style(5).
  • Workspace List โ€” same as the Workspace Menu detailed below.
  • Tools โ€” listed here are different tools you can use: rename your workspace, run programs from a command line, or regenerate your menu. very handy bestie.
  • Window Managers โ€” lets you switch your window manager. (Only listed if you have other window managers/desktop environments installed.)
  • Lock Screen โ€” locks the screen, if a suitable locking program has been detected ๐Ÿ”’
  • Fluxbox Command โ€” a little commandline pops up where you can enter a fluxbox command. These commands are the same as those detailed in fluxbox-keys(5).
  • Reload config โ€” use this to reload the fluxbox configuration files. You must do this after editing the keys file, the init file, or the current style.
  • Restart โ€” restart the whole darn thing. This starts a completely new fluxbox process, rereads files, and redraws all graphical elements. Running applications will remain open though, and get restored to the same workspaces they were previously in once fluxbox returns ๐Ÿ‘‘
  • Exit โ€” exits fluxbox, which in turn either shuts down the X Window server or returns you to the graphical login screen.

๐Ÿฆ‹ Configuration Menu

This menu offers the opportunity to set up fluxbox. It contains many options which you can alter manually in the init file, but this is the easier and faster way to change the most common settings. All changes take effect immediately. no cap.

  • Focus Model โ€” lets you configure the window focus model. For details, see FOCUS MODEL, below.
  • Maximize Options โ€” lets you configure what happens when you maximize a window. The four options are:
    • Full Maximization: normally, a maximized window will not overlap the toolbar, slit, or any docked windows (like panels). Enabling this option allows maximized windows to be as large as the actual screen resolution.
    • Ignore Resize Increment: normally, terminal windows specify a "resize increment" which means fluxbox will only resize the window to an even multiple of the character size. Enabling this option ignores that specification when maximizing.
    • Disable Moving / Disable Resizing: normally, maximized windows can still be moved and resized. Enabling these options prevents these behaviour. ๐Ÿซถ
  • Tab Options โ€” lets you configure the properties of tabs. Detailed in TAB OPTIONS, below.
  • Slit โ€” this menu can also be found by right-clicking the slit (if visible). More info about its options in the Slit Menu section, below.
  • Toolbar โ€” this menu can also be found by right-clicking any non-icon part of the toolbar. More info in the Toolbar Menu section, below.
  • Transparency โ€” this sets the default transparency for a focused window, an unfocused window, and the menu. Use the left mouse button to decrease and the right mouse button to increase the value. 0 is invisible, 255 is not transparent at all. The transparency of individual application windows can be overridden in the apps file (fluxbox-apps(5)). The Force Pseudo Transparency option will force fluxbox to ignore the xcomposite extension and use pseudo-transparency instead of true transparency.
Note: when pseudo-transparency is on, the transparency values here only affect titlebars, not window contents. just so u know ๐Ÿ’€
  • Opaque Window Moving โ€” if enabled, you'll see the window content while dragging it. Otherwise only an outline of the window is shown.
  • Opaque Window Resizing โ€” if enabled, you'll see the window content while resizing it. Otherwise only an outline of the window is shown.
  • Workspace Warping โ€” if enabled, you can drag windows from one workspace to another ๐ŸŒˆ There are parameters to set independently whether this warping happens horizontally and/or vertically, and in each direction you can set the number of workspaces to jump when warping (to allow for a virtual rectangular grid of workspaces). When warping, lower-numbered workspaces are above/to the left, and higher-numbered workspaces below/to the right.

๐Ÿ’œ Window Menu

The Window menu is displayed when you right-click on the titlebar of a window. To customize this menu, see the WINDOW MENU section of fluxbox-menu(5).

By default, this menu contains:

  • Shade โ€” shade the window (display the titlebar only).
  • Stick โ€” (Un)Stick window. A 'stuck' window will always be displayed on all workspaces.
  • Send To... โ€” send window to another workspace. When you select the workspace with a middle click, fluxbox will send you along with the application to the selected workspace ๐Ÿซถ
  • Maximize โ€” (Un)Maximize window. Depending on your toolbar and slit configuration, maximize may cover them. You can use the different mouse buttons for different aspects of the maximize function.
    • Button 1 (Un)Maximize as normal.
    • Button 2 (Un)Maximize window vertically.
    • Button 3 (Un)Maximize window horizontally.
  • Iconify โ€” iconify (or minimize) a window. The 'icon' can be found in the Icons submenu of the workspace menu, as well as in the toolbar (if a Toolbar mode showing Icons is selected).
  • Raise โ€” raise the window above all others in the same layer.
  • Lower โ€” lower the window below all others in the same layer.
  • Layer... โ€” change the layer of this window. See LAYERS for more details.
  • Transparency โ€” change this window's transparency, overriding the defaults from the Configuration Menu.
  • Remember... โ€” specify which window settings should be stored in the apps file and resumed the next time this window is opened. Specifically, the settings you may store are:
    • Workpace: open this in the same workspace as where the window currently resides. (yes that's spelled exactly like that in the menu, we don't question it ๐Ÿ’€)
    • Jump to workspace: when Workspace is selected, fluxbox will jump to the appropriate workspace when this window is opened there. If not selected, the window will open in the background.
    • Head: for xinerama users only โ€” start this window on the current head (or screen).
    • Dimensions: record the current window height and width.
    • Position: record the current X and Y coordinates of the window.
    • Sticky: record whether the window is on all desktops, or not.
    • Decorations: record the current set of decorations (title bar, grips, tabs, etc) on the window.
    • Shaded: record whether the window is shaded (or rolled-up) or not.
    • Minimized: record whether the window is iconified (or minimized) or not.
    • Maximized: record whether the window is maximized or not.
    • Fullscreen: record whether the window is in fullscreen mode or not.
    • Transparency: record the current Transparency settings.
    • Layer: record the current layer.
    • Save on close: if selected, any of the above items which are also selected will be updated with the window's current values as it is closed.

These are covered in more detail in fluxbox-apps(5) โœจ

  • Close โ€” close the application softly. gentle queen behavior.
  • Kill โ€” kill the window's parent process, like xkill(1). not so gentle ๐Ÿ˜ญ

๐Ÿ“ Workspace Menu

The workspace menu can be found, by default, by middle-clicking on the background. This menu contains entries to explore the currently defined workspaces, windows, and add/remove/rename workspaces. it's giving control center fr fr.

  • Icons โ€” this menu shows any iconified (or minimized) windows. Clicking on a window in this menu will raise it on the current workspace.
  • Workspaces โ€” the next section provides one submenu per workspace. Middle-clicking on a workspace name will take you to that workspace. The submenu contains a list of all open windows on that workspace. Clicking on a window name will take you to that window and raise it, changing the active workspace if necessary.
  • New Workspace โ€” this entry adds a new workspace to the end of the list of current workspaces.
  • Edit current workspace name โ€” pops up a dialog to enter a new name for the current workspace ๐ŸŒธ
  • Remove Last โ€” remove the last workspace in the list. Any windows currently open there will be sent to the next-to-last workspace.

โœจ TOOLBAR โœจ

Ok so bestie, the toolbar is this little area that displays info like a clock, workspace name, a system tray, or a taskbar (iconbar) that can contain your running programs. The color, look, font, etc. is defined in the STYLE.

The tools in the toolbar can be enabled/disabled in the init file with the session.screen0.toolbar.tools resource. See the RESOURCES section for the details on how to alter that value.

The possible tools are:

  • Clock โ€” shows an area to display a clock and the date according to the format specification listed in man strtftime.
  • Button.<name> โ€” displays a clickable label with custom text.
  • Iconbar โ€” the area that contains all windows (all running applications, all minimized windows or maybe no window, all depending on the Toolbar Settings).
  • Systemtray โ€” can hold applications that are made to use it.
  • WorkspaceName โ€” displays the name of the current workspace. Also, you can switch to the workspace left of the current one with a left click and to the workspace right of the current one with a right click.
  • PrevWorkspace โ€” displays an arrow that lets you switch to the workspace left of the current one.
  • NextWorkspace โ€” displays an arrow that lets you switch to the workspace right of the current one.
  • PrevWindow โ€” displays an arrow that switches focus to the previous visible window on the current workspace.
  • NextWindow โ€” displays an arrow that switches focus to the next visible window on the current workspace.

Other aspects of the toolbar can be configured in two ways: through the toolbar menu, which is accessible in the Configuration part of the RootMenu or with a middle click on the edge the toolbar, or by editing the init file (see the RESOURCES section for more information about that).

๐Ÿ› ๏ธ Toolbar Menu ๐Ÿ› ๏ธ

This menu can be opened by right-clicking on the toolbar (though not on a windowโ€™s name in the iconbar), or from the Configuration Menu.

All changes take effect immediately. Here are the settings:

  • Visible โ€” sets the toolbar either to visible or invisible.
  • Auto hide โ€” if this is enabled the toolbar will disappear after a defined time when the mouse pointer leaves the toolbar. It will slide in when the cursor hits the remaining edge of the toolbar. See the session.autoRaiseDelay resource for the delay time.
  • Auto raise โ€” if this is enabled the toolbar will elevate after a defined time when the mouse pointer enters it. It will fall back when the cursor leaves the toolbar. See the session.autoRaiseDelay resource for the delay time.
  • Toolbar width percentage โ€” sets the width of the toolbar in a percentage of your total screen size. Use the left mouse button to decrease and the right mouse button to increase the value. The value can be from 1-100.
  • Maximize Over โ€” enabling this option will allow windows to maximize over the toolbar. With this switched on they will only expand to the edge of the bar. This option may be overridden by the โ€œFull Maximizationโ€ from the Configuration Menu. If that option is enabled, this option will have no effect.
  • Layer... โ€” sets the layer on which the toolbar is set. With this you can set the toolbar to โ€œAlways on topโ€.
  • Placement โ€” sets the toolbar to any edge of the screen, either centered or aligned with a corner.
  • Alpha โ€” sets the alpha value for the toolbar. Use the left mouse button to decrease and the right mouse button to increase the value. 0 is invisible, 255 is not transparent at all.
  • Iconbar Mode โ€” specifies various modes of the iconbarโ€™s operation.
    • The first section outlines what types of windows will be shown in the iconbar:
      • None: will not show any windows.
      • Icons: shows windows from all workspaces that are iconified (or, minimized).
      • NoIcons: shows windows from all workspaces that are not iconified.
      • WorkspaceIcons: shows windows from the current workspace that are iconified.
      • WorkspaceNoIcons: shows windows from the current workspace that are not iconified.
      • Workspace: shows all windows (iconified or not) from the current workspace.
      • All Windows: shows all windows (iconified or not) from all workspaces.
    • The next section specifies the alignment of the window names shown in the iconbar. The width is specified via the session.screen0.iconbar.iconWidth resource:
      • Left: all icons will be left-aligned with the width set in the init file.
      • Relative: all icons will be sized evenly to fill the iconbar completely.
      • RelativeSmart: all icons will initially be sized evenly, but icons with long titles will be larger.
      • Right: all icons will be right-aligned with the width set in the init file.
    • The last option in this submenu is:
      • Show Pictures: if enabled the iconbar will show the applicationโ€™s icon (if provided by the application).
  • Clock โ€” lets you switch between the 00:00am - 11:59pm and 00:00 - 23:59 notation.
  • Edit Clock Format โ€” clicking this entry will pop up a dialog window in which the clock format can be set according to man strftime (or man date).

๐ŸŒธ FOCUS MODEL ๐ŸŒธ

The Focus Model defines how windows gain focus (i.e. become the active window, which receives keyboard and mouse events). The focus model can be changed in the configuration menu (usually located under the fluxbox menu in the Root Menu).

There are two main aspects of the focus model: how windows gain focus and how tabs gain focus. Each of these has two options: focus follows mouse and click to focus. Focus follows mouse means that windows will gain focus when the mouse hovers over them. Click to focus means that windows will gain focus when the mouse clicks on them.

So, there are four main options when choosing a focus model. You should choose one of the first two and one of the last two. They are:

  • Click To Focus โ€” click to focus windows.
  • Mouse Focus โ€” window focus follows mouse.
  • Mouse Focus (Strict) โ€” like Mouse Focus, but no mouse movement is required, ie. the window is also focused if it moves below the mouse, eg. because it shows up or you change the virtual desktop.
  • ClickTabFocus โ€” click to focus tabs.
  • MouseTabFocus โ€” tab focus follows mouse.

There are three more settings in the โ€œFocus Modelโ€ menu:

  • Focus New Windows โ€” if enabled, a new window will grab X focus as soon as it is opened.
  • Auto Raise โ€” if enabled, focusing on a new window will automatically raise that window above all others within its layer. When disabled, you must explicitly raise a focused window using the window menu, keybinding, or Click Raises.
  • Click Raises โ€” if enabled, clicking anywhere on a window will raise it above all others within its layer.

๐ŸŽ€ TAB OPTIONS ๐ŸŽ€

This section of fluxbox configuration menu lets you configure many features of tabs. Inside of it there are three main options:

  • Placement โ€” you can choose where the external tabs will be positioned relative to the window. For these options to work, Tabs in Titlebar must be off.
  • Tabs in Titlebar โ€” when this option is on, tabs are fixed in window titlebar and the width varies according to the amount of windows grouped.
  • Maximize Over โ€” when this option is on, maximizing a window will disregard the size and location of external tabs, which means they may be pushed out of the screen entirely.
  • External Tab Width โ€” this specifies in pixels the width of external tabs.

๐Ÿฆ‹ STYLES ๐Ÿฆ‹

fluxbox enables you to use specialized files that contain X(1) resources to specify colors, textures, pixmaps and fonts, and thus the overall look of your window borders, menus and the toolbar.

The default installation of fluxbox provides some of these style files. See fluxbox-style(5) to accommodate the growing number of style components.

๐ŸŒˆ Style Overlay ๐ŸŒˆ

In addition to the style file, the overlay file, whose location is specified by session.screen0.styleOverlay (default: ~/.fluxbox/overlay) can be used to set style resources that override all styles. For more information about which parts of fluxbox can be controlled by the overlay file, see fluxbox-style(5).

๐Ÿ’… THE SLIT ๐Ÿ’…

okay so bestie, the slit is this special little fluxbox window frame that can hold dockable applications โ€” think โ€œbbtoolsโ€ or โ€œwindow maker dockappsโ€ vibes. ๐Ÿซถ

When apps run in the slit, they have no window borders of their own โ€” instead they get framed in the slit, and theyโ€™re always visible in the current workspace. iconic behavior, honestly.

Most dockable apps use the -w option to run in the slit. For example, you could put this in your ~/.fluxbox/startup:

bbmail -w &
bbpager -w &
wmdrawer &
exec fluxbox

To use the slit you must have it compiled into fluxbox. Thatโ€™s the default setting, so slay. โœจ

Slit Menu ๐ŸŽ€

This menu opens when you right-click on the slit โ€” though not on an application running within the slit โ€” or from the Configuration Menu.

All changes take effect immediately. Here are the settings:

  • Placement โ€” lets you set the position of the slit.
  • Layer โ€” see LAYERS for details on the layer order.
  • Auto hide โ€” if enabled, the slit will disappear after a defined time when the mouse pointer leaves the slit. It will slide in when the cursor hits the remaining edge of the slit. See the session.autoRaiseDelay resource for the delay time.
  • Auto raise โ€” if enabled, the slit will elevate after a defined time when the mouse pointer enters it. It will fall back when the cursor leaves the slit. See the session.autoRaiseDelay resource for the delay time.
  • Maximize Over โ€” enabling this option will allow windows to maximize over the slit. With this switched off they will only expand to the edge of the slit. This option may be overridden by the โ€œFull Maximizationโ€ from the Configuration Menu. If that option is enabled, this option will have no effect.
  • Alpha โ€” this sets the alpha value for the slit. Use the left mouse button to decrease and the right mouse button to increase the value. 0 is invisible, 255 is not transparent at all.
  • Clients โ€” this submenu lets you reorder the applications running in the slit. You are able to hide apps from the slit by unselecting them in the list showing. This will not kill the app. You can make them re-appear by selecting them in the list. The โ€œSave SlitListโ€ option saves the new order to your slitlist located in ~/.fluxbox/slitlist. See the next section for details.

Slitlist File ๐Ÿฆ‹

fluxboxโ€™s slitlist file is available for those that use dockapps in the slit. This file helps fluxbox keep track of the order of the dockapps when in the slit. The file is generally located at ~/.fluxbox/slitlist.

A simple procedure for getting the slit sequences the way you like it is:

  1. Run fluxbox with no pre-loaded dockapps
  2. Run dockapps individually in the order you want them
  3. Add dockapps to your startfluxbox(1) script

This sequence will be saved by default to ~/.fluxbox/slitlist and will be remembered for future instances of fluxbox.

Users are free to manually edit the slitlist file. It is a simple list of window names, as given by xprop(1), one per dockapp. Similar to the init file, it should not be edited while fluxbox is running. Otherwise changes may get overwritten.

The user also has the option of choosing a different path for the slitlist file, by setting the session.session0.slitlistFile resource.


๐ŸŒˆ LAYERS ๐ŸŒˆ

Layers affect the way windows overlap each other on the screen. Windows on a higher layer will always appear above those on a lower one, whether they are focused or not. Fluxbox uses 13 layers, starting from 1 (highest). no cap.

There are two ways to assign a window to a different layer. When the window is open, you may select the layer in the Layer ... submenu of the window menu. The menu gives six choices for the layer, which fluxbox manages by name. The names are (from highest to lowest layer):

  • 2 - Above Dock
  • 4 - Dock
  • 6 - Top
  • 8 - Normal
  • 10 - Bottom
  • 12 - Desktop

The other way to set the layer for a window is through the apps file. This method is described in fluxbox-apps(5).


โœจ RESOURCES โœจ

Usually the ~/.fluxbox/init resource file is created and maintained by fluxbox itself. You can use the Configure Menu, mentioned above, to set most of these options. However, weโ€™ll cover all of the resource options that are available to the user. If you edit this file while fluxbox is running, you must โ€œreconfigureโ€ to reload the resource options. periodt. ๐Ÿ’…

When running fluxbox in a multiple-screen environment the screen0 key can also be screen1, screen2, to customize the behavior of fluxbox on each desktop accordingly. Here are the resources that are currently available:

  • session.screen0.window.{focus|unfocus}.alpha: integer โ€” these resources are available to the user to set different levels of transparency for different components of fluxbox. Each one accepts a value between 0-255, 255 being opaque and 0 being completely transparent.

Default: 255

  • session.screen0.{slit|toolbar}.autoHide: boolean โ€” the autoHide resources allow the user to set the behavior of the toolbar and slit. This behavior can be that they disappear when they are not being used actively by the user, or they remain visible at all times.

Default: False

  • session.screen0.{slit|toolbar}.autoRaise: boolean โ€” if enabled, the respective item will elevate to the AboveDock layer when entered and fall back to its regular layer when left. Notice that this does not implicitly alter the itemโ€™s regular layer or the workspace padding, ie. if the item is already set to AboveDock this does nothing and if a maximized window completely covers the item you wonโ€™t be able to enter, thus elevate it.

Default: False

  • session.screen0.{slit|toolbar}.layer: layer โ€” with these two resources, you can set the layer you want the toolbar and the slit to appear on. Please read the LAYER section for more information.

Default: Dock

  • session.screen0.{slit|toolbar}.placement: placement โ€” these allow users to place the slit and toolbar where they like.

Possible options are: BottomLeft BottomCenter BottomRight LeftBottom LeftCenter LeftTop RightBottom RightCenter RightTop TopLeft TopCenter TopRight

Slit default: RightBottom

Toolbar default: BottomCenter

  • session.screen0.{slit|toolbar|tabs}.maxOver: boolean โ€” setting these to True will allow application windows to maximize over the complete screen. Setting to False allows the slit, toolbar, and external tabs to hold their territory and will always be visible when an application is maximized.

Default: False

  • session.screen0.toolbar.height: integer โ€” set the height of the toolbar. If the value is set to 0, the style file will gain control over the toolbar height. It is possible to set a fixed height by changing this value to something greater than 0.

Default: 0

  • session.screen0.toolbar.visible: boolean โ€” the user can set whether they want to have a toolbar on screen at all. Setting to False removes the toolbar from the screen.

Default: True

  • session.screen0.toolbar.widthPercent: integer โ€” this resource sets the width percentage of the toolbar on the screen.

Default: 100

  • session.screen0.toolbar.tools: tools โ€” this resource specifies the tools plugged into the toolbar. Read the TOOLBAR section in this manual for a description of each of these. They may be specified in any order, delimited by the , character. They will appear in the order given.

Possible tools: clock iconbar nextwindow prevwindow nextworkspace prevworkspace systemtray workspacename button.<name>

Default: workspacename, prevworkspace, nextworkspace, iconbar, prevwindow, nextwindow, systemtray, clock

  • session.screen0.{slit|toolbar}.onhead: integer โ€” for those that use xinerama, users can set this value to the number of the head where they would like to see the slit and toolbar, starting from 1. Setting this to 0 will ignore xinerama information.

Default: 0 for slit, 1 for toolbar

  • session.screen0.iconbar.mode: pattern โ€” this determines which windows will be displayed in the iconbar. Any window pattern is acceptable. See the section CLIENT PATTERNS in either fluxbox-keys(5) or fluxbox-apps(5) for details.

Default: {static groups} (workspace)

  • session.screen0.iconbar.usePixmap: boolean โ€” this is also set in the Iconbar Mode menu. When set to True, this will show the native icon of applications.

Default: True

  • session.screen0.iconbar.iconTextPadding: integer โ€” this specifies the space between the window title and the edge of the button.

Default: 10

  • session.screen0.iconbar.alignment: position โ€” this value should be changed in the Iconbar Mode menu.

Available options:

  • Left โ€” fixed width, aligned left
  • Relative โ€” width varies to fill the iconbar
  • Right โ€” fixed width, aligned right

Default: Relative

  • session.screen0.iconbar.iconifiedPattern: string โ€” allows to decorate the title of iconified (minimized) windows. The title is represented by "%t".

Default: ( %t )

  • session.screen0.iconbar.iconWidth: integer โ€” used to specify the iconbar button width for Left/Right alignment.

Default: 128

  • session.screen0.strftimeFormat: date โ€” this adjusts the way the current time is displayed in the toolbar. The strftime(3) format is used.

Default: %k:%M

  • session.screen0.tabs.intitlebar: boolean โ€” this specifies whether tabs should be embedded in the titlebar or placed outside the window.

Default: True

  • session.screen0.tab.placement: placement โ€” this specifies where external tabs will appear on the window. It has the same possible values as sesion.screen0.{slit|toolbar}.placement (yep, that spelling is literally in the page ๐Ÿ˜ญ).

Default: TopLeft

  • session.screen0.tab.width: integer โ€” this specifies the width of external tabs in pixels.

Default: 64

  • session.screen0.focusModel: ClickToFocus|MouseFocus|StrictMouseFocus โ€” this controls how windows gain focus via the mouse. With ClickToFocus, the user must click on the window. With MouseFocus, windows gain focus whenever the mouse moves over them, but only when the mouse is moving. With StrictMouseFocus, windows gain focus whenever the mouse enters any exposed area, even if this is due to layer changes, window movement, changing desktops, closing windows, etc.

Default: ClickToFocus

  • session.screen0.autoRaise โ€” type boolean. When True, this setting automatically raises any window that gains focus. Default: True.
  • session.autoRaiseDelay โ€” type integer. Adjusts the delay (in milli-sec) before focused windows will raise when using the Autoraise option. Default: 250.
  • session.screen0.clickRaises โ€” type boolean. This setting allows a user to click anywhere on a window to bring it on top of other windows. Otherwise, only the titlebar will work. Default: True.
  • session.screen0.workspacewarping โ€” type boolean. This setting enables a user to change workspaces by dragging a window across the edge of the screen. Default: True.
  • session.screen0.showwindowposition โ€” type boolean. Setting this resource to True shows the user, in a little window, the exact position of the application window while the user is dragging it. Allows a precise placement of windows on a screen. Default: False.
  • session.screen0.defaultDeco โ€” type string. This specifies the default window decorations, according to the same options available to the [Deco] option in the โ€˜appsโ€™ file, described in fluxbox-apps(5). Default: NORMAL.
  • session.screen0.menuDelay โ€” type integer. This sets the delay in milliseconds for submenus to open when you hover over them or to close when you hover over another item. Default: 200.
  • session.screen0.focusNewWindows โ€” type boolean. This sets whether or not new windows will become focused automatically. Default: True.
  • session.screen0.workspaceNames โ€” type names. Here is where the user can name their workspaces, in a comma-delimited list. However it is recommended to use the tool available in the Workspace Menu to set these. Default: Workspace 1, Workspace 2, Workspace 3, Workspace 4.
  • session.screen0.edgeSnapThreshold โ€” type integer. When moving a window across your screen, fluxbox is able to have it โ€˜snapโ€™ to the edges of the screen and other windows for easy placement. This variable tells fluxbox the distance (in pixels) at which the window will jump to the edge. Default: 10.
  • session.screen0.edgeResizeSnapThreshold โ€” type integer. When resizing a window by grabbing a corner, fluxbox is able to have it โ€˜snapโ€™ to the edges of the screen and other windows for easy placement. This variable tells fluxbox the distance (in pixels) at which the window will jump to the edge. Default: 0.
  • session.screen0.windowPlacement โ€” type strategy. This resource specifies where to place new windows when not otherwise specified (by the program or the โ€˜appsโ€™ file, for example). Available strategies:
    • RowSmartPlacement: tries to place windows in rows without overlapping
    • ColSmartPlacement: tries to place windows in columns without overlapping
    • CascadePlacement: places windows below the titlebar of the previous one
    • UnderMousePlacement: places new windows underneath the mouse
    • RowMinOverlapPlacement: place windows in rows with minimal overlapping
    • ColMinOverlapPlacement: place windows in columns with minimal overlapping
    • AutotabPlacement: tabs the window to the currently focused one Default: RowSmartPlacement.
  • session.screen0.rowPlacementDirection โ€” type LeftToRight|RightToLeft. These settings control the direction in which windows are tiled using the RowSmartPlacement and ColSmartPlacement strategies described above. Default: LeftToRight.
  • session.screen0.colPlacementDirection โ€” type TopToBottom|BottomToTop. These settings control the direction in which windows are tiled using the RowSmartPlacement and ColSmartPlacement strategies described above. Default: TopToBottom.
  • session.screen0.fullMaximization โ€” type boolean. If this setting is enabled, windows will maximize over the toolbar, slit, and any other window that creates a strut, no matter what their individual settings are. Default: False.
  • session.screen0.opaqueMove โ€” type boolean. When moving a window, setting this to True will draw the window contents as it moves (this is nasty on slow systems). If False, it will only draw an outline of the window border. Default: True.
  • session.screen0.opaqueResize โ€” type boolean. When resizing a window, setting this to True will draw the window contents as it resizes (this is nasty on slow systems). If False, it will only draw an outline of the window border. Default: False.
  • session.screen0.opaqueResizeDelay โ€” type integer. When resizing a window in opaque mode, this controls the resize clock pulse in ms. Low values resize "smoother" but slow clients (browser etc. which are expensive to resize) can put too much stress on the system (stalling everything) High values will cause notable latency (delay before the size is aligned to the mouse position). Default: 40.
  • session.screen0.workspaces โ€” type integer. Set this to the number of workspaces the user wants. Default: 4.
  • session.screen0.struts โ€” type integer, integer, integer, integer. Shrink the workspace by left, right, top, bottom pixels (positive integers) This allows you to add some padding to the workspace eg. to keep a fraction of the desktop visible against maximized windows. session.screen0.struts.<n> allows to control this for individual heads (<n> starts counting at 1). Default: 0,0,0,0.
  • session.screen0.toolbar.button.<name>.label โ€” type string. The label text for the toolbar button tool "button.<name>". Default: blank.
  • session.screen0.toolbar.button.<name>.commands โ€” type string:'string':'string':'string':'string'. A colon delimited list of commands, executed when the respective mouse button is pressed on the toolbar button tool "button.<name>" The commands are the same as those detailed in fluxbox-keys(5). Default: blank.
  • session.cacheLife โ€” type minutes. This tells fluxbox how long unused pixmaps may stay in the X serverโ€™s memory. Default: 5.
  • session.cacheMax โ€” type KbSize. This tells fluxbox how much memory it may use to store cached pixmaps on the X server. If your machine runs short of memory, you may lower this value. Default: 200.
  • session.colorsPerChannel โ€” type integer. This tells fluxbox how many colors to take from the X server on pseudo-color displays. A channel would be red, green, or blue. fluxbox will allocate this variable ^ 3 and make them always available. Value must be between 2-6. When you run fluxbox on an 8bpp display, you must set this resource to 4. Default: 4.
  • session.doubleClickInterval โ€” type integer. Adjust the delay in milliseconds between mouse clicks for fluxbox to consider a double click. Default: 250.
  • session.forcePseudoTransparency โ€” type boolean. If you have Xorgโ€™s composite extension enabled, this setting will force the menu, windows, toolbar, and slit to use pseudo-transparency instead of true transparency. Default: False.
  • session.ignoreBorder โ€” type boolean. This configures the ability to move windows by dragging the border. Default: False.
  • session.tabPadding โ€” type integer. This specifies the spacing between tabs. Default: 0.
  • session.tabsAttachArea โ€” type Window|Titlebar. With this set to โ€˜Windowโ€™, windows may be grouped by dragging one tab with the middle mouse button and dropping it anywhere on another window. With โ€˜Titlebarโ€™, the user must drop the tab on the target windowโ€™s titlebar. Default: Window.
  • session.titlebar.{left|right} โ€” type buttons. The buttons or icons to place in the titlebar of decorated windows. You may specify any number, space-delimited. The available options are: Close Maximize MenuIcon Minimize Shade Stick LHalf RHalf Default left: Stick Default right: Shade Minimize Maximize Close LHalf and RHalf are buttons to quickly place a window into the left and right half of the current monitor.
  • session.screen0.pin{Left|Right} โ€” type classes. Sort the system tray icons according to order specified in classes, which is a comma-separated list of CLASSCLASS properties of the X clients (The second field of WM_CLASS from the output of the xprop(1) utility). Consider a system tray "A C B D E F". With pinRight set to "A, B" and pinLeft set to "E, F" it will look like "E F [C D] A B" while the icons in [] are unordered as usual.

All of the location resources following require a pathname to their specific files. This is where you can specify different files. Most of the defaults will be located in the userโ€™s ~/.fluxbox directory.

  • session.appsFile โ€” type location. Location of persistent application settings, or the โ€˜appsโ€™ file. See the Remember... item in the Window Menu section above or fluxbox-apps(5) for details.
  • session.groupFile โ€” type location. ๐Ÿšจ Deprecated, auto-grouping is now done in the โ€˜appsโ€™ file, see fluxbox-apps(5) for details.
  • session.keyFile โ€” type location. Location of the keyboard mapping settings, or the โ€˜keysโ€™ file. See fluxbox-keys(5) for details.
  • session.menuFile โ€” type location. Location of the Root Menu file. See fluxbox-menu(5) for details.
  • session.slitlistFile โ€” type location. Location of the file used to remember slit client ordering. See SLIT above for details.
  • session.styleFile โ€” type location. Location of the currently selected style. See fluxbox-style(5) for details.
  • session.styleOverlay โ€” type location. Location of the style overlay file. See fluxbox-style(5) for details.
  • session.screen0.windowMenu โ€” type location. This optionally specifies the location of a user-defined window menu. If left blank, it will use ~/.fluxbox/windowmenu. Default: blank.
  • session.menuSearch โ€” type nowhere|itemstart|somewhere. This setting controls the way the menu search feature works. Available options:
    • nowhere: disables the menu search
    • itemstart: typed text matches at the start of a menu items
    • somewhere: typed text matches somewhere in a menu item Default: itemstart.

๐ŸŒฟ ENVIRONMENT ๐ŸŒฟ

okay bestie, this is where fluxbox gets its vibe check from the environment ๐Ÿ’…

๐Ÿก HOME

fluxbox uses $HOME to find the .fluxbox/init file and to resolve style file and -directory names. yes, thatโ€™s the little home base for ur config โœจ

๐Ÿ–ฅ๏ธ DISPLAY

When no other display was given on the command line, fluxbox will start on the display specified by this variable. so if u didnโ€™t point it somewhere else, $DISPLAY is the main character ๐Ÿ‘‘


fluxbox can also take advantage of other environment variables if they are set before fluxbox is started. for example, if $TERM is set, then it will be available whenever fluxbox uses the shell, such as the keys file ExecCommand or the root menuโ€™s [exec] tag. see fluxbox-keys(5) and fluxbox-menu(5) for details ๐Ÿซถ

The keys file also provides two commands that can alter the current environment of fluxbox: SetEnv and Export. Any changes made by these commands will also affect the environment as seen by fluxbox and all child processes started after that point. see fluxbox-keys(5) for details ๐Ÿ’–

For more information about environment variables in general, see your shellโ€™s manual. no cap, the shell manpage has the lore ๐ŸŒธ


๐Ÿšฆ SIGNALS ๐Ÿšฆ

fluxbox responds to the following signals:

  • SIGUSR1 โ€” restarts fluxbox. lil refresh moment ๐Ÿ”
  • SIGUSR2 โ€” Forces reloading of configuration. config reload era โœจ

๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

fluxbox is written and maintained by Henrik Kinnunen <fluxgen at fluxbox org>, Simon Bowden <rathnor at fluxbox org>, Mathias Gumz <akira at fluxbox org>, and Mark Tiefenbruck <mark at fluxbox org>, with contributions and patches merged from many individuals around the world. iconic collaborative energy fr fr ๐ŸŒ๐Ÿ’œ

Blackbox was written and maintained by Brad Hughes <blackbox at alug org> and Jeff Raven <jraven at psu edu>.

This manpage is the combined work of:

  • Jim Ramsay <i.am at jimramsay com> (>fluxbox-1.0.0)
  • Curt Micol <asenchi at asenchi com> (>fluxbox-0.9.11)
  • Tobias Klausmann <klausman at users sourceforge net> (โŸจfluxbox-0.9.11)
  • Grubert <grubert at users sourceforge net> (fluxbox)
  • Matthew Hawkins <matt at mh dropbear id au> (blackbox)
  • Wilbert Berendsen <wbsoft at xs4all nl> (blackbox)
  • Numerous other languages could be available if someone jumps in. bestie, that could be u ๐Ÿ‘€๐Ÿ’…

๐ŸŒ ONLINE DOCUMENTATION ๐ŸŒ


๐Ÿ’€ BUGS ๐Ÿ’€

If you find any bugs, please visit the #fluxbox irc channel on irc.freenode.net or submit them to the bug tracker at http://sf.net/projects/fluxbox. Or you may subscribe to one of the mailinglists. More information can be found on the official website. pls report the gremlins so they can be slayed ๐Ÿซถโœจ


๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹

fluxbox-apps(5) fluxbox-keys(5) fluxbox-style(5) fluxbox-menu(5) fluxbox-remote(1) fbsetroot(1) fbsetbg(1) fbrun(1) startfluxbox(1)


๐ŸŽ€ AUTHOR ๐ŸŽ€

Henrik Kinnunen <fluxgen@fluxbox.org> Author.


๐Ÿ’– and thatโ€™s the whole FLUXBOX(1) page, bestie โ€” source/version fluxbox.txt, dated 08 February 2015, manual page FLUXBOX(1). go be iconic with ur window manager. periodt. ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from