this post was submitted on 28 Jan 2025
1671 points (99.6% liked)

Programmer Humor

20215 readers
1746 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 2 days ago (3 children)

you should do this with every one of these cases. btw, where does .Trash-1000 actually come from?

[–] [email protected] 8 points 2 days ago

.Trash-999 was already taken by a metal band.

[–] [email protected] 1 points 2 days ago

I had a long and frustrating conflict with this, on this post.

As @d_[email protected] (An dem Punkt könnten wir auch einfach Deutsch labern) noted, it's a freedesktop.org specification.

I still stand the point that it's not very thought through (a hidden dir? Why?), and that blindly implementing it is annoying. It shouldn't be a universal standard for all systems, as it's only relevant if you use a file manager which can then use that dir as Trash dir - which I don't. That could be tested by only allowing filemanagers to create the dir, and if it doesn't exist, discard the data. That's probably how some programs work, as only Prismlauncher has created the dir.

Workaround: ln -s .Trash-1000 /dev/null

[–] [email protected] 11 points 2 days ago

Freedesktop.org’s trash specification. It’s where files moved to trash go before being deleted when it’s emptied. The 1000 is the user id.