56

I take screenshots a lot using Spectacle, so I set my default save location to /run/user/1000/screenshots and made it autosave and copy to clipboard.

Since /run/user/1000/ is a tmpfs, it gets wiped on reboot, it doesn't write to my SSD, and unlike /tmp/ it's inaccessible by other users. I think it's really convenient!

Anyone else doing this? I also often download zip files to /run/user/1000/screenshots so I can extract and delete the zip file without wasting SSD writes lol.

top 16 comments
sorted by: hot top new old
[-] snoons@lemmy.ca 30 points 4 days ago

I like to save my screenshots in case they become relevant, like so:

[-] diegantobass@lemmy.world 6 points 4 days ago

"Relevant" comes from "relief" and somehow it's exactly what your screenshot conveys. Pertinent.

[-] LiveLM@lemmy.zip 1 points 4 days ago

If anyone's wondering, it's a frame of the music video for A$AP Rocky's "Tailor Swif"

[-] starsoaked_lily@lemmy.ml 10 points 4 days ago

neat, thanks for sharing the idea

[-] Mihies@programming.dev 6 points 4 days ago

It uses RAM, though. And if I'm not mistaken, it could write to swap file. But I guess it's not an issue with screenshots unless one doesn't make million of those without deleting them.

[-] Die4Ever@retrolemmy.com 4 points 4 days ago* (last edited 4 days ago)

yea it does, but it's pretty minimal

mine is at 3.7 MB with 23 png files (I always use the rectangle select, not full screenshot)

[-] Mihies@programming.dev 7 points 4 days ago

That's worth at least $100 with current RAM prices ๐Ÿ˜œ

[-] onlinepersona@programming.dev 2 points 4 days ago

How did you do that? Is there a configuration option in the GUI?

[-] Die4Ever@retrolemmy.com 3 points 4 days ago

yea, in Spectacle click the Options, Configure Spectacle

in General, check "Save file to default folder"

and in Image Saving, set the Save Location

[-] onlinepersona@programming.dev 1 points 4 days ago

Nice, thanks!

[-] tom_s@friendica.ambag.es 1 points 4 days ago

@Die4Ever Thumbs up. I was reading, when will /tmp be cleaned without reboot, as default, is one day on debian. But for a workstation, you do not have to take care about this I think.

[-] tom_s@friendica.ambag.es 1 points 4 days ago

@Die4Ever /tmp as a directory, yes. Rest depends on your settings and software.

[-] Die4Ever@retrolemmy.com 1 points 4 days ago

I'd rather leave things as default when possible, /tmp/ being the public tmpfs and /run/user/1000/ being the private tmpfs

[-] tom_s@friendica.ambag.es 1 points 4 days ago

@Die4Ever

Why don't use /tmp for this?

$ mount | grep /tmp
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,inode64)

Devuan excalibur, Debian is the same.

[-] Die4Ever@retrolemmy.com 1 points 4 days ago

Because /tmp/ is accessible by any user

[-] Ghoelian@piefed.social 2 points 4 days ago

Don't the screenshots get saved with your user as the owner? The only real difference is that other users can list your screenshots in /tmp afaict.

this post was submitted on 30 Jul 2026
56 points (98.3% liked)

Linux

14526 readers
909 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS