Fluxbox: Installation and commissioning

Fluxbox is next to Openbox, 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 Fluxbox 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

If our distro does not have packages ready we can proceed to download the source code since web page and compile it.

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 Fluxbox.

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


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

30 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   LiGNUxero said

    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

    1.    khourt said

      The Style is great !!!

  2.   Hyuuga_Neji said

    Interesting…. then I start to test it in more depth thanks and keep it up.

  3.   AurosZx said

    Excellent article Son Link, Fluxbox has one of the best themes among the WM Standalone 🙂

  4.   Leper_Ivan said

    Very good .. 😀 I tried Fluxbox only once and it seemed very cool .. Then I will test it thoroughly.

    Thanks for the article 😀

    Ivan!

  5.   khourt said

    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

  6.   Aaron Mendo said

    Great I use fluxbox and I am delighted with that window manager.

    Greetings.

  7.   platonov said

    Very interesting article, I'm going to try it.
    You learn a lot on your blog, thank you.

    1.    KZKG ^ Gaara said

      Thank you

  8.   Fabian said

    I really like fluxbox I have been using it for a few months together with tint 2 and xcompmgr

  9.   Verlaine said

    Very good this post, I would like to know if you can publish the conf file of the lxpanel for probal in my pc

  10.   Marcelo said

    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. 🙂

    1.    LiGNUxero said

      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

    2.    Ghermain said

      I like to ride in a limousine ... that's why I prefer KDE hehehe 🙂

  11.   Aaron Mendo said

    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.

  12.   satanAG said

    It looks really interesting….

  13.   AMLO said

    It takes longer to install and configure it than it lasts on my pc.

    In fact not only fluxbox, any distro, I have problems….

  14.   Leandro lemos said

    Which consumes less resources, have LXDE installed, or just use FluxBox? Or use LXDE and fluxbox as window manager?

    1.    David ariza said

      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

  15.   Holico said

    What does the demon of thunar do?