Byzanz - small and useful utility for screencast which generate GIF on the output.
You can find more information about byzanz here and here.
Typical you are using Byzanz like that:
$ byzanz-record --duration=45 --delay=10 --x=0 --y=87 --width=860 --height=520 output.gif
Next, you are trying to hide anything in 10 seconds and doesn't know exactly when 45 seconds are, hell, will over.
I done small improvement to solve this issue: