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 ๐
-displaydisplay โ Start fluxbox on the specified display. Programs started by fluxbox will share theDISPLAYenvironment variable also. ๐-h,-helpโ Display command line options. โจ-i,-infoโ Display useful information concerning the defaults and compiled-in options. ๐ง-loglogfile โ 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. ๐ซ-rcrcfile โ Use a different config file other than the default~/.fluxbox/init. ๐-v,-versionโ The version of fluxbox installed. ๐-screenall|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
๐ธ MENUS ๐ธ
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 withfluxbox -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 influxbox-style(5).
- User Styles โ this is where your custom styles are listed. It lists any styles from
- 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
keysfile, theinitfile, 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.
0is invisible,255is not transparent at all. The transparency of individual application windows can be overridden in theappsfile (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
appsfile 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 inman 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 thesession.autoRaiseDelayresource 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 thesession.autoRaiseDelayresource 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 from1-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.0is invisible,255is 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.iconWidthresource:Left: all icons will be left-aligned with the width set in theinitfile.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 theinitfile.
- The last option in this submenu is:
Show Pictures: if enabled the iconbar will show the applicationโs icon (if provided by the application).
- The first section outlines what types of windows will be shown in the iconbar:
Clockโ lets you switch between the00:00am-11:59pmand00:00-23:59notation.Edit Clock Formatโ clicking this entry will pop up a dialog window in which the clock format can be set according toman strftime(orman 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, orClick 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 Titlebarmust 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
LAYERSfor 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.autoRaiseDelayresource 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.autoRaiseDelayresource 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.
0is invisible,255is 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:
- Run fluxbox with no pre-loaded dockapps
- Run dockapps individually in the order you want them
- 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 Dock4- Dock6- Top8- Normal10- Bottom12- 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 between0-255,255being opaque and0being 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 theAboveDocklayer 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 toAboveDockthis 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 theLAYERsection 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 toTruewill allow application windows to maximize over the complete screen. Setting toFalseallows 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 to0, 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 than0.
Default: 0
session.screen0.toolbar.visible:booleanโ the user can set whether they want to have a toolbar on screen at all. Setting toFalseremoves 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 theTOOLBARsection 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 from1. Setting this to0will 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 sectionCLIENT PATTERNSin eitherfluxbox-keys(5)orfluxbox-apps(5)for details.
Default: {static groups} (workspace)
session.screen0.iconbar.usePixmap:booleanโ this is also set in the Iconbar Mode menu. When set toTrue, 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 leftRelativeโ width varies to fill the iconbarRightโ 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 forLeft/Rightalignment.
Default: 128
session.screen0.strftimeFormat:dateโ this adjusts the way the current time is displayed in the toolbar. Thestrftime(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 assesion.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. WithClickToFocus, the user must click on the window. WithMouseFocus, windows gain focus whenever the mouse moves over them, but only when the mouse is moving. WithStrictMouseFocus, 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โ typeboolean. WhenTrue, this setting automatically raises any window that gains focus. Default:True.session.autoRaiseDelayโ typeinteger. Adjusts the delay (in milli-sec) before focused windows will raise when using the Autoraise option. Default:250.session.screen0.clickRaisesโ typeboolean. 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โ typeboolean. This setting enables a user to change workspaces by dragging a window across the edge of the screen. Default:True.session.screen0.showwindowpositionโ typeboolean. Setting this resource toTrueshows 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โ typestring. This specifies the default window decorations, according to the same options available to the[Deco]option in the โappsโ file, described influxbox-apps(5). Default:NORMAL.session.screen0.menuDelayโ typeinteger. 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โ typeboolean. This sets whether or not new windows will become focused automatically. Default:True.session.screen0.workspaceNamesโ typenames. 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โ typeinteger. 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โ typeinteger. 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โ typestrategy. 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 overlappingColSmartPlacement: tries to place windows in columns without overlappingCascadePlacement: places windows below the titlebar of the previous oneUnderMousePlacement: places new windows underneath the mouseRowMinOverlapPlacement: place windows in rows with minimal overlappingColMinOverlapPlacement: place windows in columns with minimal overlappingAutotabPlacement: tabs the window to the currently focused one Default:RowSmartPlacement.
session.screen0.rowPlacementDirectionโ typeLeftToRight|RightToLeft. These settings control the direction in which windows are tiled using theRowSmartPlacementandColSmartPlacementstrategies described above. Default:LeftToRight.session.screen0.colPlacementDirectionโ typeTopToBottom|BottomToTop. These settings control the direction in which windows are tiled using theRowSmartPlacementandColSmartPlacementstrategies described above. Default:TopToBottom.session.screen0.fullMaximizationโ typeboolean. 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โ typeboolean. When moving a window, setting this toTruewill draw the window contents as it moves (this is nasty on slow systems). IfFalse, it will only draw an outline of the window border. Default:True.session.screen0.opaqueResizeโ typeboolean. When resizing a window, setting this toTruewill draw the window contents as it resizes (this is nasty on slow systems). IfFalse, it will only draw an outline of the window border. Default:False.session.screen0.opaqueResizeDelayโ typeinteger. 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โ typeinteger. Set this to the number of workspaces the user wants. Default:4.session.screen0.strutsโ typeinteger, 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โ typestring. The label text for the toolbar button tool"button.<name>". Default:blank.session.screen0.toolbar.button.<name>.commandsโ typestring:'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 influxbox-keys(5). Default:blank.session.cacheLifeโ typeminutes. This tells fluxbox how long unused pixmaps may stay in the X serverโs memory. Default:5.session.cacheMaxโ typeKbSize. 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โ typeinteger. 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^ 3and make them always available. Value must be between 2-6. When you run fluxbox on an 8bpp display, you must set this resource to4. Default:4.session.doubleClickIntervalโ typeinteger. Adjust the delay in milliseconds between mouse clicks for fluxbox to consider a double click. Default:250.session.forcePseudoTransparencyโ typeboolean. 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โ typeboolean. This configures the ability to move windows by dragging the border. Default:False.session.tabPaddingโ typeinteger. This specifies the spacing between tabs. Default:0.session.tabsAttachAreaโ typeWindow|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}โ typebuttons. The buttons or icons to place in the titlebar of decorated windows. You may specify any number, space-delimited. The available options are:CloseMaximizeMenuIconMinimizeShadeStickLHalfRHalfDefault left:StickDefault right:Shade Minimize Maximize CloseLHalfandRHalfare buttons to quickly place a window into the left and right half of the current monitor.session.screen0.pin{Left|Right}โ typeclasses. Sort the system tray icons according to order specified in classes, which is a comma-separated list ofCLASSCLASSproperties of the X clients (The second field ofWM_CLASSfrom the output of thexprop(1)utility). Consider a system tray"A C B D E F". WithpinRightset to"A, B"andpinLeftset 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โ typelocation. Location of persistent application settings, or the โappsโ file. See the Remember... item in the Window Menu section above orfluxbox-apps(5)for details.session.groupFileโ typelocation. ๐จ Deprecated, auto-grouping is now done in the โappsโ file, seefluxbox-apps(5)for details.session.keyFileโ typelocation. Location of the keyboard mapping settings, or the โkeysโ file. Seefluxbox-keys(5)for details.session.menuFileโ typelocation. Location of the Root Menu file. Seefluxbox-menu(5)for details.session.slitlistFileโ typelocation. Location of the file used to remember slit client ordering. See SLIT above for details.session.styleFileโ typelocation. Location of the currently selected style. Seefluxbox-style(5)for details.session.styleOverlayโ typelocation. Location of the style overlay file. Seefluxbox-style(5)for details.session.screen0.windowMenuโ typelocation. This optionally specifies the location of a user-defined window menu. If left blank, it will use~/.fluxbox/windowmenu. Default:blank.session.menuSearchโ typenowhere|itemstart|somewhere. This setting controls the way the menu search feature works. Available options:nowhere: disables the menu searchitemstart: typed text matches at the start of a menu itemssomewhere: 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โ restartsfluxbox. 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 ๐
- The Official
fluxboxwebsite:http://www.fluxbox.org - The Official
fluxboxwiki:http://www.fluxbox-wiki.org - Many compatible themes:
http://tenr.de
๐ 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
- arch rolling: fluxbox 1.3.7+248+g5ba8c921-1 ยท MIT
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms