Byron/trash-rs

Use Desktop Portal for Linux Sandbox Compatibility

开放

#140 创建于 2025年10月18日

 (3 条评论) (4 个反应) (0 位负责人)Rust (40 个派生)auto 404
help wanted

仓库指标

星标
 (247 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南