In order to insert GIF dynamic diagram in the essay, Windows system can use screentogif This very good small software, in the Ubuntu system is a lot of choice (can refer to the bottom link), the following two Ubuntu system in the video screen software:
Byzanz
Install Byzanz:
sudo apt-get updatesudoinstall Byzanz
Use the Byzanz-record command to record GIF animations with the main parameters option:
Usage: Byzanz-record [options ...] record your current desktop session Help options:-?,--help display assistance Options--help-all Show all help Options--HELP-GTK show GTK + options application options:-D,--duration= SECS animation Time (default: 10 seconds)-E,--exec=command COMMAND to execute and time--delay=secs before start delay (default: 1 seconds)-C,--cursor record mouse cursor-A,--aud Io Recording-X,--x= pixels-pixel to record the y-coordinate of the rectangle,-y,--y= pixels. To record the square of the rectangle,-W, the width of the--width= pixel recording rectangle-H, the height of the--height= pixel recording rectangle-V,--verbose verbose--display= display The X display to use
The following command records the screen coordinates (0,0) at a width of 400 pixels, a height of 200 pixels in a rectangular area (the specified coordinate is the upper-left corner of the rectangle), recording time of 8s, output file Out.gif
$ byzanz-record--duration=8 --x=0 --y=0 --width= --height= Out.gif
Ubuntu has a gadget xdotool can get the coordinates of the mouse, so that you can know the location of the video area coordinates.
Install Xdotool:
sudo Install Xdotool
Command Line Input:
Xdotool getmouselocation
Move the mouse to the location you want to enter (upper left corner of the screen), and then tap enter to confirm the command, shown as follows:
You can know the coordinates of x and Y, and then get the parameters required by Byzanz-record.
Peek
The above Byzanz is a command-line-based recorder tool, which can sometimes be inconvenient to use. And peek is a screen with a graphic interface software, use more convenient than Byzanz.
In the Ubuntu 16.04 Terminal, enter the following command to install Peek:
sudo add-apt-repository ppa:peek-developers/stablesudo apt updatesudo Install Peek
After installation, directly enter the following command to run the program:
Drag the border to change the location and size of the interception area after the recording screen appears. Click the drop-down list next to the Record button, and you can select several other formats to save:
Click the Record button above to start recording. Here is an example that captures the scene of the robot simulation in the V-REP software:
Finish recording click Stop, and then wait for a moment to pop up the Save dialog box.
Reference:
Peek-an Animated GIF Recorder
Ubuntu Installation Byzanz Interception dynamics
Vokoscreen: Excellent screen recording software
Fast and easy GIF animation in Ubuntu environment
Production of animated animated pictures of Windows and Ubuntu under
Ubuntu 14.04 animating gif format with Byzanz
Install GIF Recorder Peek in Ubuntu 16.04 & Higher
How to create animated GIF images of a screencast?
GIF animation recording tool in Ubuntu