Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does Kwin have a D-Bus API (get windows list, move windows, etc)?

If yes, where can I find the API reference?

share|improve this question

kwin does have a DBUS interface, but it doesn't do what you're describing.

To take a look at the calls that are available to you, run qdbusviewer (which be available in your distro's repository), choose the Session Bus tab, and search for kwin in the search box. From there, choose org.kde.KWin on the left panel, and on the right panel, you'l see KWin -> org.kde.Kwin.

From there, you'll see methods like "killWindow", "nextDesktop", etc. Those are the methods KWin has exposed, but unfortunately I'm not seeing methods for actually doing things with individual windows from a list.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.