Building Fluxbox GIT on Ubuntu 10 and adding it to GDM

Many of you may recall from the past that this site used to be ALL about FluxBox my focus now is more on general Linux usage. I do however still use Fluxbox. Something I thought I would talk about is how to add Fluxbox to GDM and what it takes to build Fluxbox GIT on Ubuntu. This process should also work on Debian as well.

The first thing you will need to do is install some dependencies. The best way to do that is using the following commands:
apt-get install build-essential
Next you need to install some stuff specific to Fluxbox, the easy way to do that is like this:
apt-get build-dep fluxbox
Next you need to either grab a source tarball of git, or install git using the following command:
apt-get install git

You should now have everything you need to build the latest version of Fluxbox on your machine. Lets pull the code and build it. As a normal user and with out using sudo:
git clone git:// && cd fluxbox && ./
Once this completes successfully it will be time to configure the build options. Since you may be doing this just to test out the latest version and may still want to have the primary version installed via apt-get Im going to suggest configuring with the following options:
./configure --prefix=/usr/local && make && sudo make install
This will place the files that fluxbox git version installs into the /usr/local directory. Now fluxbox is installed and all you need to do is manually create a fluxbox.desktop file so that GDM will know about.

To make the fluxbox.desktop all you need to do is open your favorite text editor and create a file that looks like this:

[Desktop Entry]
Comment=Highly configurable low resource X11 Window Manager

Next save this file in /usr/share/xsessions/ and name it fluxbox-git.desktop

You may need to restart X for the Fluxbox-git entry to show up for you to select, but thats it!! You should now have Ubuntu with Fluxbox Git installed. Enjoy!!

2 thoughts on “Building Fluxbox GIT on Ubuntu 10 and adding it to GDM

Leave a Reply

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