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

Re: command line saving session



On Sunday 24 January 2010, Arthur Marsh wrote:
> Kevin Krammer wrote, on 23/01/10 22:28:
> > 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
> 
> Is there a line break or word split somewhere there? I'm not running
> kde4 yet but would like to have the command in a workable state for
> future reference.

$ qdbus org.kde.ksmserver /KSMServer \ 
org.kde.KSMServerInterface.saveCurrentSession

Michael

-- 
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/


Reply to: