10

Is it possible to remember what files are opened in a session of gedit, by gedit itself or its plug-ins, just similar to what the session manager of Firefox does?

So that next time restarting gedit, I can reopen and continue to work on the files opened in the last session.

12

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

| improve this answer | |
  • Unfortunately it's buggy on F22 with GEdit 3.16.4 : / – Zelphir Kaltstahl Oct 1 '16 at 0:27
5

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.

| 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 '16 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 '16 at 20:39
  • It has a bug in 3.18 but still usable. – Tgr Jan 9 '17 at 3:44
  • Doesn't work at all in gedit 3.10.4 on Ubuntu 14.04 (at least with XFCE). It recreated the number of tabs correctly, but failed to open files they contained (and the first tab had the loading icon on it, running forever). – Przemek D Jun 28 '18 at 8:27
3

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."

| improve this answer | |
  • 1
    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 not an answer it describes exactly what has stopped happening in my installation of gedit. How do you restore this functionality to gedit? – Thompson Dawes Apr 30 '17 at 22:15
  • 2
    This was a perfectly valid answer in 2011 when it was provided. Gedit has moved on since then and the user interface is completely different. It now has a "clean" look which may or may not work for you. It certainly didn't work for me, so I too have moved on - to Pluma - which has a more traditional mode of operation. – CentaurusA May 1 '17 at 16:27
1

In version 3.18.3 (or may be earlier) you may use plugin "Quick open". When it is enabled you may see recently opened files by using "File -> Quick Open".

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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