Re: How to query what desktop I'm currently on.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message 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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux