That's not exactly what I am looking for, basicly I want to :

ksmtool save-session ktorrent

(which saves the session and shuts down KTorrent, but not the rest of
my desktop)

And then to test if I can properly restore the session :

ksmtool restore-session ktorrent

(which restarts ktorrent and restores my previously saved session)

Basicly, I want to simulate a logout with KTorrent running followed by
a login (which will restore ktorrent). It is really annoying to have
to fully logout and login to see if my changes fixed the bug.

Joris,

On 12/9/05, Pierre D. wrote:
> Le Vendredi 09 D=E9cembre 2005 20:43, Joris Guisson a =E9crit:
> > 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 ? And if there isn't one, where can I
> > find the code of ksmserver ?
> >
> > All it would need to be is a small commandline app, which triggers the
> > same commands as the session management server.

> Hi
>
> You can use DCOP : dcop ksmserver ksmserver saveCurrentSession
> It'll ask ksmserver to save the current session. You can give an optional=

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

ibe <<
>

=

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

e <<