ubuntu location of print screen code example
Example: print screen in ubuntu to folder
gsettings set org.gnome.gnome-screenshot auto-save-directory "file:///home/$USER/Downloads/"
gsettings set org.gnome.gnome-screenshot auto-save-directory "file:///home/$USER/Downloads/"