72

I can see how to use Gimp to crop part of an image in a image file, but I want to crop a portion of the screen. How do you do that?

  • I see you signed on two days ago so are still active user here. Below the answer with 107 up-votes has many comments saying it should be the accepted answer. Have you given any thought to changing the accepted answer? – WinEunuuchs2Unix Jun 10 '18 at 22:25
  • OK just did it. – Bob Yoplait Sep 19 '18 at 18:06

13 Answers 13

154

On Gnome Shell (17.10+)

To use the built-in gnome-screenshot capability (by default):

  • Ctrl + PrintScreen to copy a screenshot of the whole Desktop.
  • Ctrl + Alt + PrintScreen to copy a screenshot of the current active Window.
  • Ctrl + Shift + PrintScreen to copy a screenshot of an area you select with your Mouse.

screenshot

On Unity

To use the built-in Screenshot capability:

  • PrintScreen to copy a screenshot of the whole Desktop.
  • Alt + PrintScreen to copy a screenshot of the current active Window.
  • Shift + PrintScreen to copy a screenshot of an area you select with your Mouse.
  • 12
    This should be the accepted answer. – Behnam Oct 26 '16 at 20:18
  • 1
    Correct, this should definitely the accepted answer – bogdan.rusu May 19 '17 at 10:56
  • 1
    Created an account just to upvote this. – iceman Jun 12 '17 at 11:56
  • Why isn't this the accepted answer? – Matt Cavanagh Aug 9 '17 at 17:39
  • First search result using Google led me here. Thanks! – rayryeng Sep 25 '17 at 14:23
29

Applications, Accessories, Take Screenshot... Select area to grab.alt text

  • 1
    Thank you for answering my basic question. I would have expected this to be in the "Graphics" menu with other image manipulations tools. – Bob Yoplait Dec 26 '10 at 9:44
19

Method 1:

  • Goto Applications>>Accessories>>Take Screenshot
    alt text
  • Now you can select the portion of a screen.

Method 2:

  • If you use shutter Applications>>Accessories>>Shutter
  • Open it and click selection in the top of the screen.
    alt text
  • Now you can select the portion of the screen.

Method 3:

  • Take a screenshot of a whole desktop by hitting printscreen.
  • Open the screenshot using GIMP.
  • Press SHIFT + C to crop the portion.
7

Shutter is also a great capturing application and it can crop a portion of the screen automatically.

7

Well if you mean pressing the Print Screen button and then cropping with a console tool, then you have mogrify to do that (by installing the imagemagick tools)

If you want to take a picture of a certain windows, select the window a leave Alt pressed while pressing the Print Screen key.

Using Compiz, you can zoom to an area using the Super key and scrolling inwards, then Print Screen.

In KDE you have ksnapshot which gives many abilities, one including taking a snapshot of a region.

  • :) "mogrify"... It sounded like a slang term, but I just found out its an actual Linux command.. (and here is the word's etymology if you're interested... and I lke the compiz idea.. thanks – Peter.O Dec 26 '10 at 5:56
6

With imagemagick installed, you can type:

import filename.png

at the command prompt. It will give you a cross-hairs you can use to draw a rectangle on the screen which it will then capture.

(filename.png can be any graphics format.)

4

scrot

sudo apt-get install scrot

scrot (SCReen shOT) is a simple commandline screen capture utility that uses imlib2 to grab and save images. Multiple image formats are supported through imlib2's dynamic saver modules.

Run: scrot -s

-s, --select : Interactively select a window or rectangle with the mouse.

3

Just wanted to add that you can now type shift+printscreen to select an area to print.

2

If you want to use GIMP to capture only part of a shot of the display screen, then use File - Acquire - Screenshot - Select region to grab - Snap. Left-click on the screen, hold button down, drag to form a rectangle, and release the mouse button to capture an image of the selected portion of the screen.

Note that different versions of GIMP use different command menu sequences, e.g. "Acquire" may be labelled "Create".

2

None of the answers worked for me in Linux mint 18 Cinnamon 64-bit,

The following thing in the screenshot worked for me,

enter image description here

Adding steps that I followed as suggested by Tshilidzi Mudau,

  1. Created a script gnome_area_screenshot.sh, contents of which are as follows,
#! /bin/sh

sleep 0.125
gnome-screenshot --area
  1. Opened Keyboard settings from settings menu.

  2. Click on Shortcuts tab.

  3. Click on Add Custom Shortcuts present at the bottom panel.

  4. Give name as 'Area Screenshot' (or anything you wish to).

  5. And Command as /gnome_area_screenshot.sh.

  6. In the Keyboard Shortcuts select 'Area Screenshot' and in the Keyboard bindings Double click and give any key combination which you wish to give as keyboard shortcut.

  • Hi @Gokul Kulkarni, maybe put the steps you followed and the code/commands you ran instead of screenshots? – Tshilidzi Mudau Jul 21 '17 at 7:05
  • @Tshilidzi Mudau updated the answer. – Gokul Kulkarni Jul 21 '17 at 7:17
  • Looking good :) – Tshilidzi Mudau Jul 21 '17 at 7:19
0

If you're using GNOME, the imgur screenshot uploader is pretty great. It sits in the top bar. It gives you the option to drag and select an area, select a window, or select a desktop to screenshot. It'll automatically upload the screenshot and give you the link to it.

0

use the shotcuts. 1.open system-keyboard-Shortcuts

enter image description here

2.click "Custom Shortcuts"

3.click the button "+" on the right

enter image description here

4.add a name such as "crop", and add the following line(asume you are using gnome)

gnome-screenshot -a

enter image description here

5.click add

6.click "Disable" && set a shortcut as you wish

7.Pictures would automatically saved in the folder "Pictures"

enter image description here

-1

I write a bash simulate key shortcut Cmd+Shift+4 in OSX for fast crop screen. What make this shortcut useful because it reduce the number of step to create a crop image. You just need call Ctrl+Shift+4 and drag, file cropped auto save with name format by time created, no popup, typing name etc needed.

  1. add key shortcut Ctrl+Shift+4 in Custom key shortcut. Command link to your bash (eg: /home/nickfarrow/bin/scrot.sh)
  2. Install scrot tool (similar import tool in imagemagick)
  3. add bash to crop screen using scrot or import (need imagemagick): like:

    #! /bin/bash
    DATE=$(date +"%Y-%m-%d_%H_%M_%S")
    scrot -s ~/bin/crop/$DATE.png
    

~/bin/crop is the folder store crop image.

(Sorry for my English) Hope this help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.