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.

  • tom_s@friendica.ambag.es
    link
    fedilink
    arrow-up
    1
    ·
    15 hours 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.

      • Ghoelian@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        12 hours 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.