Ubuntu下totem播放器删除最近打开的文件

参考自How do I delete totem's history?


Recent Document history for many Gnome 2 based applications are held in a file in your home folder called .local/share/recently-used.xbel

Either use the Launcher "Home Folder" - select the menu option "View - Show Hidden Files" and navigate to the .local/share folder and delete the file "recently-used.xbel"

Alternatively from the command line

rm ~/.local/share/recently-used.xbel

If you really want to stop recent document history from showing up for your login account then create a file with your favourite Text Editor called .gtkrc-2.0 and save this file in your home folder.

Alternatively from the command line

gedit ~/.gtkrc-2.0

In that file, include on a separate line

gtk-recent-files-max-age = 0 

你可能感兴趣的:(解决方案,Ubuntu)