Note that there are some explanatory texts on larger screens.

plurals
  1. POdbus cannot find compiz service through python
    primarykey
    data
    text
    <p>Ok, just so you know, I haven't worked with dbus or perl much, so I might say some things that are off.</p> <p>I'm trying to use dbus to work with compiz programmatically. And looking at compiz wiki <a href="http://wiki.compiz.org/Plugins/Dbus" rel="nofollow">http://wiki.compiz.org/Plugins/Dbus</a>, I see that python seems like the way that it is easiest to do this. So I got to this</p> <pre><code>import sys, dbus, subprocess bus = dbus.SystemBus() bus.get_object('org.freedesktop.compiz','/org/freedesktop/compiz') </code></pre> <p>This, however gives me problems because apparently dbus cannot find the compiz dbus service. The syntax is right, it works with org.freedesktop.EverythingElse</p> <blockquote> <p>dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.compiz was not provided by any .service files</p> </blockquote> <p>The weird thing is that I Googled around and managed to get a perl script that listed the services (using org.freedesktop.DBus), and it showed compiz as one of them.</p> <p>Also, perl seemed to be able to use the compiz service. But, I don't think I could script it in perl because I'm not great at perl and I don't even really know how dbus works so I'd be killing myself there.</p> <p>I'm trying to be able to do stuff with compiz like change workspaces. I guess I can do that with faked keystokes, but that's to much of a hack, and I might want to add more advanced behaviors.</p> <p>It's a new install of arch-linux, so I'm wondering if I might be missing a package.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload