[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] "dcop ksmserver"  question
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2006-09-08 9:59:47
Message-ID: 200609081159.47388.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 04 September 2006 21:17, Donatas G. wrote:
> I need dcop commands for my kommander app, but I cannot figure out what the
> parameters to dcop ksmserver mean exactly. There are three parameters, what
> do they mean?
>
> #this sort of shuts down  computer:
> dcop ksmserver default logout 0 -1 -1
>
> #this one reboots
> dcop ksmserver default logout 0 1 0
>
> How do I simply end current session?

Try 0 0 0
The parameters are not documented, they are basically the numeric values of 
the session flags descibed in the KApplication API documentation

> More questions:
> Is there a way to use dcop to restart kdm without using administrator
> rights?

No idea, sorry

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org

[Attachment #5 (application/pgp-signature)]

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic