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

List:       kde-linux
Subject:    Re: [kde-linux] Commands of KDE4?
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2009-09-04 10:27:49
Message-ID: 200909041227.49652.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday, 2009-09-04, James Richard Tyrer wrote:
> Christopher Roy Bratusek wrote:
> > Hi all,
> >
> > I'm working on a KDE-Integration module for sawfish and need to now some
> > things:
> >
> > - Is there an environment variable notifying us that KDE is running?
>
> This is not a simple question. :-|  It depends on what you mean by KDE
> is running.  That is, KDE is only a collection of programs.
>
> Perhaps: "KDE_SESSION_UID" being set to the current USER will indicate
> that a KDE session has been started.

There is also $KDE_FULL_SESSION

> > - What command is used as control-center (kcontrol?)
>
> No, name changed to systemsettings.

Right, and kcmshell4 for running a specific module.

> > - What command is used to pop-up the KDE Logout-Dialog?
>
> The dialog that pops up when you right click the desktop and select:
> "Leave"?  That is probably hardcoded somewhere in Plasma.  Perhaps a
> D-Bus message?  If there is documentation for this stuff, I would really
> like to know where it is.

There is a logout method in the D-Bus interface of KSMServer
It is basically the D-Bus facing part of this method
http://api.kde.org/4.x-api/kdebase-workspace-
apidocs/libs/kworkspace/html/namespaceKWorkSpace.html#aebd506f19067a1ae1c00ae4b8f2d7c03

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (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