If you're anything like me, your Fluxbox environment is heavily driven by terminals. Gentoo especially demands it, and I find myself continually having 6 or 7 terminals open at once. Frankly, this leads to a lot of clutter, and Its nice to be able to sort out all of my terminals without removing my hands from the keyboard.

The following hot keys allow you to use the Meta(win) button + a number on the numpad to automatically re-size the active window. The respective sizes are mapped visually to where they would be on the numpad. Here's how it works:

The corner numbers, 7, 9, 1, and 3, resize the window to a quarter of the screen and move it to its respective corner. The "Arrow" numbers, 8, 6, 2, and 4, resize the window to a half screen and move it to its respective corner. I've changed the function of the 5 key several times, but I've settled on having it maximize the active window.

This particular set up is for a 1600x1200 resolution, and will need to be adjusted for different resolutions. I thought about writing a script that did this, maybe in the future.

I set the "Menu" key (the one next to the Right Control key) to open a new terminal, and a bash alias that takes 'e' for 'exit', and I can practically throw terminals around the screen, opening new ones and removing them as I need them.

Since you enjoy this sort of tiling layout feature, have you looked into tiling window managers? (dwm, ratpoison, etc.)

Thanks for pointing that out, there's some really potent stuff in there. I started using Fluxbox years ago, and have since returned to it (Compiz is just too bloated). Its nice to see that Fluxbox has been growing. I've been told that ratpoison would be up my alley, I might have to check it out._________________AMD am386DX-40 (40Mhz) , ECC-SIMM (Single Inline) 4MB, Seagate ST3120A 107MB IDE, Hercules ISA Graphite 1MB 16-bit VGA AGX014 Chipset, Soundblaster 16, Toshiba XM-4101B 2X SCSI CD-ROM

Have you tried using the built-in functionality that Fluxbox offers, namely, MoveTo, ResizeTo, and so on?

I was searching for the codes of the keys on the numpad to implement the same feature xiandrow posted here. It turns out that those keys can be also referred to as 'KP_i', where 'i' is the correspondent number of the key. Also, I'm using the built-in functionalities of Fluxbox, as questioned by RedSquirrel. The current state of my implementation is shown below:

As you may have noticed, the key strokes to resize and move the windows are Ctrl+Alt+Numpad, and the ResizeTo arguments were calculated for a screen resolution of 1920x1200.

Known issues:
- The current implementation only works for one screen resolution (I don't know if there is some kind of variable that holds the width and height of the screen);
- If you start resizing a mazimized window with one of the commands above, when you try to maximize it again you have to type Ctrl+Alt+5 twice, as at the first time the window behave as it was still maximized;

I know this is an old post, but with the new Fluxbox 1.3.2 there are new Fluxbox commands that will arrange the window automatically.
arrangewindowshorizontal will arrange the windows horizontally.
arrangewindowsvertical will arrange the windows vertically.