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 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
up vote 10 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 '15 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 gnome.org wiki and searching through the lists linked there.

share|improve this answer
    
Does it work for you? I'm running Xubuntu with gedit 3.14.3 and though I can install it, it doesn't seem to work at all. – Eyal Feb 24 at 18:37
    
It's working perfectly in gedit 3.10.4 on Ubuntu 15.10. I had it working in gedit 3.13 but my motherboard died and I rebuilt the computer and did a fresh install of Ubuntu and just went with the default gedit that installed with it. – whitebeard Feb 24 at 20:39

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.