[Kernel/Drive] 文件管理器搜索记录怎么删除
Tofloor
poster avatar
kexiao8
deepin
2022-07-18 18:44
Author

截图_选择区域_20220718102622.png如图,输入一个S,就会出来之前搜索过的记录,请问这个记录怎么删除,怎么设置不让记录

Reply Favorite View the author
All Replies
xuqi
deepin testing team
2022-07-18 18:55
#1

如图,输入一个S,就会出来之前搜索过的记录,请问这个记录怎么删除,怎么设置不让记录

image.png

Reply View the author
xuqi
deepin testing team
2022-07-18 18:56
#2
  • /home/uos/.config/deepin/dde-file-manager
  • samba的文件配置好像在samba.json里面
  • 搜索的文件配置在dde-file-manager.obtusely.json里面
  • 删除对应的配置文件里面信息应该就可以了
Reply View the author
xuqi
deepin testing team
2022-07-18 18:58
#3
Reply View the author
吉吉如律令
deepin
2022-07-18 18:59
#4

~/.config/deepin/dde-file-manager/dde-file-manager.obtusely.json这个文件,打开,找到SearchHistory这一项,就在这个文件开头就是,删掉后面中括号里的内容,再打开文件管理器就没有搜索记录了,你可以根据这个写个脚本,我技术有限,不知道怎么写

Reply View the author
kexiao8
deepin
2022-07-18 19:08
#5

已测试成功,感谢大神

Reply View the author
kexiao8
deepin
2022-07-18 19:18
#6

手动方法测试成功,脚本给过权限试了下没成功,不知道什么原因,我用命令行cd到dde-file-manager后用vi打开编辑 dde-file-manager.obtusely.json的,dd删行,ESC结束,WQ保存

Reply View the author
138******89
deepin
2022-08-28 00:23
#7

右上角菜单-连接到服务器,从那里的输入下拉框中清除访问记录后,重启文件管理器,之后所有访问记录被清除。

Reply View the author