Byron/trash-rs

Use Desktop Portal for Linux Sandbox Compatibility

Aberta

#140 aberto em 18 de out. de 2025

 (3 comentários) (4 reações) (0 responsável)Rust (40 forks)auto 404
help wanted

Métricas do repositório

Stars
 (247 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

It seems like at the moment, this crate doesn't use the xdg-desktop-portal API for trashing files. Sadly, this means that it doesn't behave correctly in sandboxed environments like e.g. Flatpak packages.

It would be great if that could be changed, and I think it would benefit the code in general, as that would be the preferred way to ensure that any usual Linux cases are handled properly. More on this can be read here, where the reasons are explained.

Guia do colaborador