Batch resizing of images in linux with ImageMagick

Overwriting the current pictures:
mogrify -quality 85 -geometry '2048x1536>' *.jpg

Creating new pictures:
for i in *.jpg; do convert $i -quality 85 -geometry '1024x768' small_$i; done

Really usefull when you have to convert many pictures at once.

Microsoft Intellimouse Explorer 2 side keys with gentoo

First of all read this great HOWTO: HOWTO_Mouse_Nav_Buttons. I am using Fluxbox and gdm so the point where it says about sticking “imwheel -f -k -p -b “67”” in my .xinitrc does not work. What I did was add “imwheel -k -b67” to my .fluxbox/startup. Using a .imwheelrc file that’s inside that HOWTO I am now able to go back and forward pages in Firefox using the side buttons.
I will start checking out .imwheelrc to see if I can come up with any good general shortcuts using the side buttons.