Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
1  
Which Ubuntu version? –  izx Jul 31 '12 at 14:52

2 Answers 2

up vote 25 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 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
2  
Also works on Ubuntu 14.04 –  Yehonatan Tsirolnik Jun 11 at 15:19

Your Answer

 
discard

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.