On Mac OS X, there is a handy key combo for taking a screenshot of any arbitrary rectangle section of the screen(Command-Shift-4).
Is there something similar(maybe Compiz plugin) for Ubuntu/Gnome?
Shutter is a good screenshot tool that has this feature, among others.
Press shift + printScr and then a click drag to select the area you want a screen shot of
It is possible that the key combination shift+PrntScreen may not be the short cut to do this, then -
Command line interface way( i.e through terminal)(you need dconf-editor for this) -
gsettings get org.gnome.settings-daemon.plugins.media-keys area-screenshotto get the key combination currently assigned to get a screen shot of an area.
gsettings set org.gnome.settings-daemon.plugins.media-keys area-screenshot "[<Shift>Print']"Simly replace
"[<Shift>Print']"with your desired key combination.
Note: I have tried this method on Ubuntu 13.04, and I remember using it on Ubuntu 12.10. I know very little about the possibility of using these ways in Ubuntu versions before that..
If you use GIMP for image editing, File - Acquire - Screenshot - Select a region to grab will do the trick.
Have you tried compiz screenshot option!
Enable screenshot in your ccsm and then use Super Key (the Windows Key) + drag to get a screenshot of whatever area on desktop you like. The shots are saved on desktop (/home//Desktop) or wherever you choose when you enable the Compiz tool.
Alt+PrtScrn grabs just the active window. Not exactly the box you requested, but useful if you only want to grab the app you are using.
Taksi is screen/video capture with a twist. It is designed to capture live video from your 3d based games and other 3d applications. Taksi can even perform real-time compression to popular video formats such as xvid, divx, etc - or save it uncompressed. it also takes screenshots..
Now, I you hit the shortcut, the cursor changes to a big +. Select an area, and the screenshot is saved to the clipboard.
you could "map" a key combo to do a gnome-screenshot -w to grab a window or gnome-screenshot -i for interactive options.
and of coure, PrintScreen key grabs everything. :)
Someone else may have a better way.
In KDE I like to use KSnapshot. It's much simpler and faster than Shutter, so it's useful in those cases where you don't need to edit anything (for which Shutter is way more powerful!).
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?