From kde-linux Fri Sep 04 10:27:49 2009 From: Kevin Krammer Date: Fri, 04 Sep 2009 10:27:49 +0000 To: kde-linux Subject: Re: [kde-linux] Commands of KDE4? Message-Id: <200909041227.49652.kevin.krammer () gmx ! at> X-MARC-Message: https://marc.info/?l=kde-linux&m=125206017214153 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2068759989==" --===============2068759989== Content-Type: multipart/signed; boundary="nextPart1315359.hYmyFpN8kR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1315359.hYmyFpN8kR Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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#aebd506f19067a1ae1c00= ae4b8f2d7c03 Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart1315359.hYmyFpN8kR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBKoOulnKMhG6pzZJIRAkKwAJ4mSXuGT099ctWXgkXnsXKEBl3eigCfcoAc EOd04BsFft3/GTvG8eMs8G0= =nln/ -----END PGP SIGNATURE----- --nextPart1315359.hYmyFpN8kR-- --===============2068759989== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============2068759989==--