Here is one ugly workaround to replicate the old behaviour that lets you choose the folder to save the screenshot after capturing.
zenity. If it's not installed, install it first by running
sudo apt install zenity
Then create a script, say text file named
prtscr-chooser.sh somewhere, say in your home directory. Add the following lines to the file:
gnome-screenshot -f ~/temporary-screenshot
SCREENSHOT=$(zenity --file-selection --save --confirm-overwrite)
mv ~/temporary-screenshot "$SCREENSHOT"
gnome-screenshot -a in place of
gnome-screenshot in the second line to capture an area instead of the whole desktop)
Finally make the script executable (refer to this).
Assign the script to Print Screen:
- Open Settings > Devices > Keyboard.
- Unbind Print Screen, i.e. change or remove the shortcut for 'Save a screenshot to Pictures'.
- Scroll down to the bottom.
- Click the '+' symbol. A dialogue should pop up.
- Enter any name you like in the 'Name' box.
- Enter full path to the script in the 'Command' box, i.e. in this case enter
/home/YOUR-USERNAME/prtscr-chooser.sh (your actual username in place of
- Click the 'Set Shortcut...' button and press Print Screen.
- Log out and log in again.
(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.
Note: If you press the 'Cancel' button in the 'save as' dialogue, you'll find the screenshot saved in your home directory with the name 'temporary-screenshot'. Delete it if needed.