flux box is next to open box, one of the best known and used window managers today. In this post I will explain how to install and set up this great light environment.
Installation:
Many distributions have packages of flux box in their repositories, so we can use the corresponding package manager to install it:
Archlinux / Cruchbang:
pacman -S fluxbox
Debian / Mint / Ubuntu / etc
apt-get install fluxbox
Once installed and after logging in, we will find the default configuration, which may vary from one distros to another, which is in the hidden folder .fluxbox in our user directory.
In this tutorial we will focus on the folder styles and in the files keys, menu and startup:
- styles: In this folder will go the themes that we download from the internet or that we make
- startup: In it we will indicate to Fluxbox which programs, processes, etc. it should execute when logging in
- menu: the Fluxbox menu is saved in this file.
Setting up the login
As I already mentioned in the file startup we will put what we need to be executed when we log in, for example the program in charge of checking updates, a panel, dockbar, the network connection manager, etc.
To add it, we just have to write each command in a line and that it ends with the symbol &. For example:
nm-applet &
thunar --daemon &
lxpanel --profile LXDE &
Modifying the menu
[exec] (Title) {command}: With this we instruct Fluxbox to add an entry in the menu to execute an order. For example:
[exec] (Firefox) {firefox}
And if we want to add an icon, just add between the symbols <> the full path to the icon:
[exec] (Firefox) {firefox}
To add a submenu we write the following:
[submenu] (Texto)
......
[end]
We can nest several submenus within one.
And finally we would add the menu for Fluxbox from which to configure the environment:
[submenu] (FluxBox) [workspaces] (Workspaces) [submenu] (Styles) [stylesdir] (/ usr / share / fluxbox / styles) [stylesdir] (~ / .fluxbox / styles) [end] [config] (Configure ) [reconfig] (Reconfig) [restart] (Restart) [separator] [exit] (Exit) [end] [end]
Once modified we have to reload the configuration, so we open the Fluxbox menu and go to Fluxbox »Reconfig if we have the default configuration.
Use Fluxbox instead of Openbox in LXDE
One of the advantages of LXDE is that we can replace Openbox with other window managers, in this case we are going to replace it with flux box.
For this we create the file ~ / .config / lxsession / LXDE / desktop.conf with the following content:
[Session]
window_manager=fluxbox
There are many more options to configure Fluxbox, but that escapes a bit from what is intended with this article. to finish I leave you a current capture of my desktop and several links of interest.
Links of interest
Fluxbox official page
Official Wiki (contains some articles in Spanish)
Box Look: Contains themes for Fluxbox and other lightweight environments
My themes for Fluxbox
Modify the position of the buttons of the windows and elements of the Fluxbox toolbar
Groups in Deviantart that every Linux user should follow
This very good Fluxbox, I use it very frequently, I love how customizable you can return it.
I installed it once I needed to save my RAM to work with virtual machines and in the end I liked it so much that I used it for a long time as a preferred environment haha I even got to make myself a theme, or Style as they call it in fluxbox, which I uploaded to box -look.org is someone interested in this 😉
http://box-look.org/content/show.php?content=146168
I like your theme.
Do you mind if I upload it to Devianart to our group?
Raise it calm partner, it is made to share like the Argentine mate ^ _ ^
You mean the matte desk, right?
XD
Noo xDD mate is like a typical Argentine herbal infusion. That's why the "Argentine mate" 😛
The Style is great !!!
Interesting…. then I start to test it in more depth thanks and keep it up.
I'm glad you like it ^^
I started testing it and you see, more than 4 years with it ^^
Excellent article Son Link, Fluxbox has one of the best themes among the WM Standalone 🙂
Very good .. 😀 I tried Fluxbox only once and it seemed very cool .. Then I will test it thoroughly.
Thanks for the article 😀
Ivan!
Well, right now I use OpenBOX, but when I installed it I was wondering which one to choose, OpenBOX, FluxBOX or BlackBOX. I chose OpenBOX because it didn't have a panel and I wanted to use AWN or Cairo on it. But a comparison would help a little more. Which one has more time, configuration options, compatibility with other programs, because FluxBOX instead of OpenBOX and vice versa.
I liked the note, with time and I encourage you to install it and try it
It would be interesting about the comparison.
Later I talk to people on IRC who use Openbox and see if we can make one together, so we have more points of view ^^
Great I use fluxbox and I am delighted with that window manager.
Greetings.
Very interesting article, I'm going to try it.
You learn a lot on your blog, thank you.
Thank you
I really like fluxbox I have been using it for a few months together with tint 2 and xcompmgr
I recommend that you replace xcompmgr with compton, a fork of it more updated and with some extra functions.
I don't know if there is a package for Debian, so I leave its repository for you to download and compile: https://github.com/chjj/compton
Very good this post, I would like to know if you can publish the conf file of the lxpanel for probal in my pc
The panel that is in that screenshot is LXPanelX, a fork with extra functions, although most of it comes with the original.
Tomorrow I create one for the original and upload it to the paste ^^
Here is the LXPanel configuration:
http://paste.desdelinux.net/4567
You save it in ~ / .config / lxpanel / LXDE / panels / panel if you use LXDE. Otherwise change LXDE by default
I love minimalist, streamlined desks. The ornate and colorful ones like KDE, Gnome and Unity are cute and useful at first, but when you get into this universe of free software and you see and try the other alternatives, the speed you get with these minimal desktops is brutal when you know how to handle them . I like to compare them with vehicles: KDE, Gnome and Unity are like a Limousine (they have everything, even a minibar: P), while OpenBox, BluxBox,… are like a motorcycle. 🙂
It is true yes, until a while ago I had archlinux and fluxbox and it is the fastest thing I tried in my life haha
The truth is that arch takes advantage of resources and that is felt when you have more than one istro on the same PC and you try to do the same things or simply the routine of browsing and web surfing a bit is agile with arch. I got melancholic, it seems to me that tonight I installed an arch again in the partition that is farting on this pc haha
I like to ride in a limousine ... that's why I prefer KDE hehehe 🙂
I also recommend that if you like something super light, try dwm first, it is a headache, but since you get used to it, that window manager is wonderful, and the best thing for me is that you don't have to look for integration with window decoration because does not have XD.
Greetings.
It looks really interesting….
It takes longer to install and configure it than it lasts on my pc.
In fact not only fluxbox, any distro, I have problems….
Which consumes less resources, have LXDE installed, or just use FluxBox? Or use LXDE and fluxbox as window manager?
from what I have tried openbox, tint2 or lxpanelx, adeskbar and light applications (midori, abiword, gnumeric, deadbeef, evince -although xpdf or mupdf are really light- leafpad and mrvterminal or lxterminal) consume almost nothing. When starting no more with openbox, lxpanelx, adeskbar and 2 script: to rotate the wallpaper and to start the htop it consumes less than 80 MB always
What does the demon of thunar do?
Detect when we insert a USB device, CD, DVD, etc, mount it and / or execute a command