Skip to content

spacefm-plugin/Trash: Improper Trashing of data on other partitions #14

Description

@scarlion1

When trashing data on another partition, instead of just moving the data to that partition's .Trash-$uid, this script/plugin will also "create links to the main trashcan so that all trashed items can be viewed in one place". That's not standard and will corrupt the listing of other trash cans such as the default one with Gnome, the one in Nautilus/Files, or the trash-cli interface.

The correct way (I guess) is to parse the list of mounted partitions, search for .Trash-$uid directories in the root, and list them all together. That's what trash-cli's trash-list does, it seems (I don't know python but, reading the beginning of the script, I get that impression).

What might be nice, is to somehow implement the results of trash-cli's trash-list into SpaceFM and just work with that...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions