Differences
This shows you the differences between two versions of the page.
linux:fluxbox [2006/12/14 01:13] cyril created |
linux:fluxbox [2013/09/19 16:40] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Fluxbox ====== | ||
- | |||
- | Fluxbox is a very light window manager, highly customizable (look, shortcuts, etc). | ||
- | |||
- | ===== Controlling your sound card with the keyboard ===== | ||
- | |||
- | < | ||
- | Mod4 m : | ||
- | Mod4 o : | ||
- | Mod4 i : | ||
- | Mod4 Shift | ||
- | Mod4 Shift | ||
- | Mod4 p : | ||
- | </ | ||
- | |||
- | ===== Make double-click titlebar maximize the window ===== | ||
- | |||
- | Instead of shading the window. | ||
- | |||
- | For that, you have to modify the source code of fluxbox. Of course, it is easier if you use a source distribut such as Gentoo (explained [[here|linux: | ||
- | |||
- | But you just have to modify one line in '' | ||
- | <code C++> | ||
- | Window.cc: | ||
- | - frame().setOnClickTitlebar(shade_cmd, | ||
- | + frame().setOnClickTitlebar(maximize_cmd, | ||
- | </ | ||
- | |||
- | ===== Make Meta-Tab switch between all windows ===== | ||
- | |||
- | Instead of only switching between visible windows (not minimized). | ||
- | |||
- | One more time, you have to modify the source code, this time there are two lines : | ||
- | < | ||
- | FocusControl.cc: | ||
- | - (opts & FocusControl:: | ||
- | - win-> | ||
- | + (opts & FocusControl:: | ||
- | + // | ||
- | |||
- | FocusControl.cc: | ||
- | - if (fbwin && !fbwin-> | ||
- | + if (fbwin && / | ||
- | </ | ||
- | |||
- | |||
- | ===== Patch for double-click maximize and meta-tab ===== | ||
- | |||
- | I've written to make the modifications for the two previous tips automatic. To apply the patch, copy it in the parent of the '' | ||
- | < | ||
- | |||
- | The patch : | ||
- | <code DIFF> | ||
- | diff -r -U 3 src.orig/ | ||
- | --- src.orig/ | ||
- | +++ src/ | ||
- | @@ -71,9 +71,9 @@ | ||
- | // skip if not active client (i.e. only visit each fbwin once) | ||
- | (opts & FocusControl:: | ||
- | // skip if shaded | ||
- | - (opts & FocusControl:: | ||
- | + (opts & FocusControl:: | ||
- | // skip if hidden | ||
- | - win-> | ||
- | + // | ||
- | | ||
- | } | ||
- | |||
- | @@ -122,7 +122,7 @@ | ||
- | | ||
- | |||
- | | ||
- | - if (fbwin && !fbwin-> | ||
- | + if (fbwin && / | ||
- | | ||
- | || fbwin-> | ||
- | // either on this workspace, or stuck | ||
- | diff -r -U 3 src.orig/ | ||
- | --- src.orig/ | ||
- | +++ src/ | ||
- | @@ -4084,7 +4084,7 @@ | ||
- | |||
- | // setup titlebar | ||
- | | ||
- | - frame().setOnClickTitlebar(shade_cmd, | ||
- | + frame().setOnClickTitlebar(maximize_cmd, | ||
- | | ||
- | | ||
- | </ | ||
- | |||