- [Instructor] Hi, and welcome to the next video
of the last section, Taking Screenshots from the Terminal.
In the previous video, we've seen about
bulk image resizing and format conversion.
In this video, we'll see how to take
screenshots from the terminal.
Taking screenshots is another common day-to-day
activity for any computer user.
It becomes even more important for administrators
that maintain GUI applications
running on computers and automate them.
It's important to take screenshots when a particular event
happens to figure out what is going on in a GUI application.
We'll be using a tool from the suite of programs called
ImageMagick, which was used in the previous recipe as well.
Install it using your package manager.
Let's get started with using the Import command
from ImageMagick to take screenshots.
Take the screenshot of the whole screen.
Manually select a region to take the screenshot.
Take a screenshot of a specific window.
To find out window_id, run the command xwininfo
and click on the window you want.
Then pass this window id to the
minus window option of import.x.
Awesome, we've successfully learned
how to take screenshots from the terminal.
In the next video, we'll learn
how to manage multiple terminals from one.