[Geany-devel] Session Management Interim Solution Proposal

Lex Trotman elextr at xxxxx
Mon Jan 2 22:20:08 UTC 2012


On Tue, Jan 3, 2012 at 4:19 AM, Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> Hi, all,
>
> Some guys with GNOME 2/3/Unify, KDE 3/4 and LXDE, can you please check
> if the X11R4 session protocol works? Just activate your "save session
> on logout", run a couple of gtk+ programs (evince/charmap without gnome
> support, firefox, transmission, ...), then logout, login, and see if
> the programs are restarted.

Perhaps you already know since you didn't list it, XFCE4 will re-start
firefox 5 with the tabs it last had open.  XFCE is of course the DE of
choice for developers since Linus switched to it from Gnome.

I *thought* that geany sm branch worked with it too, but that was on
another machine, and I havn't the bandwidth here to download it to
test.

[...]
> XSMP support is a grief. And looking at GNOME, I'm now unsure which
> DE-s support X11R4 (let's avoid "legacy", which in gnome means "xsmp").

My Googling before the OP suggested that Gnome didn't and there were a
lot of unhappy people as a result.

>
> As of ability, WM_SAVE_YOURSELF is much easier to support than XSMP,
> and the change will affect almost exclusively sm.c, anything else being
> 95% identical to the existing sm code. Many years ago, I extended the
> nedit save yourself handler a bit, in the (never released) 5.6 version.
>
>> Won't allow user choice for saving files but will restore session?
>
> Yes.
>

Fine by me, the OP was prompted by being sick and tired of having to
close and re-open Geany to save build commands and preferences.

Cheers
Lex

> --
> E-gards: Jimmy
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel



More information about the Devel mailing list