hanzn-zzx
2023-07-04 07:44 deepin
感谢神末大佬!(能直接接入deepin的回收站吗?)
Reply Like 0 View the author
感谢神末大佬!(能直接接入deepin的回收站吗?)
感谢神末大佬!(能直接接入deepin的回收站吗?)
接入是没办法了,可以用文中的方法外挂
链接修复了,可以下载了
这个必须点赞👍🏻
感谢分享
已点赞
有规划未排上期,这个功能其实很早在云桌面管理中就有的功能了。
Popular Events
More
现在主流的安卓和苹果手机都有回收站功能,就是在删除文件之后不立即释放空间,而是放到回收站中,保留一段时间(一般是30天)后删除,这样防止反悔
Linux下有一个开源的工具,叫autotrash,然而是用python2写的,而且已经不再被主流发行版收录了。为了解决这个问题,我用bash写了个阉割版的autotrash,仅仅保留了定时删除的功能(其实基本就够了),用GPT做了国际化支持之后上传到了星火商店
基本用法:
比如 autotrash -d 30,就是删除回收站中已经过了30天的文件。把这个东西添加到开机任务中,就可以做到回收站自动清理,这样就可以在删除文件的时候随心所欲不用担心误删,又不必担心回收站爆满了
这里是一个使用的例子
把这段配置文件保存为.desktop结尾(比如trash-clean.desktop),放到
~/.local/share/applications/
里,就可以在启动器中看到了。这时候只要加上开机启动就可以快乐地每次开机自动清理回收站了这个鬼东西通过ChatGPT支持了中英日和繁体中文,详情可以参考 https://gitee.com/spark-community-works-collections/transhell/blob/master/Let-GPT-Help.txt