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.

  • Mihies@programming.dev
    link
    fedilink
    arrow-up
    6
    ·
    17 hours 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.