Screen recording gif on Linux
To screen record a gif on Linux you can use Kooha, which can be installed as follows:
sudo apt install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub io.github.seadve.Kooha
To run Kooha from the command line, you can use the following:
flatpak run io.github.seadve.Kooha