I often see in the themes: openbox, fluxbox, blackbox, they say beautiful and nimble, and what is it and how to put them?konvasDate: 29.03.2010, 8:07
Q: I often see in the themes: openbox, fluxbox, blackbox, they say beautiful and nimble, and what is it and how to put them?
A: These are window managers with many features, such as virtual desktops, slit (tray), as well as KDE and Gnome applications, and much more. It should be noted that they are not very demanding of resources and can be used even on very weak computers.
If you want to start, it’s better to start with fluxbox because it is easier to set up.
Installation is easy: Synaptic, and in it fluxbox and fluxconf, and all!
It is IMPORTANT that your system is configured to request a username and password at login!
We put, now we do "End session", click on the input to the name under which you will login, and look down, on the strip with the choice of language, there is an inscription "GNOME" or "KDE", depending on what you have and there is a number of arrows, press it and select fluxbox, now enter your password and OPA, here it is!
Is it dumb? Is everything gray and sad? and the Internet does not work? We will rule:
To start the network, it will not work if configured via networkManeger, you just need to start it, in the terminal we write / usr / bin / nw-applet
Now we understand thoroughly:
The main configuration file is ~ / .fluxbox / init. (home / your name) It sets parameters such as, for example, the degree of transparency merged, the names and number of desktops and much more. Some parameters can be changed from the menu (Fluxbox menu->Configure), but you still can’t get away from editing ~ / .fluxbox / init smile_good.gif Although you can try the fluxconf utility, (I can’t say anything about it, because I didn’t need to use it).
For example, in order to change the name of the current virtual desktop, it is enough to right-click on the desktop name on the toolbar and select “change the name of the current desktop” in the menu that appears. In the same menu you can set the width of the toolbar in percent relative to the width of the screen. To add a new desktop, select Fluxbox menu->Workspace list->New workspace. Also on the Fluxbox menu menu>Configure can be set a lot of useful things, for example, the orientation of the toolbar and merged, focus model, anti-aliasing, transparency and much more. Fluxbox menu->Reload config will force fluxbox to re-read the configuration files, and Fluxbox menu->Restart will restart it, which is very convenient - it allows you to change settings without restarting claims and other window programs. Key bindings
First of all, I think you will want to insist a so-called. "Hotkeys". To do this, edit the file ~ / .fluxbox / keys. The file format is:<modifier><key> [�] :<operation>; I think you don’t need to translate anything here. By default, the keys file has the following form:
Mod1 Tab: NextWindow
Mod1 F1: Workspace 1
Mod1 F2: Workspace 2
Mod1 F3: Workspace 3
Mod1 F4: Workspace 4
Mod1 F5: Workspace 5
Mod1 F6: Workspace 6
Mod1 F7: Workspace 7
Mod1 F8: Workspace 8
Mod1 F9: Workspace 9
Mod1 F10: Workspace 10
Mod1 F11: Workspace 11
Mod1 F12: Workspace 12
Mod1 is the Alt key, Mod4 is the Windows key. As it is not difficult to guess, with the Alt + Fn combination, we switch to the n-th virtual desktop.
Note: Fluxbox 0.9.4 does not support Workspace1, Workspace2, etc. operators. You should use Workspace N.
To close the window using the Ctrl + F4 combination, add the Control F4: Close point, and to launch xterm via the Alt + x combination, - Mod1 x: ExecCommand xterm. Read more in man fluxbox, section KEYS FILE. Desktop Wallpaper
Fluxbox does not have its own utility for changing the desktop background, but in version 0.9. * A fbsetbg script appeared that uses such programs as chbg, Esetroot, wmsetbg, display, qiv, xsri, xli, xsetbg to set the background of the desktop. Its syntax is simple and straightforward, to get a complete list of options, type fbsetbg -h. In order to set the one that was before as a desktop background, after loading, add the "session.screen0.rootCommand: fbsetbg -l" line to the ~ / fluxbox / init file. Topics
Fluxbox supports themes, and they are also fully compatible with blackbox themes. Themes can be selected from the menu, for example, Fluxbox menu->System Styles->Operation. Theme files are usually stored somewhere in / usr / local / share / fluxbox / styles, their format is not particularly complex, so adjusting a topic to yourself probably will not be difficult. Now about the fluxbox-specific 0.9.4 things: if you want to get rounded corners in menus and windows, add the menu.roundCorners: and window.roundCorners: to the theme file:<shape item>respectively.<shape item>maybe TopLeft TopRight BottomLeft BottomRight - upper left, upper right corners, lower left, lower right corners, respectively. To round the toolbar, add toolbar.shaped: true. In 0.9.4, there are still some possibilities, including with regard to those, more about this can be found in "fluxbox-src-dir" / NEWS.
On the Internet, it will not be difficult to find countless topics for fluxbox and blackbox (which, as I said, are compatible).
Menu
The general menu for all users is in / usr / local / share / fluxbox / menu, for individual users - ~ / .fluxbox / menu. The path can be changed by setting the value of the session.menuFile parameter in init, for example, session.menuFile: / new / path / to / my / menu. The menu begins with the keyword [begin] (Menu title), ends with the word [end]. To start the application, add the following line:
[exec] (AppName) {app --params},
for example, [exec] (uname) {xmessage „uname -a“}. For submenus use the following design:
[submenu] (Submenu title)
[exec] (item1) {item1}
[exec] (item2) {item2}
[exec] (item3) {item3}
[end]
Example:
[submenu] (inet)
[exec] (links) {links www.fluxbox.org}
[exec] (mutt) {aterm -e mutt}
[end]
Rest:
[config] (Configure) - the fluxbox configuration menu;
[stylesdir] (/ usr / local / share / fluxbox / styles) - choice of styles (themes);
[workspaces] (Workspace List) - a list of virtual desktops;
[reconfig] (Reload config) - re-read the configuration file;
[restart] (Restart) - restart the window manager;
[exit] (Exit) - exit from the window manager.
You can see in detail how this is implemented in / usr / local / share / fluxbox / menu, and, of course, man fluxbox, MENU FILE section
Autostart
In order to add any programs to autoload, in the file ~ / .fluxbox / apps you should add the line [startup] {app}. Starting from version 0.9.4, it became possible to run programs on a specific desktop, that is, for example, by adding the line:
[startup] (screen = 8) {xmms}
after launch, you will most likely see xmms on the eighth desktop.
mini fact
1. Q: What is fused?
A: Slite is the location of the applets (wm *, bb * and other programs).
2. Q: I want to change the date format on the toolbar, how to do it?
A: You need to change the session.screen0.strftimeFormat parameter (file ~ / .fluxbox / init), for example, if you want to get a date like "Hours: Minutes: Seconds Number Month Month Year", session.screen0.strftimeFormat:% k:% M :% S% d.% M.% Y. Parameters are similar to the parameters of the date command (man 1 date).
3. Q: Can I use Blackbox themes?
A: Yes, Blackbox themes are 100% compatible with Fluxbox.
4. Q: Does KDE support?
A: Yes, there is. To enable it, use ./configure --enable-kde. KDE support is turned off by default.
5. Q: Does GNOME support?
A: Yes, there is. To enable it, use ./configure --enable-gnome, enabled by default.
6. Q: Is there support for transparent menus? How to turn it on?
A: Yes, there is, starting from 0.9.2. Set the value of Fluxbox menu->configure->Menu Alpha. 0 is completely transparent, 255 is not transparent. It is usually most convenient to set the Menu Alpha value between 130-170
Web:
http://www.fluxbox.org- Fluxbox Official Site;
http://fluxbox.org/version-0.9.php- Fluxbox 0.9 page;
http://fluxbox.sourceforge.net- Fluxbox project @ sf.net;
http://blackboxwm.sourceforge.net- BlackBox window maneger;
ttp: //devaux.fabien.free.fr/flux/ - Fluxconf;
http://fluxbox.sourceforge.net/fbdesk/- fbdesk;
http://themes.freshmeat.net- Themes.