sysop
deepin
2017-10-07 02:49 桌面快捷方式重命名后怎么显示的名字变了 实际文件名一直是原来的呢?


Reply Like 0 View the author

Termina=false
https://bbs.deepin.org/post/146371
s/Termina/Terminal
另外,回收站本来就是gvfs创建出来的虚拟文件系统,如果/home单独分区,就是和/home共 ...
https://bbs.deepin.org/post/146371
我记得以前有段时间好像deepin还是ubuntu 记不清了
删除ntfs分区的文件会把文件移动到所在分区的.Trash目 ...
sysop 发表于 2017-10-6 18:54
吐槽下回收站
删除文件实际是移动文件到系统分区 删除大文件很慢
能不能在每个分区分别设置回收站呀
Popular Events
More
其实有只刷新图标 不改变排序的办法
解决分区后挂载图标带锁 下载到桌面的文件没显示等等
原理刷新回收站图标 所有桌面图标都会刷新
在/home/用户名/Documents
新建
refresh.sh
#! /bin/bash
mkdir /home/用户名/.local/share/Trash/files;
touch /home/用户名/.local/share/Trash/files/`date +%y%m%d`.txt2;
rm /home/用户名/.local/share/Trash/files/*.txt2;
再加两行 兼做清空回收站
rm -rf /home/用户名/.local/share/Trash/files;
rm -rf /home/用户名/.local/share/Trash/info;
桌面新建
refresh.desktop
[Desktop Entry]
Categories=Development
Exec=/home/用户名/Documents/refresh.sh
Icon=/home/用户名/Documents/refresh.png
Name=refresh
Termina=false
Type=Application
Version=1.0
效果