Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7023317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:41:44+00:00 2026-05-27T23:41:44+00:00

Ok, just so you know, I haven’t worked with dbus or perl much, so

  • 0

Ok, just so you know, I haven’t worked with dbus or perl much, so I might say some things that are off.

I’m trying to use dbus to work with compiz programmatically. And looking at compiz wiki http://wiki.compiz.org/Plugins/Dbus, I see that python seems like the way that it is easiest to do this. So I got to this

import sys, dbus, subprocess
bus = dbus.SystemBus()
bus.get_object('org.freedesktop.compiz','/org/freedesktop/compiz')

This, however gives me problems because apparently dbus cannot find the compiz dbus service. The syntax is right, it works with org.freedesktop.EverythingElse

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.compiz was not provided by any .service files

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.

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.

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.

It’s a new install of arch-linux, so I’m wondering if I might be missing a package.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:41:44+00:00Added an answer on May 27, 2026 at 11:41 pm

    D-Bus has several separate buses – a single “system” bus, always available and used by system daemons and services, and any number of “session” buses1, one for each X11 session running, to which your own programs connect.

    Compiz connects to the session bus, since it is a user program (not a system daemon and lacking the privileges) and can be running in multiple sessions (if all instances connected to the same system bus, only the first one could claim the bus name).

    bus = dbus.SessionBus()
    bus.get_object('org.freedesktop.compiz','/org/freedesktop/compiz')
    

    You can use D-Feet to browse all programs connected to the system and session buses.


    1 Note for the future: There have been multiple suggestions to introduce a “user” bus to be shared between all sessions of the same user and get rid of “session” buses, but this hasn’t happened yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Before I start with the real question, let me just say that I might
I know this sounds confusing: I have just built some basic prev/next pagination for
I know that an interface does not have a body, just a method definition.
I know how that question looks, but I'm quite serious. I am trying to
Maybe I just don't know enough about structs and have been using them blindly
I have solved this problem, I just need to know what to do. I
I know I shouldn't have id's with the same value. This is just fictitious,
I don't know if the is even remotely possible, but just now I have
Essentially I'd like to know just how compatible are the iPhone and the iPod
Just wanted to know if anyone is really using Objects and Collections in Oracle

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.