Sample Header Ad - 728x90

Why are file managers not using top-dir trash dirs?

0 votes
0 answers
86 views
I'm making a FUSE filesystem with fusepy and I want to give a special meaning to deletion. I'd like to intercept moves to trash too. For this I would like file managers to use the trash dirs at the root/mount point of my filesystem (.Trash/$uid or .Trash-$uid) rather than the user ones (~/.local/share/Trash). I'm referring to the Freedesktop Trash specification . I've tried 3 file managers: * PCManFM-Qt uses the top-dir trash dir ; * PCManFM tells me the filesystem doesn't support Trash and offers a hard delete ; * Dolphin creates the top-dir trash dir if it doesn't exist but then uses the user one. Can I convince all file managers to use .Trash/$uid / .Trash-$uid?
Asked by Nahoj (129 rep)
Aug 17, 2020, 10:53 PM