关于gnome3.10的recent目录的清单清除,如下:
++++++++++++++++++++
rm -f ~/.local/share/recently-used.xbel《-----删除后使用ALT+F2重启gnome-shell
++++++++++++++++++++
如果需要关闭recent目录,如下:
====================
rm -f ~/.local/share/recently-used.xbel
touch ~/.local/share/recently-used.xbel
sudo chattr +i ~/.local/share/recently-used.xbel
=====================
如果需要重新开启recent目录,如下:
×××××××××××××××××××××
sudo chattr -i ~/.local/share/recently-used.xbel
×××××××××××××××××××××
chattr命令是设置隐藏属性,i参数是让文件不能删除,更改,写入,更名
查看文件的隐藏属性可以使用lsattr
阅读(2747) | 评论(0) | 转发(0) |