How to query what desktop I'm currently on.

Kevin Krammer kevin.krammer at gmx.at
Tue Aug 5 15:56:09 BST 2008


On Tuesday 05 August 2008, Steven W. Orr wrote:
> For purposes of a script I'd like to write, I want to query what desktop
> I'm currently on so that I can noop if I'm already on the desktop I want
> to be at.
>
> Is there a commandline interface that will tell me what desktop I'm
> currently on?

On KDE like this

% dcop 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/939a320f/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