Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#8772 closed defect (cantfix)

Useless ".recently-used.xbel" file is created after file transfer.

Reported by: Rux Owned by: rekkanoryo
Milestone: Component: unclassified
Version: 2.5.5 Keywords:


A file with the name ".recently-used.xbel" is created in C:\Users\myusername (using Vista) everytime I receive a file via a file transfer in Pidgin. (It could also be that the file is created when Pidgin is closed, after a file transfer.)

If it is useless, it should not be created. In case it serves a purpose, shouldn't it be created somewhere else?

By the way, the content of the file is this:

<?xml version="1.0" encoding="UTF-8"?> <xbel version="1.0"

xmlns:bookmark="" xmlns:mime=""


That's all. Obviously not an important bug, but a bit annoying.

I'd like to put a little off-topic comment here: I'd have preferred to submit a bug report without registering.

Anyway, cheers for making Pidgin!

Attachments (1)

var.png (35.8 KB) - added by Cortexd 3 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 7 years ago by deryni

  • Status changed from new to pending

We don't let people submit bugs without registering because if we did we would have no way of getting in touch with the people and thus no way of getting answers to any follow-up questions we might have. Ideally we would support some distributed registration/identity system like openid or some-such but we don't at the moment. We really just need some amount of certainty that the people who submit tickets are going to pay attention when we make comments.

As to the xbel file, I would imagine that file is used by GTK+ to remember recently used locations to files to populate the "Recently Used" entry in its file chooser dialog. I have that file in my user directory on Windows XP as well, though all the entries in it appear to be from the GIMP and not from pidgin. But that reinforces my belief that it is a GTK+ file and therefore cannot be under a per-application directory.

comment:2 Changed 7 years ago by Rux

  • Status changed from pending to new

Regarding the registration, I understand.

Regarding the xbel file, it was a bit rash of me to assume it's useless. I'd prefer if it wasn't created, but if it's GTK+'s default behaviour that can't or shouldn't be changed, then so be it.

comment:3 follow-up: Changed 7 years ago by deryni

  • Status changed from new to pending

You may be able to set the "gtk-recent-files-limit" and/or "gtk-recent-files-max-age" settings in your gtkrc file to 0 to tell GTK+ not to store recently used files, but I'm unsure whether that will prevent the file from being written or whether it will just be written with no recent file contents.

I don't know whether pidgin can control whether or not that file is created or whether pidgin can give an alternate location for that file, but either of those options would need to be a user choice as removing that feature is going to be something some people dislike, and if the cost for people who don't use it is just a single file I'm not too concerned about it.

comment:4 in reply to: ↑ 3 Changed 7 years ago by Rux

  • Status changed from pending to new

I found that gtkrc file and entered your suggested settings, I hope this is correct: gtk-font-name = "sans 8" gtk-theme-name = "MS-Windows" gtk-recent-files-limit = 0 gtk-recent-files-max-age = 0

The file was created again, though. I understand that other users want that feature, and I won't suggest to create an option in Pidgin's preferences pages for this (it that's even possible), that'd be overkill. So I guess it's fine the way it is, after all.

Thanks for your help!

comment:5 Changed 7 years ago by QuLogic

  • Owner changed from lschiere to rekkanoryo

comment:6 Changed 7 years ago by bernmeister

Can this ticket bec closed?

comment:7 Changed 7 years ago by darkrain42

  • Resolution set to cantfix
  • Status changed from new to closed

comment:8 Changed 6 years ago by hobarrera

According to an article on howtogeek, if you make the file read-only, and hidden, it won't re-appear. I know the ticket is closed, but this does seem a place where this information would be useful. (It's the first google result for ".recently-used.xbel" as well)

I have no way of testing this, since I don't have access to any computer running any version of windows, but I'd trust it works.

Changed 3 years ago by Cortexd

comment:9 Changed 3 years ago by Cortexd

This problem can be "solved" by defining an user environment variable named HOME with the value %APPDATA%. Thus, the .recently-used.xbel file created by GTK (as the .gimp-2.8 and .thumbnails directories created by GIMP) will be placed in C:\Users\<username>\AppData\Roaming instead of C:\Users\<username>.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!