Difference between revisions of "D-Bus"
Thisoldman (talk | contribs) |
(add Debugging section) |
||
Line 13: | Line 13: | ||
==Starting the user session== | ==Starting the user session== | ||
[[GNOME|gnome-session]], [[KDE|startkde]] and [[Xfce|startxfce4]] will start a D-Bus session automatically if one is not already running. The skeleton file for {{ic|~/.xinitrc}} ({{ic|/etc/skel/.xinitrc}}from {{Pkg|xorg-xinit}}) will do the same. Make sure that your {{ic|~/.[[xinitrc]]}} is based on the skeleton file {{ic|/etc/skel/.xinitrc}}. | [[GNOME|gnome-session]], [[KDE|startkde]] and [[Xfce|startxfce4]] will start a D-Bus session automatically if one is not already running. The skeleton file for {{ic|~/.xinitrc}} ({{ic|/etc/skel/.xinitrc}}from {{Pkg|xorg-xinit}}) will do the same. Make sure that your {{ic|~/.[[xinitrc]]}} is based on the skeleton file {{ic|/etc/skel/.xinitrc}}. | ||
+ | |||
+ | ==Debugging== | ||
+ | {{pkg|d-feet}} is an easy to use D-Bus debugger GUI tool. D-Feet can be used to inspect D-Bus interfaces of running programs and invoke methods on those interfaces. See [https://wiki.gnome.org/DFeet its homepage] for more info. | ||
==See also== | ==See also== | ||
*[http://www.freedesktop.org/wiki/Software/dbus D-Bus page at freedesktop.org] | *[http://www.freedesktop.org/wiki/Software/dbus D-Bus page at freedesktop.org] | ||
*[http://www.freedesktop.org/wiki/IntroductionToDBus Introduction to D-Bus] on freedesktop.org | *[http://www.freedesktop.org/wiki/IntroductionToDBus Introduction to D-Bus] on freedesktop.org |
Revision as of 16:32, 29 August 2013
zh-CN:D-Bus Template:Article summary start Template:Article summary text Template:Article summary end D-Bus is a message bus system that provides an easy way for inter-process communication. It consists of a daemon, which can be run both system-wide and for each user session, and a set of libraries to allow applications to use D-Bus.
Installation
D-Bus is enabled automatically when using systemd because dbus is a dependency of systemd.
Starting the user session
gnome-session, startkde and startxfce4 will start a D-Bus session automatically if one is not already running. The skeleton file for ~/.xinitrc
(/etc/skel/.xinitrc
from xorg-xinit) will do the same. Make sure that your ~/.xinitrc
is based on the skeleton file /etc/skel/.xinitrc
.
Debugging
d-feet is an easy to use D-Bus debugger GUI tool. D-Feet can be used to inspect D-Bus interfaces of running programs and invoke methods on those interfaces. See its homepage for more info.
See also
- D-Bus page at freedesktop.org
- Introduction to D-Bus on freedesktop.org