8

Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/

How can I change this location?

PersianGulf
  • 10,728
  • 8
  • 51
  • 78
  • I know this question specifies Mint, but since it shows up in Google for Ubuntu. FYI anyone on 18.04+, Ubuntu doesn't use Gnome-screenshots, it uses a settings daemon. The dconf auto-save directory is ignored (it's a WONT_FIX bug). The only way to set the save location is with a Gnome Tweaks extension: https://askubuntu.com/a/1102530/783117 – Chris Hayes Feb 05 '21 at 18:43

2 Answers2

11

Open dconf-editor (note that you may need to install it first: sudo apt install dconf-editor)

Navigate to org.gnome.gnome-screenshot:

  • org
    • gnome
      • gnome-screenshot

Then enter a value for auto-save-directory in the format file:///path/to/directory/ e.g

file:///home/yourusername/Pictures/screenshots/
CoderGuy123
  • 172
  • 1
  • 10
  • Note: Be sure to press enter when you have finished typing the value entry so that it is saved. If the dconf Editor window looses the focus your changes will be discarded unless you have pressed enter to "Enter" them. ;-) – Jesse the Wind Wanderer Apr 29 '16 at 11:56
2

Using the terminal

Setting the auto-save-directory

gsettings set org.gnome.gnome-screenshot auto-save-directory '/home/yourpath'

Getting it

gsettings get org.gnome.gnome-screenshot auto-save-directory
xjcl
  • 321
  • 3
  • 8