The GIMP rotation tool is quite good. But I think straightening an image could be done even a little bit easier. I like the way it is done by my former image processing program more than working with the grid of the GIMP rotation tool. So I tried to imitate it by a script. Now you just have to place two mark points on a line that should be exactly horizontal or vertical after rotation and to run the script.