[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: command line saving session



On Friday, 2010-01-22, roberto wrote:
> hello
> i am searching for a command line way to save the kde session, since
> i'd like to place it into a script along with the command to suspend
> the pc
> 
> i've found this command:
> dcop ksmserver ksmserver saveCurrentSession
> 
> do you think it is right ?

Yes, that looks right for KDE3, the KDE4 equivalent should be
qdbus org.kde.ksmserver /KSMServer 
org.kde.KSMServerInterface.saveCurrentSession

Cheers,
Kevin

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: