-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/.Trash-1000
on filesystem creation.
#8339
Conversation
We thought we were fixing this in the past by creating the |
".Trashes" may be for some other operating system or environment, or it might be an outdated Linux usage. I wasn't able to establish for what OS this line was added. (some search excerpts seem to indicate it could have been MacOS) Things that follow xdg specifications, which many Linux DEs try to do, use XDG trash specification: https://specifications.freedesktop.org/trash-spec/trashspec-latest.html |
|
All I am saying is that KDE doesn't care at all about I think it would be best to leave |
I am feeling like we need to comment these with whatever environment type they're for. Otherwise, we're left scratching our heads later. Would you be willing to add a simple 1-liner comment that this is for Linux & a link to the xdg standards document I found related to this? thanks! |
What about users who have a different uid than 1000? |
Sure thing.
I mean, >90% will have uid 1000. There isn't a solution that covers all uids to my knowledge. |
Tidied it up a bit, moving the indexing stuff in one spot and the trash in another, along with adding the comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
This ensures that on linux no
.Trash-1000
folder is created, storing deleted files.The files will instead be sent to
~/.local/Trash
.This only covers deletions made by the user which has the uid 1000, but that's the default user uid.
Unless you are having many users on your system and you are a secondary user, you should have uid 1000.
It's not perfect, but better than not having it there.