.recently-used.xbel - The XML Horror

xbel stands for XML Bookmark Exchange Language and .recently-used.xbel file contains list of recently opened files. This file is opened and parsed every time you open a file inside GTK application like eog (Eye of Gnome Image Viewer). This file could grow larger (some times megabytes) and affect the responsiveness of the GTK application. I don't know why GTK team chose XML format rather than something like SQLite which offers faster retrieval and lookup of entries. Assumptions aside lets disable this fracking thing and make your GTK applications much more responsive.

Disable .recently-used.xbel

You should have either .gtkrc or .gtkrc-2.0 in your home directory if not create a new file and add following line to it.

gtk-recent-files-max-age=0

Now restart your gnome environment for faster desktop environment.

Comments

Anonymous said…
Hmm, this doesn't work for me, even after I rebooted (XUbuntu 9.04). Instead I removed the file and replaced it with a directory having the same name. Too bad it's a complete hack, but it works.

Jeff

Popular posts from this blog

Easy network traffic shaping on your ubuntu system

Multi touch for any,all synaptics touchpad

winetricks - install wine application perquisites with ease