Get imwheel (search google if your distro doesn't have it)
Move the file /etc/X11/imwheel/imwheelrc to /etc/X11/imwheel/imwheelrc.sample (we don't want that stuff there, the imwheel author doesn't know what we want! :-) )
Put this (or something similar) in ~/.imwheelrc:
None, Left, Control_L|Shift_L|Tab
None, Right, Control_L|Tab
None, Thumb1, Control_L|W
Start imwheel with:
imwheel -f -k -p -b "00678"
Put this command in your start file of whatever window manager you use, or use .xinitrc if you know how to.
(The 00678 argument tells it not to process the regular buttons, or wheel up/down, let the apps get these events normally).
Tadaa! note how Thumb1 closes tab (Control_L = left control), and wheel left/right navigate the tabs. Navigating tabs is a bit tricky (it repeats really quickly) but you'll get used to it ;-)
Last edited by ayqazi; 07-26-2006 at 04:18 AM.