Refrasing FreeDesktop Trash spec (was: XDG base directories and [...])

Maurício Antunes mauricio.antunes at gmail.com
Tue Jun 24 17:58:19 PDT 2014


>> Should not that trash spec quote be refrased to say just
>> that the "home trash" should always be used for files
>> trashed in the same device [...]

> I have no objection to this spec change. [...] The phrase
> "home trash" is clear (and represents a trash directory
> with a differently constructed path from the other ones) [...]

Thinking again, there's no good reason to deduce from the
current version of the spec that files from $HOME should
go to the home trash dir. I still think a refrasing is useful, though.

Here is my "official" suggestion (is there an official
path to follow for these updates?):

Today we read the following.

    The “home trash” should function as the user's main
    trash directory. Files that the user trashes from the
    same file system (device/partition) should be stored here
    (see the next section for the storage details). A “home
    trash” directory SHOULD be automatically created for
    any new user. If this directory is needed [...]

I suggest it is replaced with this:

    The "home trash" should function as the user's first choice
    for a trash directory. Implementations MUST try it first
    when trashing files from the file system (device/partition)
    where it resides, and only resort to other options when
    that fails (see the next section for the storage details).
    The “home trash” directory SHOULD be automatically
    created for any new user. If this directory is needed [...]

What do you think?

Thanks for your thoughts. Best,
Maurício


More information about the xdg mailing list