Standard shortcut in Ubuntu
You can press Shift+PrtScr to make a screenshot of a region.
Assigning a shortcut to Shutter
- In Unity, go the dash (search field) and search for "Keyboard". Click it.
- Now click "Shortcuts" (or hotkeys)
- At the left bottom, you see "Custom shortcut". Click it.
- Now click the add sign button, a bit to your right.
- Fill in the name "Screenshot with Shutter" and the command "shutter -s". Confirm.
- Now click "Disabled" and press PrtScr on your keyboard.
Making a screenshot of a region from within GIMP (does not work if GIMP is not open)
- Under Edit -> Shortcuts you can see a category "Plug-ins". Open it.
- Scroll down until you find "Screenshot.."
- Click on disabled and assign a shortcut.
Making a screenshot of a region, opening with GIMP afterwards
- Save the below script to your home directory as screenshot.sh.
(screenshot is saved in home directory, to save in pictures add "cd ~/Pictures" to the top of the script, just below the first line)
TIMENOW=`date +%T` #results in 10:23:38
DATENOW=`date +%d` #results in 09 (day of the month)
shutter -s -o=$FILENAME
sleep 7 #you have seven seconds to take a screenshot, after that shutter is closed and we try to open gimp
- Now follow the steps above to assign a custom shortcut to the script. The command is now "bash screenshot.sh"