Dne p=E1 9. prosince 2005 20:43 Joris Guisson napsal(a):
> Hi,
> I am busy fixing this bug :
> https://bugs.kde.org/show_bug.cgi?id=3D116342
> So, it occured to me, that it would be handy to have some sort of
> tool to simulate KDE's session management. I don't know if there is
> one, but seeing that there are quite a few things which have a
> tendency to crash when I logoff (kdevelop, kicker, juk, ...), there
> probably isn't one.
> So my question is, is there one ?

No, although you could maybe run another session manager just for your app=
.. =

Apps use $SESSION_MANAGER to find the right session manager, however I'm no=
t =

sure it'll be possible run ksmserver twice. Maybe xsm could work, but that =

one is rather buggy.

I think the simplest solution would be if you run another X session for ju=
st =

the development and do the tests there.

> And if there isn't one, where can I find the code of ksmserver ?

Shutdown and saving is in shutdown.cpp, startup and restoring is in =

startup.cpp (trunk or post-3.5.0 code, it was all in server.cpp before I =

split the sources).

> All it would need to be is a small commandline app, which triggers the
> same commands as the session management server.

-- =

Lubos Lunak
KDE Developer
l.lunak@kde.org l.lunak@suse.cz

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=

e <<