Byron/trash-rs

Use Desktop Portal for Linux Sandbox Compatibility

Aperta

#140 aperta il 18 ott 2025

 (3 commenti) (4 reazioni) (0 assegnatari)Rust (40 fork)auto 404
help wanted

Metriche repository

Star
 (247 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor