Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use Terminalizer under Linux

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to install and use Terminalizer under Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Terminalizer is a cool command-line screencap gadget that can be used to record steps on the command line and to render gif images to save.

To install Terminalizer, you first need to install Node.js (see https://www.linuxidc.com/Linux/2019-02/157179.htm), and then install the tool globally using the following command.

Linuxidc@linuxidc:~/www.linuxidc.com$ npm install-g terminalizer

Or

Linuxidc@linuxidc:~/www.linuxidc.com$ sudo npm install-g terminalizer

Installation of Node.js v10 or earlier should be very simple. For newer versions, if the installation fails, you may need to install development tools to build the C++ add-in.

After the installation is complete, you can start recording the Linux terminal using the record command, as shown in the figure.

Linuxidc@linuxidc:~/www.linuxidc.com$ terminalizer record linuxidcThe recording session is startedPress CTRL+D to exit and save the recording

To stop the recording session, press CTRL + D or use CTRL + C to terminate the program.

After you stop recording, a new file named linuxidc.yml is created in the current working directory. You can use any editor to open it to edit configured and recorded frames. You can replay the recording using the play command, as shown in the figure.

Linuxidc@linuxidc:~/www.linuxidc.com$ ls-l linuxidc.yml-rw-r--r-- 1 linuxidc linuxidc 17136 March 2 16:39 linuxidc.yml

Linuxidc@linuxidc:~/www.linuxidc.com$ terminalizer play linuxidc

Just now the order will be played automatically.

To render the recording as an animated gif, use the render command shown in the figure.

Password for linuxidc@linuxidc:~/www.linuxidc.com$ sudo terminalizer render linuxidc [sudo] linuxidc: Rendering frame 30 linuxidc 30% [=] 0.0sMerging frame 30% [=] 0.0sSuccessfully RenderedThe animated GIF image is saved into the file:/home/linuxidc/www.linuxidc.com/render1551516955861.gif

Use the generate command to create / generate a Web player for the recorded file.

Terminalizer generate linuxidc

(this command will be implemented in the next version.)

Last but not least, to create a global configuration catalog, use the init command. You can also customize it using the config.yml file.

Linuxidc@linuxidc:~/www.linuxidc.com$ terminalizer init

To get more details about all commands and their options, run.

Linuxidc@linuxidc:~/www.linuxidc.com$ terminalizer-help

The above is all the contents of the article "how to install and use Terminalizer under Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report