December 13, 2024
How To Quickly Grab Screenshot Of Desktop From Terminal In Linux Mint / Ubuntu

Here’s how to quickly grab screenshot of desktop from terminal in Linux Mint / Ubuntu:

1. Issue the following command at the terminal –

import -frame <filename.png>

for example the command –

import -frame screenshot.png

will allow us to capture a screenshot of a portion of the desktop and save it as ‘screenshot.png’ in the current working directory.

How To Quickly Grab Screenshot Of Desktop From Terminal In Linux Mint / Ubuntu

2. As soon as the above command is executed, the cursor changes to cross-hair and allows you to select a portion of the desktop which you wish to capture in the screenshot.

How To Quickly Grab Screenshot Of Desktop From Terminal In Linux Mint / Ubuntu

3. As you can see, the portion that we selected got saved as ‘screenshot.png’ in our current working directory.

How To Quickly Grab Screenshot Of Desktop From Terminal In Linux Mint / Ubuntu

How To Quickly Grab Screenshot Of Desktop From Terminal In Linux Mint / Ubuntu

By admin

Related Post