Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 24 Nov 2014, 10:11
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Change the maximum age or number of "recently used" files
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
disciple

Joined: 20 May 2006
Posts: 6455
Location: Auckland, New Zealand

PostPosted: Sat 11 Feb 2012, 23:14    Post subject:  Change the maximum age or number of "recently used" files
Subject description: in GTK open/save dialogue
 

Modern versions of GTK have a "recently used" item in the side pane of the standard GTK open/save dialogues.
This is rather handy, but I find that it lists too few items.
You can control the maximum age and/or number of remembered "recently used" items by putting these settings somewhere like ~/.gtkrc-2.0
Code:
gtk-recent-files-max-age=90
gtk-recent-files-limit=200

I guess you might need to reboot or restart all gtk programs or something after changing these settings.

The main limitation is supposed to be that programs can choose to ignore the setting and only show however many items their authors choose* Sad
I'm not sure how common a problem that is (perhaps very common - see below).

I have only just found out how to do this, so I don't know things like how it responds to using very large numbers. I'm also wondering if other programs like X session managers might override the settings and trim the recently used list. In my current system I've only ever noticed 10 items displayed in the list**, although there may be a few more (currently 13) actually stored in ~/.local/share/recently-used.xbel

BTW, you can manually delete items by editing ~/.local/share/recently-used.xbel
I've seen references to ~/.recently-used.xbel instead, but it doesn't seem to be used in my system.

My system also has a file in a different format called ~/.recently-used, which seems to be used by some Mono programs and perhaps openoffice when it isn't configured to use the GTK open/save dialogues.

* I think programs can choose to not write to the recently used list as well.
** According to http://developer.gnome.org/gtk/2.24./GtkSettings.html#GtkSettings--gtk-recent-files-max-age the defaults are supposed to be 50 and 30.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0570s ][ Queries: 11 (0.0193s) ][ GZIP on ]