Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 X11 session management

closed-rejected
nobody
None
1
2013-04-30
2011-07-10
Dimitar Zhekov
No

X11 session management. Your geany instances will be saved on logout and restored on login. If you have the same project open in 2+ instances, their project options will become the same after restart (from your last Project -> Properties -> OK). Everything else will be restored as-was, without touching geany.conf and the project files (suspend-resume like).

You should apply the various [hidden] preferences patch. Without it, the hidden preferences will not be saved/restored correctly.

Not compatible with the rewritten load_startup_files patch.

Will be updated at each 100 svn revisions or so.

Discussion

1 2 > >> (Page 1 of 2)
  • Dimitar Zhekov
    Dimitar Zhekov
    2011-07-30

    Geany svn r5874+ includes the various [hidden] preferences patch, so you don't need to apply it.

     
  • Dimitar Zhekov
    Dimitar Zhekov
    2011-10-04

    5874 applies against 0.21 (with some small offsets). But since in modifies configure.in and Makefile.in, you need to copy the m4 directory from a recent svn (say, 5874+), and you'd better apply it before ./configure to spare time for re-configuring.

     
  • Dimitar Zhekov
    Dimitar Zhekov
    2011-11-25

    Unfortunately xfce4-session, which always had problems if 2+ programs want to show dialogs during logout (for example "Save foo?" questions), now can't handle even a single program. If the number of compliant XSMs drops to 0, I'll rewrite sm1 for the legacy protocol. It doesn't dialogs on logout, but is immeasurably simpler to support.

     
  • Dimitar Zhekov
    Dimitar Zhekov
    2011-11-25

    Unfortunately xfce4-session, which always had problems if 2+ programs want to show dialogs during logout (for example "Save foo?" questions), now can't handle even a single program. If the number of compliant XSMs drops to 0, I'll rewrite sm1 for the legacy protocol. It doesn't support dialogs on logout, but is immeasurably simpler to support.

     
  • Dimitar Zhekov
    Dimitar Zhekov
    2012-01-07

    The interaction under xfce4-session is now disabled, until they fix it. So be sure to save your files.

     
  • Dimitar Zhekov
    Dimitar Zhekov
    2012-03-07

    Updated for the new load_startup_files().
    On normal (non-sm) exit, only delete the session file if running under Gnome, to preserve permanent sessions.

     
  • Dimitar Zhekov
    Dimitar Zhekov
    2012-07-25

     
    Attachments
  • Dimitar Zhekov
    Dimitar Zhekov
    2012-07-25

    applies against 1.22

     
    Attachments
  • Dimitar Zhekov
    Dimitar Zhekov
    2013-04-30

    Support for Geany X11 session management (xsmp) has been discontinued.

    First, it was never officially included in Geany, even disabled by default.
    Second, only KDE and Xfce (mostly) support xsmp.
    Third, there isn't much application support outside KDE.
    Fourth, a startup script with wmctrl is faster and more reliable.

    Let's hope that Wayland, Mir or whatever will have better SM.

     
1 2 > >> (Page 1 of 2)