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 22 Sep 2014, 06:16
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 Posts_count_1  
Author Message
disciple

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

PostPosted: Sat 11 Feb 2012, 23:14    Post_subject:  Change the maximum age or number of "recently used" files
Sub_title: 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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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