Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to screen capture to GIF using Byzanz

📅 2014-Jan-24 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ byzanz, gif, screen capture ⬩ 📚 Archive

Byzanz is a command-line tool that can be used to screen capture and save it to an animated GIF file.

To install Byzanz on Ubuntu, add the PPA and install the package:

<code>$ sudo add-apt-repository ppa:fossfreedom/byzanz
$ sudo apt-get update
$ sudo apt-get install byzanz

You capture using the command byzanz-record. By default, it captures for 10 seconds. For example:

<code>$ byzanz-record foobar.gif

To add a delay of 5 seconds before starting the screen capture:

<code>$ byzanz-record --delay=5 foobar.gif

Tried with: Byzanz 0.3.0 and Ubuntu 12.04

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧