#595 Session saving on open/closing of files


Curently Geany session support only saves the session of opened files when Geany is closed directly (i.e. File > Quit, ...). If the user logs out or reboots the computer the session will not get saved because the operating system kills the application upon logout/shutdown (Note: this is true for Linux unsure about Windows). If Geany saved the session upon opening or closing of files/documents/scripts... this would be a nice feature.


  • Lex Trotman

    Lex Trotman - 2012-05-10

    Desktop environment session support is available in the patch here:


    but the most recent desktops have changed the way sessions work (using dbus not X11) so the patch doesn't work on some of the newer desktops. It is a bigish patch and since it no longer addresses the majority of the desktops it is unlikely to be added.

    Until a portable session method is available this capability is unlikely to be added.

  • Lex Trotman

    Lex Trotman - 2012-05-10

    I should have added that I previously proposed saving sessions earlier, but it was rejected. IIRC the main reason was the overhead of a file write for each read, especially on networked file systems.


Log in to post a comment.