Need to Change Default Storage Location for Screenshots

Ubuntu Version: ubuntu 24.04.2
Kernel: 6.8.0-54-generic

I know I changed it once in the past but it was an aweful long time ago and may not have even been on this version. I’ve tried the couple things I could find to do but neither work. Also I don’t see anything so far that pertains to doing this on Ubuntu 24.04. I saw one old post that talked about doing this on 22.04 but I’m reticent to try that unless I’m certain its correct for my use case and version of Ubuntu.

Here are the things I’ve tried and the result

~$ gsettings set org.gnome.gnome-screenshot auto-save-directory "/home/jake/Collections/Screenshots"
No such schema “org.gnome.gnome-screenshot”

I also tried /org/gnome/gnome-screenshot/ and to navigate to /org/gnome/gnome-screenshot/ but (obviously) gnome-screenshot is not there.

Pretty much all my ideas are spent but I still need to get this set to the right path. Can anyone show how this is done?

Try changing the save location in the gnome screenshot “save” dialog. I find that when you change that, the change persists the next time you use screenshot.

My system: Ubuntu 24.10

A trick: I think you can’t change the official screenshots folder but you can make the official screenshots folder points to your desired folder.

For instance, if you want to make “~/Screenshots” the default folder for screenshots:

  • create the new default folder “~/Screenshots”

  • move the current screenshots from the current location (probably “~/Pictures/Screenshots”) to the new default folder in order to delete that folder without losing it’s contents.

  • delete the current screenshots folder (probably “~/Pictures/Screenshots”).

  • link the deleted screenshots folder to the new one:
    $ ln -s "/home/user/Screenshots" "/home/user/Pictures/Screenshots"

So it will still create the screenshots in the official folder but as it’s pointing to the one you wanted you can just use that folder instead.

2 Likes

Do you know where this can be found. I’m don’t see it anywhere and when I search gnome screenshot “save” dialog results say it does not exist.

Interesting but I think having the default directory hanging around (duplicate directories) and linking them would not work for me. I’m needing to find a way to specify a single, custom location.


I wonder if there might be an alternative screenshot tool that you can set the default save location? You like something where they actually built that feature into it?

Here’s a rather crude way to figure it out:

  1. Create a file: touch ~/foo
  2. Create a screenshot
  3. Find all files in your home newer than the file you created: find ~ -type f -newer ~/foo

The directory where screenshots are saved using the default screenshot tool of Gnome Shell is hardcoded. If you want to continue using that tool, look no further than the recommendation of fprietog: redirecting the screenshots to a directory of your choice is your only option apart from editing source code.

Suggestions of Dennis_N are applicable for the traditional gnome-screenshot tool. With that, and other traditional screenshot tools, you can configure the directory where screenshots should be saved.

You can easily move to another screenshot tool if you desire. It then suffices to remove the default keybindings in “Settings” - “Keyboard Shortcuts”, section “Screenshots”, and instead, under “Custom Shortcuts”, set up these shortcuts to use your tool of choice.

3 Likes

I installed shutter but have to run x11 for it to work. I’m not sure if I like it though. Tried to install flameshot but couldn’t get it to work. Isn’t there some good modern, foss solution that just works and works on wayland?

The traditional gnome-screenshot is still around and works flawlessly on Wayland.

1 Like

This topic was automatically closed after 29 days. New replies are no longer allowed.