Clearing Inkscape's recent file history

Post questions on how to use or achieve an effect in Inkscape.
User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Clearing Inkscape's recent file history

Postby BobSongs » Fri Feb 03, 2012 5:15 am

Question
What steps can be taken to clear Inkscape's recent file history (clearing File > Open Recent) ?

Problem
Inkscape is displaying a list of files under File > Open Recent. When any file is selected an incorrect file appears in Inkscape. Normally software packages include a "Clear History" option. But it seems this release does not. Inkscape's Preferences did not reveal how to clear this list or how to modify the default number of files.

Information
Inkscape version: 0.48.2 r9819
Operating System: GNU/Linux Ubuntu 11.10 Unity desktop

Any further information available upon demand.

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Clearing Inkscape's recent file history

Postby sas » Fri Feb 03, 2012 5:50 am

There should be a file called .recently-used.xbel in your home directory. Deleting this should clear Inkscape's recent history, but may also clear the recent history for some other applications, such as GIMP. It's an XML file, so if you know what you're doing you can selectively delete the Inkscape parts.

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: Clearing Inkscape's recent file history

Postby BobSongs » Fri Feb 03, 2012 7:03 am

sas wrote:There should be a file called .recently-used.xbel in your home directory. Deleting this should clear Inkscape's recent history, but may also clear the recent history for some other applications, such as GIMP. It's an XML file, so if you know what you're doing you can selectively delete the Inkscape parts.

Thanks, sas. A bit of rummaging turned up a file called

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

It does in fact contain a great deal of references. So, for the time being, it is renamed recently-used.xbel.irritating pending Inkscape's loading of several different files in order to determine if it can load correctly from its past history.

Update forthcoming.

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: Clearing Inkscape's recent file history

Postby BobSongs » Fri Feb 03, 2012 7:10 am

UPDATE:

Something appears to be broken with my edition of Inkscape. After opening several SVG files, closing them and attempting to open anything after the first entry in the "recent" list, Inkscape simply opens the first entry regardless what is selected.

It might be fixed by deleting Inkscape's settings folder in the home directory. The only problem is: there's no obvious .Inkscape directory to be found.

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: Clearing Inkscape's recent file history

Postby BobSongs » Fri Feb 03, 2012 7:24 am

Attempted Solution
Uninstalled Inkscape along with configuration files (according to Synaptic Package Manager).

Status
Failed. Inkscape was re-installed with the same problem.

It's not a major issue. While the recent history list is convenient, the file locations are known. Thanks for the assistance.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Clearing Inkscape's recent file history

Postby ~suv » Fri Feb 03, 2012 7:29 am

BobSongs wrote:Something appears to be broken with my edition of Inkscape. After opening several SVG files, closing them and attempting to open anything after the first entry in the "recent" list, Inkscape simply opens the first entry regardless what is selected.
This is not an Inkscape bug - it's a known and fairly widespread conflict between 'GtkRecentChooserMenu' and the AppMenu used e.g. by Unity under Ubuntu:
Bug #752674 in Application Menu Indicator: “GtkRecentChooserMenu always selects first entry

BobSongs wrote:It might be fixed by deleting Inkscape's settings folder in the home directory. The only problem is: there's no obvious .Inkscape directory to be found.
Since the release of Inkscape 0.47, the user preferences are stored in '~/.config/inkscape' (before, it used to be ~/.inkscape).

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Clearing Inkscape's recent file history

Postby ~suv » Fri Feb 03, 2012 7:41 am

BobSongs wrote:Question
What steps can be taken to clear Inkscape's recent file history (clearing File > Open Recent) ?

If the borken 'Open Recent' menu under Ubuntu Unity is irritating, you can disable it by setting
  • File > Inkscape Preferences > Interface > Maximum documents in Open Recent'
to zero.

You'll also notice a button to clear the list. It will not delete the 'recently-used.xbel' file itself - which is shared among many GTK+ applications: AFAICT this 'Clear' button only affects the menu in Inkscape, but not the 'Recently used' list in the file dialog (under Places). This list of recently used files in the file dialog is reported to be still functional, even under Unity.


Alternatively, you could switch to the Gnome desktop ;)

User avatar
BobSongs
Posts: 324
Joined: Fri Sep 14, 2007 2:18 pm
Location: Montreal, Canada

Re: Clearing Inkscape's recent file history

Postby BobSongs » Fri Feb 03, 2012 3:36 pm

Ahhh, ~suv, I was hoping you'd come along. Thanks, your insight is most refreshing. I believe I will give Gnome3 a run to see if it solves the issue.

Thanks for the response. Your up-to-date knowledge of such issues is invaluable.

=)


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 7 guests