方式一:
http://blog.youkuaiyun.com/abclixu123/article/details/46592867 使用byzanz.
坏处:还要自己获取录制位置,极其不方便!!
方式二:
http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast
也不太方便.
方式三:
https://www.maketecheasier.com/animated-gif-ubuntu-gimp/ 用图片生成gif
方式四:
推荐使用的是:(但部分不能用,比如ubuntu 15.04)
https://github.com/colinkeenan/silentcast
– 可以用鼠标选中要生成gif的位置,不用自己手动获取窗口位置.
Installing Dependencies
Ubuntu
If running KDE Plasma 5, install the gir1.2-gtk-3.0 and gir1.2-appindicator3-0.1 packages.
If running Gnome, install Topicons
Install what you can with apt-get:
$ sudo apt-add-repository -y ppa:webupd8team/y-ppa-manager
$ sudo apt-get update
$ sudo apt-get install bash libav-tools imagemagick x11-xserver-utils xdotool wininfo wmctrl python-gobject python-cairo xdg-utils yad
$ sudo ln -s /usr/bin/avconv /usr/bin/ffmpegrun the following, condensed, command:
$ sudo add-apt-repository ppa:sethj/silentcast && sudo apt-get update && sudo apt-get install silentcast
install
$ sudo add-apt-repository ppa:sethj/silentcast
##The PPA so far supports for Ubuntu 12.04, Ubuntu 14.04, Ubuntu 14.10, Linux Mint 13/17.
$ sudo apt-get update
$ sudo apt-get install silentcast
Uninstall
Run sudo apt-get remove silentcast. You can then remove the PPAs with sudo add-apt-repository -r like so:
$ sudo add-apt-repository -r ppa:sethj/silentcast && sudo apt-get update
方式五:推荐使用:peek
https://github.com/phw/peek
部分适用.