In windows you could use the intellipoint software to customise the mouse buttons to do diferent things for diferent programs. I'm looking for somethign smilar in linux. So I can bind moust buttons to key commands depending on the program.

I'm using gnome under debian sarge beta. I have my mouse configured for 5 buttons and a wheel. The wheel works fine in everything and the side buttons work fine for back and foward in firefox, but not much else.

I particular I want to configure back/foward buttons in the file mannager. (currently konqueror but it I can never decide which one I prefer) None of the major ones seem to support the back/foward buttons. (To be more specifiv I want to configure it to do up a directory/back)

Anyone know of such a program?