Theres my tut:
http://www.cartographersguild.com/showthread.php?t=1373
with down loadable free script to do it.

or search on here for "seamless" or RobA done a Gimp plug in using same principles:
http://www.cartographersguild.com/showthread.php?t=3232