Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on retrolemmy.com
linux·LinuxbyDie4Ever

I made my screenshots autosave to tmpfs

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.

View original on retrolemmy.com
56

13 replies

lemmy.ca

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

30

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

6

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

1
programming.dev

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.

6
Die4Everreply
retrolemmy.com

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)

4
Die4Everreply
retrolemmy.com

yea, in Spectacle click the Options, Configure Spectacle

in General, check "Save file to default folder"

and in Image Saving, set the Save Location

3

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.

2

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

1

You reached the end