How to query what desktop I'm currently on.

Kevin Krammer kevin.krammer at gmx.at
Tue Aug 5 20:58:24 BST 2008


On Tuesday 05 August 2008, Randy Kramer wrote:
> On Tuesday 05 August 2008 10:56 am, Kevin Krammer wrote:
> > On Tuesday 05 August 2008, Steven W. Orr wrote:
> > > Is there a commandline interface that will tell me what desktop I'm
> > > currently on?
> >
> > On KDE like this
> >
> > % dcop kwin KWinInterface currentDesktop
>
> Kevin,
>
> I'm not the OP, but thanks!
>
> How would you do it on dbus / kde4?  (IIUC, dcop won't work in kde4?)

I am currently rebuilding my KDE4 checkout so I have to guess.
Most likely something like

% qdbus org.kde.kwin /some/object/Path 
org.kde.kwin.KWinInterface.currentDesktop

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20080805/ce839c39/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list