Sadly, there is no great way to do gifs in Linux but so far the easiest and best way I have discovered is using LICEcap. Install LICEcap using Wine, and you are good to go!
LICEcap can be downloaded at: http://www.cockos.com/licecap/
Visit http://www.TutorialGeek.net/ for more tutorials, reviews, and other geeky stuff.