3

If I press Print Screen then click and drag an area, it saves the screenshot to /home/james/pictures. How do I change the default save directory?

It seems like I can't under keyboard shortcuts:

enter image description here

I guess that you'd have to create a custom shortcut, although I'm not sure what command you'd use.

I'll try this answer.

Unfortunately it didn't work after I tried a few options:

enter image description here

enter image description here

Current values after saving:

enter image description here

enter image description here

1
  • NOTE: The command to capture an area instead of the whole screen is gnome-screenshot -a.
    – pomsky
    Oct 26, 2017 at 7:44

1 Answer 1

3

I saw this from here and steps were:

  1. Change the default location using gsettings:

    gsettings set org.gnome.gnome-screenshot auto-save-directory 'file:///home/cialu/Downloads'
    
  2. Modify the default shotcut behaviour as per a bug:

    • create a shortcut in Settings > Keyboard, pressing the + button there. Assign a name (e.g. "New screenshot") and the command to gnome-screenshot.

    • click in the "Disabled" label in the new shortcut and press the "Print Screen" key from you PC. Confirm the dialog that will ask you if you want to reassign the key to this new shortcut.

Note: Not tested by me.

Source:

https://www.reddit.com/r/gnome/comments/51erc1/how_to_change_the_default_gnome_screenshot_folder/

3
  • It works George, I have tested it in both Zesty and Artful: askubuntu.com/questions/961094/…
    – pomsky
    Oct 26, 2017 at 7:16
  • 1
    @pomsky done so! Oct 26, 2017 at 7:58
  • 1
    For some reason using gsettings didn't work: james@james-Streacom:~$ gsettings set org.gnome.gnome-screenshot auto-save-directory `file:///media/james/Seagate Expansion Drive/Downloads/Screenshots`. It just gave me a > prompt. But changing the location via the Dconf editor as per @pomsky's answer here worked along with disabling the default shortcut and replacing that same shortcut with a gnome-screenshot command (or with one of it's options like -w or -a).
    – James Ray
    Oct 28, 2017 at 0:55

Not the answer you're looking for? Browse other questions tagged .