You are not logged in.

#1 2010-10-23 21:29:50

Amunak
Member
From: Czech Republic
Registered: 2010-08-21
Posts: 15

[SOLVED] .recently-used.xbel files in my home directory

There are dozens of these files in my home directory and they are still creating. Does anyone know how to get rid of them?

I think they store history of some apps like mplayer, openoffice and so on, but I think I don't really need tons of them.

http://ompldr.org/vMWszNw

They looks like this (but with much more <bookmark> entries):

<?xml version="1.0" encoding="UTF-8"?>
<xbel version="1.0"
      xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks"
      xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info"
>
  <bookmark href="file:///****.JPG" added="2010-07-19T13:46:13Z" modified="2010-09-13T08:30:57Z" visited="2010-07-19T13:46:13Z">
    <info>
      <metadata owner="http://freedesktop.org">
        <mime:mime-type type="image/jpeg"/>
        <bookmark:applications>
          <bookmark:application name="File Manager" exec="&apos;/usr/bin/gimmage&apos;" modified="2010-09-13T08:30:57Z" count="5"/>
        </bookmark:applications>
      </metadata>
    </info>
  </bookmark>
  <bookmark href="file:///****.mp3" added="2010-07-19T16:39:53Z" modified="2010-09-05T16:19:07Z" visited="2010-07-19T16:39:53Z">
    <title>****</title>
    <info>
      <metadata owner="http://freedesktop.org">
        <mime:mime-type type="audio/mpeg"/>
        <bookmark:applications>
          <bookmark:application name="gnome-mplayer" exec="&apos;gnome-mplayer %u&apos;" modified="2010-09-05T16:19:07Z" count="4"/>
        </bookmark:applications>
      </metadata>
    </info>
  </bookmark>
</xbel>

Last edited by Amunak (2010-11-10 19:04:53)

Offline

#2 2010-10-23 21:51:54

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: [SOLVED] .recently-used.xbel files in my home directory

I put this in my /etc/rc.local.shutdown:

rm -f /home/foobar/.recently-used.xbel.*

Offline

#3 2010-10-24 10:17:06

Amunak
Member
From: Czech Republic
Registered: 2010-08-21
Posts: 15

Re: [SOLVED] .recently-used.xbel files in my home directory

Thanks. It is not the best solution, but it's nice workaround.

Offline

#4 2010-10-26 03:57:46

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] .recently-used.xbel files in my home directory

you can also install "rmshit" developed by a fellow archer which gets rid of all the unnecessary files from your home. You can define what files you consider unnecessary or shitty.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2010-10-26 04:56:45

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: [SOLVED] .recently-used.xbel files in my home directory

Several of us reported having this problem a while back but nobody replied with any solutions:

https://bbs.archlinux.org/viewtopic.php?id=70613

... so thanks for the tips, guys!


oz

Offline

#6 2010-10-26 06:54:01

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: [SOLVED] .recently-used.xbel files in my home directory

I have this in my ~/.gtkrc-2.0

gtk-recent-files-max-age=0

I believe I read about this long time ago here: http://developer.pidgin.im/ticket/8772#comment:3

See also:
http://ubuntuforums.org/showthread.php?t=1153504
http://library.gnome.org/devel/gtk/2.17 … iles-limit

Does it work for you?

Last edited by lolilolicon (2010-10-26 06:59:04)


This silver ladybug at line 28...

Offline

#7 2010-10-26 19:18:41

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: [SOLVED] .recently-used.xbel files in my home directory

On my boxes, the /etc/rc.local.shutdown solution worked well but the .gtkrc-2.0 didn't for some reason.


oz

Offline

Board footer

Powered by FluxBB