[kde-linux] Save desktop setup without exiting XServer

Kevin Krammer kevin.krammer at gmx.at
Thu Aug 25 22:53:25 UTC 2005


On Friday 26 August 2005 00:46, James Bigler wrote:
> When you exit the XServer by logging out or turning off the computer, KDE
> will save the layout of most windows.
>
> Is there a way to save it without exiting?  I'm usually logged in for
> several days at a time (sometimes weeks) and I'd like to periodically save
> the desktop setup in case I'm logged out involuntarily (power surge,
> XServer crash).

You can activate the option for manually save sessions by switching the 
session type in control center
KDE control center -> KDE components -> session manager
If you choose "restore manually saved session" you will get a new entry in the 
K menu where you can save the session at any time.

Another possibility is through DCOP (KDE's remote procedure call thingy)
The KDE session manager ksmserver has a DCOP call for saving session.
You can explore DCOP interfaces using the kdcop tool or the dcop commandline 
tool

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20050826/384524fa/attachment.sig>


More information about the kde-linux mailing list