I take screenshots a lot. I usually take screenshot of an area, I then recheck if I have the desired area and then copy it to clipboard.
I want to change this behaviour so that immediately upon pressing Shift+PrntScr the screen capture application allows me to select an area, and immediately afterwards it provides me with the option to save to a particular location or clipboard.
I want Shift+PrntScr to bring up a pop-up screen like this:
Try this answer first to get something identical to the old behaviour.
You may create a new keyboard shortcut for the command
as an alternative.
To do that follow the steps.
gnome-screenshot --interactive
in the Command box.Now whenever you press Super+Print a window offering various screenshot options (whole screen/current window/selected area) should appear. Once you take the screenshot it will offer you to choose the location to save the screenshot as in the image in your question.
For convenience you may first change the shortcut for "Save a screenshot to Pictures" in the keyboard shortcut list to something else like Super+Print and assign Print to the custom shortcut you just created.
Also you might want to try using
This command lets you straight away capture an area and copy the image to the clipboard.
Refer to this answer for an ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
Step one
You'll need
zenity
. If it's not installed, install it first by runningThen create a script, say text file named
prtscr-chooser.sh
somewhere, say in your home directory. Add the following lines to the file:(Put
gnome-screenshot -a
in place ofgnome-screenshot
in the second line to capture an area instead of the whole desktop)Finally make the script executable (refer to this).
Step two
Assign the script to Print Screen:
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
).(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Now you should be getting a 'save as' dialogue which will let you choose the folder and name for the screenshot.
You can get the old behaviour back using the screenshot tool from MATE desktop environment, example:
You should be able to use this on GNOME without an issue.
First install
mate-utils
by running the following command in Terminal:Then you would be able to get the old behaviour with the
mate-panel-screenshot
command. You can use the-a
or-w
options with this command for capturing an area or the focussed window, respectively, instead of the whole screen.You can assign the command to PrtScr (or Shift+PrtScr or Alt+PrtScr) following the steps below:
mate-panel-screenshot
in the 'Command' box (ormate-panel-screenshot -a
for an area ormate-panel-screenshot -w
for a window).You can install a Gnome extension called Screenshot tool. Very handy, a dialogue box will pop up asking for copying or saving the screenshot just taken.
The previous behaviour of gnome-screenshot (as illustrated in the question) was press PrtScrn, possibly with modifier keys, to take the shot and then the save-as dialogue would come up.
No solution suggested for gnome-screenshot-3.25.0 replicates exactly that. The only way I managed was to install gnome-screenshot_3.10.1 and use apt hold to stick it there.
Not a "good" solution technically.
Download the 3.10 package rather than adding the Trusty repos
There is no popup [from the hotkey combos] now, but the screenshot tool is still there in Ubuntu 17.10.
You can find it via Activities (in the top left corner) if you type a letter or a few letters, s, sc, scr ...
Click on the camera icon, and you get the screenshot app window.
For Ubuntu 20.04:
/usr/bin/gnome-screenshot --interactive
to Command field,This script:
Step 1:
Create
prtscr-chooser.sh
fileLet it executable:
Step 2
Assign the script to Print Screen:
/home/YOUR-USERNAME/prtscr-chooser.sh
(your actual username in place ofYOUR-USERNAME
).(You can follow the same method to assign the script the some other keyboard combination, e.g. Shift+Print Screen)
Take a look at Shutter, it do very well. Screen, window, or area of screen screenshots with various options. Sit in tray and waiting for click or keyboard shortcut. You can rename file or configure auto naming. Here are screenshot of main options window.