Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In gnome's screen shot program, the quick keys PrtScn captures the entire screen and alt+PrtScn captures the active window. Is there a way to script or set up the third capture option of a selected area?

Update: I don't seem to have this key already mapped... enter image description here

share|improve this question
Which Ubuntu version? – izx Jul 31 '12 at 14:52
in 16.04 There is already a short cut of shift-print – Christian Bongiorno Mar 16 at 21:13
This question was for 12.04. (It was a tag) – Richard Mar 16 at 21:42
up vote 58 down vote accepted
  1. Open System Settings -> Keyboard -> Shortcuts
  2. Select Custom Shortcuts(you can go to Screenshot-s too and it will work)
  3. Click +
  4. Fill fields
    • Name to Take a screenshot of area
    • Command to gnome-screenshot -a or shutter -s(if u prefer shutter)
  5. Click OK
  6. Double-click on what you make and set shortcut Shift+PrtSc

— And that's all ... ;)

making command
settings shortcut

share|improve this answer
How should I do this on Lubuntu 12.04 ? – Neptunno Jul 31 '12 at 16:51
open Sistem Settings -> Keyboard settings and follow steps @Halkinn, or go to chat and say what you can't get – geoh Jul 31 '12 at 16:54
Ubuntu 12.04 has this shortcut built in out of the box now as per the answer below. – sjakubowski Jun 11 '14 at 18:30

That shortcut is already built-in: Shift+PrtScr :)

The full-list of screenshot keyboard shortcuts is:

enter image description here

share|improve this answer
Thanks, but I don't seem to have that. Would you mind posting a screen shot of which command this is mapped to? I've included a screen shot of mine above in the update. – Richard Jul 31 '12 at 14:49
Found it: gnome-screenshot -a – Richard Jul 31 '12 at 14:57
that is only in ubuntu 12.04+, and @Richard i have posted answer – geoh Jul 31 '12 at 15:03
Also works on Ubuntu 14.04 – Yehonatan Tsirolnik Jun 11 '14 at 15:19
Works for me too on Ubuntu 14.04 – Abderrahmane TAHRI JOUTI Jan 22 '15 at 8:46

While to above answers worked for me in Ubuntu; after switching to Lubuntu I noticed that the ShiftPrtScn was no longer working.

The following procedure fixed it for me. Since in Lubuntu the program scrot is used, I found that I had to add the following to the ~/.config/openbox/lubuntu-rc.xml:

<!-- Launch scrot with interactive select when Shift-Print is pressed -->
<keybind key="S-Print">
  <action name="Execute">
    <command>scrot -s</command>

After the change do not forget to issue: openbox --reconfigure to activate the updates.

See the Lubuntu documentation for more details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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