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

I was wondering if it is possible to remember what files are opened in a session of gedit, by gedit itself or its plug-ins, just similar to what session manager of Firefox does? So that next time restarting gedit, I can reopen and continue to work on the files opened in last session.

Thanks and regards!

share|improve this question

3 Answers 3

up vote 9 down vote accepted

There's also a Session Saver plugin to save and restore working sessions.

share|improve this answer

Just hit "File" on Gedit's menu. A number of files used previously will appear in the drop-down menu numbered 1, 2, 3...

The Help menu states: "The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the File menu. You can also click on the {down arrow} icon on the toolbar to display the list of recent files."

share|improve this answer
I'm using gedit 3.14.3, and I don't have a "File" menu anymore. Is this functionality missing from the latest versions of gedit? – Eyal Apr 30 at 13:58

This is an old question, but it is the first result in google when searching for a plugin to re-open previously opened files. It seems that no one gave a very specific answer, though.

gedit-restore-tabs is a nice plugin that was written for G-Edit 3.12 but works in later versions. I used it in the past, but couldn't remember where I had gotten it. I found it again by going to this page on the wiki and searching through the lists linked there.

share|improve this answer

Your Answer


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.