Note: I am not sure if this method of install would work with Fluxbox... This is my first HOW-TO.
Introduction: After using linux for about three months now I have learned a great deal in thanks to the patient people in the ubuntu and ubuntuforums chatroom (and the ubuntu forum itself). While Gnome is fine and dandy, and KDE is more than useful, both still use a fair amount resources. Xfce seems like a logical choice with it's KDE chic and its lightweight but it still doesn't feel fast enough. If you feel this way why not use a WM? My WM of choice, of course, is Openbox. Most people suggest to install Gnome/KDE first, then sudo apt-get install openbox obconf, and finally exit into the GDM and select openbox. This is a good method however the only problem is you still have the bulk of Gnome or KDE on your HD. So then why not just delete Gnome/KDE? The answer to this my friends is that many of the apps you already (might) have depends on Gnome/KDE libraries. Therefore, the best solution is to clean/server/base install and apt-get openbox! So with no further a due the HOW-TO.
Step 1: The easy part.
a.)I will assume you have backed up all your data and no longer (or never had) a fear of command line. Ok... Now pop that beautiful ubuntu/kubuntu cd into your cdrom drive. When you are prompted on what kind of install you want to do type "server" and then press enter.
b.)Proceed with the installation (I.E. Set up the language, hostname, username, etc.)
c.)Log into CLI.
Step 2: The other easy part with a pinch of difficult.
a.)Before we go messing with the sources.list lets take precaution by backing it up shall we? Type sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup.
b.)Now we mess with the sources.list. Using your favorite CLI text editor (nano seems to be a popular choice i prefer VI) sudo vi /etc/apt/sources.list
c.)Uncomment: deb http://us.archive.ubuntu.com/ubuntu breezy universe
deb-src http://us.archive.ubuntu.com/ubuntu breezy universe
in order to activate repos.
d.)Type sudo apt-get update
e.)Type sudo apt-get upgrade
f.)Type sudo apt-get install irssi-text (you can use this to get help!)
g.)Type sudo apt-get install elinks (a very helpful text browser) (this is optional you can use w3m if you wish).
Step 3: The hard part.
a.)sudo apt-get install x-window-system-core
b.)sudo apt-get install xbase-clients
c.)sudo apt-get install xserver-xorg
d.)sudo apt-get install openbox obconf
e.)You can make a choice here. If you want you may choose any of the various terminals supplied to you. Therefore, you can have gnome-terminal, kterminal, xfce4-terminal, or xterm. I chose xfce4-terminal because its easier to read, customizable, and lighter than gnome-terminal and kterminal. So sudo apt-get install (one of the above terminals)
f.)You may get any web browser you so choose. If you want to sudo apt-get install mozilla you may. However, If you want to have the newest version of Firefox (which is the great part of a clean install) with this fresh install you can simply get it from the Firefox website using w3m or elinks! If you choose to do this make sure you decompress and untar Firefox before proceeding to the next step.
g.)Now run updatedb
h.)Type Locate menu.xml and cd to the location.
i.)Using your favorite editor open menu.xml (sudo vi/nano menu.xml)
j.)Now for where it says:
<item label="Terminal">
<action name="Execute"><execute>x-terminal-emulator</execute></action>
</item>
replace x-terminal-emulator with the emulator you apt-get installed in step 3 part e. For example, since i chose xfce4-terminal this is how my xml coding looks like
<item label="Terminal">
<action name="Execute"><execute>xfce4-terminal</execute></action>
</item>
k.)To set up the browser button find where it says
<item label="Web browser">
<action name="Execute"><execute>x-webrowser</execute></action>
</item>
and where it says x-webrowser type the browser you chose in step 3 part f. If you got the newest version of firefox it is pertinent you put the whole string, meaning the directory and such. For example,
<item label="Web browser">
<action name="Execute"><execute>/home/n0dl/firefox/firefox/./firefox</execute></action>
</item>
Step 4: Moment of truth!
a.) Type startx
God speed!
If you have problems you should check your .xsession-error. Its a log that tells you what went wrong. To access it type sudo vi (or nano) /home/username/.xsession-errors and scroll down... The newest problem is at the very bottom... Most likely you edited your xml script wrong
Well the background is an unfriendly shade of gray and the cursors are a tad different. But I will leave the cutomization to you. Here are some links to help you out to customizing your new openbox!
https://wiki.ubuntu.com/Openbox (official wiki)
http://ubuntuforums.org/showthread.php?t=75471 (fun with alt-tab!)
http://www.boxwhore.org/modules/news/ (disregard the name... Its a themes site)
Here are some screenshots of my openbox! (I am using the bluish theme)
Bookmarks