remember what files are opened in a session of gedit?

  • Tim

    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!

  • Answers
  • fragos

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

  • CentaurusA

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

  • Related Question

    10.10 - Possible to memorize what are open before an application exits?
  • Tim

    I have these situations often, especially with the following applications:

    1. In Nautilus:

      sometimes, I have opened several tabs each of which opened a different directory. But Nautilus sometimes crashes, perhaps because it is running too long or there are too many tabs it can handle? I was wondering if it is possible to memorize what directories are open in Nautilus before it exits unexpectedly and when I feel this is desired, just like what the session manager in Firefox does?

    2. For document viewers, such as evince Document Viewer 2.32.0 and DjVuLibre DjView 4.5:

      I was also wondering if it is possible to memorize what files are open currently, before I have to reboot my OS but don't want to lose track of what I am now reading?

    3. Similar question for gedit.

    If there are/will be some solutions, are they application-specific, or in some cases can they be made application independent?

    My OS is Ubuntu 10.10

    Thanks and regards!

  • Related Answers
  • Reuben Swartz

    There is a setting to remember all apps when shutting down it is found in the startup applications menu item (last tab if I recall correctly)