xbel文档
If you’re reading this article, you’ve probably noticed the .recently-used.xbel file in the root of your User folder, and you’re wondering why it keeps constantly coming back even though you repeatedly delete it.
如果您正在阅读本文,您可能已经注意到User文件夹根目录中的.recently-used.xbel文件,并且您想知道为什么即使您反复删除它,它也会不断返回。
So What Is It?
那是什么?
The quick answer is that it’s part of the GTK+ library used by a number of cross-platform applications, perhaps the most well-known of which is the Pidgin instant messenger client.
快速的答案是,它是许多跨平台应用程序使用的GTK +库的一部分,其中最著名的可能是Pidgin即时通讯客户端。
As the name implies, the file is used to store a list of the most recently used files. In the case of Pidgin, this comes into play when you are transferring files over IM, and that’s when the file will appear again.
顾名思义,该文件用于存储最近使用过的文件的列表。 对于Pidgin,这是在通过IM传输文件时起作用的,那时文件将再次出现。
Note: this is actually a known and reported bug in Pidgin, but sadly the developers aren’t terribly responsive when it comes to annoyances. Pidgin seems to go for long periods of time without any updates, but we still use it because it’s open-source, cross-platform, and works well.
注意:这实际上是Pidgin中一个已知的和已报告的错误,但是令人遗憾的是,开发人员在烦恼方面并没有非常Swift的响应。 Pidgin似乎可以长时间使用,没有任何更新,但是我们仍然使用它,因为它是开源,跨平台的,并且运行良好。
How Do I Get Rid of It?
我如何摆脱它?
Unfortunately, there’s no way to easily get rid of it, apart from using a different application. If you need to transfer files over Pidgin, the file is going to re-appear… but there’s a quick workaround!
不幸的是,除了使用其他应用程序之外,没有其他方法可以轻松摆脱它。 如果您需要通过Pidgin传输文件,文件将重新出现……但是有一个快速的解决方法!
The general idea is to set the file properties to Hidden and Read-only. You’d think you could just set it to Hidden and be done with it, but Pidgin will re-create the file every time, so instead we’re leaving the file there and preventing it from being accessed.
通常的想法是将文件属性设置为“隐藏”和“只读”。 您可能会认为只需将其设置为“隐藏”即可完成操作,但是Pidgin每次都会重新创建该文件,因此,我们将文件保留在那里并阻止对其进行访问。
You could also totally remove access through the Security tab if you wanted to, but this worked fine for me… as you can see, no more file in the folder.
如果愿意,您也可以通过“安全性”选项卡完全删除访问权限,但是这对我来说效果很好……如您所见,文件夹中没有其他文件。
Of course, you can’t have the show hidden files and folders option turned on, or the file will continue to show up. Want to get really geeky? You can toggle hidden files with a shortcut key.
当然,您无法打开“显示隐藏的文件和文件夹”选项,否则文件将继续显示。 想要变得令人讨厌吗? 您可以使用快捷键切换隐藏的文件。
翻译自: https://www.howtogeek.com/howto/16230/what-is-.recently-used.xbel-and-how-do-i-delete-it-for-good/
xbel文档