Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

How do I get a list of all of the available dbus properties for example org.freedesktop.DBus.GLib.Const? Especially to control window managers, like xfwm. And how would I receive the global menu in python-dbus?

Like if I started Firefox how could I grab it's global menu data and display it, just like unity's global menubar?

share|improve this question
up vote 5 down vote accepted

Have you tried using the d-feet Install d-feet tool?

enter image description here

Try that and see if you make progress.

share|improve this answer
Cool I'll try it is there a command line version or a method in python-dbus that I can use for development? – Christopher Jun 8 '12 at 0:54

man gdbus
man qdbus

In a terminal window run

qdbus | sort -V |                                                      \
sed -u -e 's/\(.*\)/echo =========== \1 ========== ;                   \
gdbus introspect -r  --session  -o \/ --only-properties -d \1/g' |     \

Standard interfaces are listed first so all properties for them are found - the script will halt on the first missing interface DBus address that is listed - ...

(To avoid this halt, preprocess qdbus | sort -V to a file, remove missing interfaces and then sed that file.)

The same can be done for --system instead of --session starting with qdbus --system.

To do just org.freedesktop.DBus.GLib.Const

gdbus introspect -r --session -o / --only-properties -d org.freedesktop.DBus.GLib.Const

How do I get a list of all of the available dbus properties?

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.