Comments on A comprehensive guide to taking screenshots in Linux using gnome-screenshot

There are several screenshot taking tools available in the market but most of them are GUI based. If you spend time working on the Linux command line, and are looking for a good, feature-rich command line-based screen grabbing tool, you may want to try out gnome-screenshot. In this tutorial, I will explain this utility using easy to understand examples.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Ishan Jindal

Thanks. It was very helpful.  

By: R

Under GNOME this tool can also be invoked by pressing PrintScreen button. You can also use SHIFT and CTRL modifiers to change between full-screen, single window. Unfortunately, under Wayland this (and many other screenshot tools) do not work... all you get is a transparent area where the window contents should be. This appears to be a Wayland security feature. If anyone knows how to fix this, please let us in on the secret.

By: Dilshan

@R, I'm on Fedora 25 -> Gnome Shell 3.22.2 -> Wayland , and PrintScreen button works perfectly.

1) PrintScreen button -> captures full screen and Saves to File

2) PrintScreen button + Alt -> captures Active Window and Saves to File

3) PrintScreen button + Shift -> Mouse chages to a "+" to select an area and Saves to File

4) Any of the above + Ctrl -> Copies to memory but does not save to file

I don't think it's a wayland problem.

Regards,

By: uda

I use shutter, but I learned about xdotool :) thanks

By: Ausrpned

How can you change the default folder, Pictures, to a different default folder, e.g. temp?

Cheers

By: Saurabh Sharma

Do you know the Keyboard shortcut for this application? I know I can use PrintScreen Key. But what if I only want the shot of a portion of the screen?

 

By: Top

How do I store setup? I prefer "region" as default! But it starts alway with "Screen"

By: Susan

Dear Sir,

 We are upgrade our system from CentOS Linux 6 to CentOS Linux 7. After using new Linux version, the gnome-screenshot does not work properly any more.

In CentOS Linux 6, we used to do:

[opgdws02:/home/dc2] $ export DISPLAY=opccws02:0.0

[opgdws02:/home/dc2] $ /usr/bin/gnome-screenshot –interactive

This will take screenshot of node opccws02 screen and save it to the desktop of opdgws02.

 

But now use same command in CentOS Linux 7 :

[opgdws02:/home/dc2] $ export DISPLAY=opccws02:0.0

[opgdws02:/home/dc2] $ /usr/bin/gnome-screenshot –interactive

This will take screenshot of node opdgws02 screen stead of opccws02 screen and save it to the desktop of opdgws02.

Do you have any idea of it?

 

Many Thanks,

Susan Wang

 

 

By: Grillo

Hi, I was wondering if it is still possible to retrieve a screenshot even if it was not saved?

Is there a cache of screenshots somewhere that were taken but when the save file dialogue appears, were dismissed?