Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to be able to see the last ~200 files opened in Gedit. I was able to increase the number it shows to 40 using this command:

gconftool-2 --type int --set /apps/gedit-2/preferences/ui/recents/max_recents 40

but it is only showing me the last 23. I looked in .recently-used.xbel and found that it has only stored the last 23 opened gedit files, as well as files from other applications. Is there a way to increase this? I accept that the last ~200 opened in gedit are no longer stored, but I would like to store them in the future so I can view them. Essentially, can I tell ubuntu to keep ~10X more history in that recently-used.xbel file?

share|improve this question
    
@ andy-groff:Does the answer below answer your question ? Can you accept it ? – Rudy Vissers Feb 16 at 14:51
    
I don't really know if it worked or not, this is from 2 years ago. I'll trust you though. Looks like you were pretty thorough. – Andy Groff Feb 18 at 6:55
up vote 1 down vote accepted

Inspired by http://www.richud.com/wiki/Ubuntu_gedit_recent_files_dconf

Make usage of dconf-editor to change the property 'max-recents'. Under org > gnome > gedit > preferences > ui Change max-recents.

It was tested on ubuntu 12.0.4 and 14.04 LTS 64 bits.

In the 2 following screen dumps you can find:

  • Where it was configured in dconf-editor
  • An example that it works perfectly.

enter image description here

enter image description here

share|improve this answer
    
any tips for 12.10? – Aquarius Power Jun 16 '13 at 17:41
    
This works for 14.04. Thank you! – gumkins Nov 12 '14 at 22:09
    
This doesn't answer the OP's question. They stated they already did this. – Tim Tisdall Feb 5 at 12:35
    
@Tisdall:It answers the question!!! – Rudy Vissers Feb 12 at 10:17
    
@Tisdall:Please have a look to the 2 screen dumps!!! If it is not an answer what is ? – Rudy Vissers Feb 12 at 10:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.