Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/
How can I change this location?
Pressing PrnScr "Print Screen" on the keyboard results in a screenshot being silently saved under /home/%user%/Pictures/
How can I change this location?
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/ 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 Since looking up this problem led me here first, I'll add this as future reference for others. Though this solution is a bit more rigid and requires you to put your screenshots in a "Pictures" folder of your choice.
You can simply edit your XDG paths in: ~/.config/user-dirs.dirs. If you want to change where your default "Pictures" folder is you can change your default Pictures folder location by setting XDG_PICTURES_DIR, e.g. XDG_PICTURES_DIR="$HOME/SSD/Pictures" in my case. Then taking a screenshot will make it land in $HOME/SSD/Pictures/Screenshots for me.
If it appears to not work, make sure you have a file called ~/.profile and it contains the line source ~/.config/user-dirs.dirs. You should also call xdg-user-dirs-update from your terminal. It has a bonus of adding icons to your folders as well so you can spot if your changes have had effects.
This solution appears to be valid for any GNOME desktop, and perhaps for many screenshot tools' defaults.