[Geany-devel] Session Management Interim Solution Proposal

Dimitar Zhekov dimitar.zhekov at xxxxx
Mon Jan 2 17:19:16 UTC 2012


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.

Information about smaller WM-s with some kind of "session support" is
welcome too.

--

On Mon, 2 Jan 2012 09:48:36 +1100
Lex Trotman <elextr at gmail.com> wrote:

> Hi Dimitar,
> 
> > Aside from [...] XSMP, which was never implemented properly by
> > anyone except maybe the KDE4 guys, there's something called "legacy"
> > X11 session protocol. It's OK, except that no "Save foo.c"? questions
> > are allowed (this part of XSMP is implemented especially bad anyway).
> 
> Am I right in thinking that what you are saying is that the situation
> is a mess, but that you *may* be able to get the legacy mode running?

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

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.

-- 
E-gards: Jimmy



More information about the Devel mailing list