tags:

views:

13

answers:

1

I have been using gedit as a programming text editor for a while...

I would like to increase the number of recently opened files from 5 to 10...

I checked the gedit preferences and the gconf-editor gedit options but there was nothing there related to the recently opened file list.

Where can I change this setting?

+1  A: 

The configuration setting is in /schemas/apps/gedit-2/preferences/ui/recents/max_recents according to http://people.gnome.org/~bmsmith/gconf-docs/C/gedit.html.

According to OP the setting can successfully be changed by issuing the command gconftool-2 --type int --set /apps/gedit-2/preferences/ui/recents/max_recents 10 (Notice: /schemas is removed!)

jensgram
Thanks for the super-quick response I just tried to edit the schemas from gconf-editor but got an error message: "Currently pairs and schemas can't be edited. This will be chagned in a later version"... when editing with the comand line: "gconftool-2 --type int --set /schemas/apps/gedit-2/preferences/ui/recents/max_recents 10" the value seems to have changed in the gconf-editor, but the change are not reflected in gedit... I will have to investigate further. Thanks again for your response!
ischnura
jensgram
playing with gconf-editor I found that changing the /apps/gedit-2/preferences/ui/recents/max_recents instead of /schemas/apps/gedit-2/preferences/ui/recents/max_recents made it work! Thanks for your response!
ischnura
@ischnura Great! I will write this into the answer in order to let other people find it.
jensgram