[e8e3312d] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[e8e3312d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[bf325a39] | 7 | <!ENTITY dbus-download-http "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz">
|
---|
[30d0aef] | 8 | <!ENTITY dbus-download-ftp " ">
|
---|
[7776909] | 9 | <!ENTITY dbus-md5sum "b02e9c95027a416987b81f9893831061">
|
---|
[0b83a69] | 10 | <!ENTITY dbus-size "1.9 MB">
|
---|
[7776909] | 11 | <!ENTITY dbus-buildsize "86 MB (additional 26 MB installed)">
|
---|
| 12 | <!ENTITY dbus-time "0.36 SBU (additional 1.2 SBU for tests)">
|
---|
[e8e3312d] | 13 | ]>
|
---|
| 14 |
|
---|
[02e742b] | 15 | <sect1 id="dbus" xreflabel="D-Bus-&dbus-version;">
|
---|
[e8e3312d] | 16 | <?dbhtml filename="dbus.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[02e742b] | 23 | <title>D-Bus-&dbus-version;</title>
|
---|
[e8e3312d] | 24 |
|
---|
| 25 | <indexterm zone="dbus">
|
---|
[02e742b] | 26 | <primary sortas="a-D-Bus">D-Bus</primary>
|
---|
[e8e3312d] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[02e742b] | 30 | <title>Introduction to D-Bus</title>
|
---|
[e8e3312d] | 31 |
|
---|
[0b83a69] | 32 | <para>
|
---|
| 33 | <application>D-Bus</application> is a message bus system, a simple
|
---|
| 34 | way for applications to talk to one another.
|
---|
| 35 | <application>D-Bus</application> supplies both a system daemon (for events
|
---|
| 36 | such as <quote>new hardware device added</quote> or <quote>printer queue
|
---|
| 37 | changed</quote>) and a per-user-login-session daemon (for general IPC needs
|
---|
| 38 | among user applications). Also, the message bus is built on top of a
|
---|
| 39 | general one-to-one message passing framework, which can be used by any two
|
---|
| 40 | applications to communicate directly (without going through the message bus
|
---|
| 41 | daemon).
|
---|
| 42 | </para>
|
---|
[e8e3312d] | 43 |
|
---|
[01cecdc2] | 44 | &lfs74_checked;
|
---|
[482477c] | 45 |
|
---|
[e8e3312d] | 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
[0b83a69] | 49 | <para>
|
---|
| 50 | Download (HTTP): <ulink url="&dbus-download-http;"/>
|
---|
| 51 | </para>
|
---|
[e8e3312d] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[0b83a69] | 54 | <para>
|
---|
| 55 | Download (FTP): <ulink url="&dbus-download-ftp;"/>
|
---|
| 56 | </para>
|
---|
[e8e3312d] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[0b83a69] | 59 | <para>
|
---|
| 60 | Download MD5 sum: &dbus-md5sum;
|
---|
| 61 | </para>
|
---|
[e8e3312d] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[0b83a69] | 64 | <para>
|
---|
| 65 | Download size: &dbus-size;
|
---|
| 66 | </para>
|
---|
[e8e3312d] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[0b83a69] | 69 | <para>
|
---|
| 70 | Estimated disk space required: &dbus-buildsize;
|
---|
| 71 | </para>
|
---|
[e8e3312d] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[0b83a69] | 74 | <para>
|
---|
| 75 | Estimated build time: &dbus-time;
|
---|
| 76 | </para>
|
---|
[e8e3312d] | 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
| 79 |
|
---|
[02e742b] | 80 | <bridgehead renderas="sect3">D-Bus Dependencies</bridgehead>
|
---|
[e8e3312d] | 81 |
|
---|
[bf325a39] | 82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b6a2a0e] | 83 | <para role="required">
|
---|
[b33c421] | 84 | <xref linkend="expat"/> or
|
---|
[b6a2a0e] | 85 | <xref linkend="libxml2"/>
|
---|
| 86 | </para>
|
---|
[bf325a39] | 87 |
|
---|
[adfdc8b] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[0b83a69] | 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="xorg7-lib"/>
|
---|
| 91 | (for <command>dbus-launch</command> program)
|
---|
| 92 | </para>
|
---|
[adfdc8b] | 93 |
|
---|
[e8e3312d] | 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b6a2a0e] | 95 | <para role="optional">
|
---|
[7776909] | 96 | <xref linkend="dbus-glib"/> (to run tests - it may be necessary to
|
---|
| 97 | reinstall it, after upgrading this package),
|
---|
[4947a7a] | 98 | <xref linkend="python2"/> (to run tests),
|
---|
| 99 | <xref linkend="dbus-python"/> (to run tests), and
|
---|
[b6a2a0e] | 100 | <xref linkend="doxygen"/> (to generate the API documentation)
|
---|
| 101 | </para>
|
---|
[6e13117a] | 102 |
|
---|
[0b83a69] | 103 | <para>
|
---|
| 104 | Note that the <command>configure</command> script will look for
|
---|
| 105 | <xref linkend="xmlto"/> but it does nothing as the XML/HTML documentation is
|
---|
| 106 | already shipped in the source tree.
|
---|
| 107 | </para>
|
---|
[c45cb57] | 108 |
|
---|
[1039de3] | 109 | <para condition="html" role="usernotes">User Notes:
|
---|
[0b83a69] | 110 | <ulink url="&blfs-wiki;/dbus"/>
|
---|
| 111 | </para>
|
---|
[e8e3312d] | 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="installation">
|
---|
[02e742b] | 115 | <title>Installation of D-Bus</title>
|
---|
[e8e3312d] | 116 |
|
---|
[0b83a69] | 117 | <para>
|
---|
| 118 | As the <systemitem class="username">root</systemitem> user, create a
|
---|
| 119 | system user and group to handle the system message bus activity:
|
---|
| 120 | </para>
|
---|
[e8e3312d] | 121 |
|
---|
[b6a2a0e] | 122 | <screen role="root"><userinput>groupadd -g 18 messagebus &&
|
---|
[02e742b] | 123 | useradd -c "D-Bus Message Daemon User" -d /var/run/dbus \
|
---|
[b6a2a0e] | 124 | -u 18 -g messagebus -s /bin/false messagebus</userinput></screen>
|
---|
[cda0a69] | 125 |
|
---|
[0b83a69] | 126 | <para>
|
---|
| 127 | Install <application>D-Bus</application> by running the following
|
---|
| 128 | commands (you may wish to review the output from
|
---|
| 129 | <command>./configure --help</command> first and add any desired parameters
|
---|
| 130 | to the <command>configure</command> command shown below):
|
---|
| 131 | </para>
|
---|
[e8e3312d] | 132 |
|
---|
[18785f8] | 133 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 134 | --sysconfdir=/etc \
|
---|
| 135 | --localstatedir=/var \
|
---|
[0b83a69] | 136 | --libexecdir=/usr/lib/dbus-1.0 \
|
---|
| 137 | --with-console-auth-dir=/run/console/ \
|
---|
| 138 | --without-systemdsystemunitdir \
|
---|
[18785f8] | 139 | --disable-systemd \
|
---|
[028759b] | 140 | --disable-static &&
|
---|
[e8e3312d] | 141 | make</userinput></screen>
|
---|
| 142 |
|
---|
[0b83a69] | 143 | <para>
|
---|
| 144 | See below for test instructions.
|
---|
| 145 | </para>
|
---|
[c45cb57] | 146 |
|
---|
[0b83a69] | 147 | <para>
|
---|
| 148 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[e8e3312d] | 150 |
|
---|
| 151 | <screen role="root"><userinput>make install &&
|
---|
[b6a2a0e] | 152 | mv -v /usr/share/doc/dbus /usr/share/doc/dbus-&dbus-version;</userinput></screen>
|
---|
| 153 |
|
---|
[0b83a69] | 154 | <para>
|
---|
[3bbf74c5] | 155 | If you are still building your system in chroot or you did not start the
|
---|
| 156 | daemon yet, but you want to compile some packages that require
|
---|
| 157 | <application>D-Bus</application>, generate
|
---|
| 158 | <application>D-Bus</application> UUID to avoid warnings when compiling
|
---|
| 159 | some packages with the following command as the
|
---|
| 160 | <systemitem class="username">root</systemitem> user:
|
---|
| 161 | </para>
|
---|
| 162 |
|
---|
| 163 | <screen role="root"><userinput>dbus-uuidgen --ensure</userinput></screen>
|
---|
| 164 |
|
---|
| 165 | <para>
|
---|
[0b83a69] | 166 | The dbus tests cannot be run until after <xref linkend="dbus-glib"/>
|
---|
[4947a7a] | 167 | has been installed. If you want to run only the unit tests, replace,
|
---|
| 168 | below, <parameter>--enable-tests</parameter> by
|
---|
| 169 | <parameter>--enable-embedded-tests</parameter>, otherwise,
|
---|
| 170 | <xref linkend="dbus-python"/> has to be installed, before.
|
---|
| 171 | The tests require passing additional parameters to
|
---|
| 172 | <command>configure</command> and exposing additional functionality in
|
---|
| 173 | the binaries. These interfaces are not intended to be used in a
|
---|
| 174 | production build of <application>D-Bus</application>. If you would
|
---|
| 175 | like to run the tests, issue the following commands:
|
---|
[0b83a69] | 176 | </para>
|
---|
[0d7900a] | 177 |
|
---|
[c802d3c] | 178 | <screen><userinput>make distclean &&
|
---|
| 179 | ./configure --enable-tests --enable-asserts &&
|
---|
| 180 | make &&
|
---|
| 181 | make check &&
|
---|
[b6a2a0e] | 182 | make distclean</userinput></screen>
|
---|
[c45cb57] | 183 |
|
---|
[c802d3c] | 184 | <para>
|
---|
[4947a7a] | 185 | If <command>run-test.sh</command> fails, it can be disabled with the
|
---|
| 186 | following sed, before running the commands for the tests:
|
---|
[c802d3c] | 187 | </para>
|
---|
| 188 |
|
---|
| 189 | <screen><userinput>sed -i -e 's:run-test.sh:$(NULL):g' test/name-test/Makefile.in</userinput></screen>
|
---|
| 190 |
|
---|
[0b83a69] | 191 | <para>
|
---|
| 192 | Note there has been a report that the tests may fail if running
|
---|
| 193 | inside a Midnight Commander shell.
|
---|
[0d7900a] | 194 | You may get out-of-memory error messages when running the tests.
|
---|
[0b83a69] | 195 | These are normal and can be safely ignored.
|
---|
| 196 | </para>
|
---|
[e8e3312d] | 197 |
|
---|
| 198 | </sect2>
|
---|
| 199 |
|
---|
| 200 | <sect2 role="commands">
|
---|
| 201 | <title>Command Explanations</title>
|
---|
| 202 |
|
---|
[0b83a69] | 203 | <para>
|
---|
| 204 | <parameter>--with-console-auth-dir=/run/console/</parameter>: This
|
---|
| 205 | parameter specifies location of the
|
---|
[b33c421] | 206 | <application>ConsoleKit</application> auth dir.
|
---|
[0b83a69] | 207 | </para>
|
---|
| 208 |
|
---|
| 209 | <para>
|
---|
[e5347c36] | 210 | <parameter>--without-systemdsystemunitdir</parameter>: This switch
|
---|
| 211 | prevents installation of systemd unit files.
|
---|
[0b83a69] | 212 | </para>
|
---|
| 213 |
|
---|
| 214 | <para>
|
---|
[e5347c36] | 215 | <parameter>--disable-systemd</parameter>: This switch disables systemd
|
---|
[0b83a69] | 216 | support in <application>D-Bus</application>
|
---|
[30d0aef] | 217 | </para>
|
---|
| 218 |
|
---|
[2fdcd9df] | 219 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[0b83a69] | 220 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 221 |
|
---|
| 222 | <para>
|
---|
[e5347c36] | 223 | <parameter>--enable-tests</parameter>: Build extra parts of the code to
|
---|
[4947a7a] | 224 | support all tests. Configure will end with a NOTE warning about increased
|
---|
| 225 | size of libraries and decreased security.
|
---|
| 226 | </para>
|
---|
| 227 |
|
---|
| 228 | <para>
|
---|
| 229 | <parameter>--enable-embedded-tests</parameter>: Build extra parts of the
|
---|
| 230 | code to support only unit tests. Configure will end with a NOTE warning
|
---|
| 231 | about increased size of libraries and decreased security.
|
---|
[0b83a69] | 232 | </para>
|
---|
| 233 |
|
---|
| 234 | <para>
|
---|
[e5347c36] | 235 | <parameter>--enable-asserts</parameter>: Enable debugging code to run
|
---|
| 236 | assertions for statements normally assumed to be true. This prevents a
|
---|
| 237 | warning that '<parameter>--enable-tests</parameter>' on its own is only
|
---|
| 238 | useful for profiling and might not give true results for all tests, but
|
---|
| 239 | adds its own NOTE that this should not be used in a production build.
|
---|
[0b83a69] | 240 | </para>
|
---|
[30d0aef] | 241 |
|
---|
[e8e3312d] | 242 | </sect2>
|
---|
| 243 |
|
---|
| 244 | <sect2 role="configuration">
|
---|
| 245 | <title>Configuring dbus</title>
|
---|
| 246 |
|
---|
| 247 | <sect3 id="dbus-config">
|
---|
| 248 | <title>Config Files</title>
|
---|
[0b83a69] | 249 |
|
---|
| 250 | <para>
|
---|
| 251 | <filename>/etc/dbus-1/session.conf</filename>,
|
---|
| 252 | <filename>/etc/dbus-1/system.conf</filename> and
|
---|
| 253 | <filename>/etc/dbus-1/system.d/*</filename>
|
---|
| 254 | </para>
|
---|
[e8e3312d] | 255 |
|
---|
| 256 | <indexterm zone="dbus dbus-config">
|
---|
| 257 | <primary sortas="e-etc-dbus-1-session.conf">/etc/dbus-1/session.conf</primary>
|
---|
| 258 | </indexterm>
|
---|
| 259 |
|
---|
| 260 | <indexterm zone="dbus dbus-config">
|
---|
| 261 | <primary sortas="e-etc-dbus-1/system.conf">/etc/dbus-1/system.conf</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 |
|
---|
| 264 | <indexterm zone="dbus dbus-config">
|
---|
[c45cb57] | 265 | <primary sortas="e-etc-dbus-1-system.d-star">/etc/dbus-1/system.d/*</primary>
|
---|
[e8e3312d] | 266 | </indexterm>
|
---|
| 267 |
|
---|
| 268 | </sect3>
|
---|
| 269 |
|
---|
[e9efab0b] | 270 | <sect3 id="dbus-session-config" xreflabel="D-Bus custom services directory">
|
---|
| 271 | <title>Configuration Information</title>
|
---|
[e8e3312d] | 272 |
|
---|
[0b83a69] | 273 | <para>
|
---|
| 274 | The configuration files listed above should probably not be
|
---|
| 275 | modified. If changes are required, you should create
|
---|
| 276 | <filename>/etc/dbus-1/session-local.conf</filename> and/or
|
---|
| 277 | <filename>/etc/dbus-1/system-local.conf</filename> and make any
|
---|
| 278 | desired changes to these files.
|
---|
| 279 | </para>
|
---|
| 280 |
|
---|
| 281 | <para>
|
---|
| 282 | If any packages install a
|
---|
| 283 | <application>D-Bus</application> <filename>.service</filename>
|
---|
| 284 | file outside of the standard <filename
|
---|
| 285 | class="directory">/usr/share/dbus-1/services</filename> directory,
|
---|
| 286 | that directory should be added to the local session configuration.
|
---|
| 287 | For instance, <filename
|
---|
| 288 | class="directory">/usr/local/share/dbus-1/services</filename> can
|
---|
| 289 | be added by performing the following commands as the
|
---|
| 290 | <systemitem class="username">root</systemitem> user:
|
---|
| 291 | </para>
|
---|
[57aa7a28] | 292 |
|
---|
| 293 | <screen role="root"><userinput>cat > /etc/dbus-1/session-local.conf << "EOF"
|
---|
| 294 | <literal><!DOCTYPE busconfig PUBLIC
|
---|
| 295 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
|
---|
| 296 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
|
---|
| 297 | <busconfig>
|
---|
| 298 |
|
---|
| 299 | <!-- Search for .service files in /usr/local -->
|
---|
| 300 | <servicedir>/usr/local/share/dbus-1/services</servicedir>
|
---|
| 301 |
|
---|
| 302 | </busconfig></literal>
|
---|
| 303 | EOF</userinput></screen>
|
---|
| 304 |
|
---|
[e8e3312d] | 305 | </sect3>
|
---|
| 306 |
|
---|
| 307 | <sect3 id="dbus-init">
|
---|
| 308 | <title>Boot Script</title>
|
---|
| 309 |
|
---|
[0b83a69] | 310 | <para>
|
---|
| 311 | To automatically start <command>dbus-daemon</command> when the
|
---|
| 312 | system is rebooted, install the
|
---|
| 313 | <filename>/etc/rc.d/init.d/dbus</filename> bootscript from the
|
---|
| 314 | <xref linkend="bootscripts"/> package.
|
---|
| 315 | </para>
|
---|
[e8e3312d] | 316 |
|
---|
| 317 | <indexterm zone="dbus dbus-init">
|
---|
| 318 | <primary sortas="f-dbus">dbus</primary>
|
---|
| 319 | </indexterm>
|
---|
| 320 |
|
---|
| 321 | <screen role="root"><userinput>make install-dbus</userinput></screen>
|
---|
| 322 |
|
---|
[0b83a69] | 323 | <para>
|
---|
| 324 | Note that this boot script only starts the system-wide
|
---|
| 325 | <application>D-Bus</application> daemon. Each user requiring access to
|
---|
| 326 | <application>D-Bus</application> services will also need to run a
|
---|
| 327 | session daemon as well. There are many methods you can use to start a
|
---|
| 328 | session daemon using the <command>dbus-launch</command> command. Review
|
---|
| 329 | the <command>dbus-launch</command> man page for details about the
|
---|
| 330 | available parameters and options. Here are some suggestions and
|
---|
| 331 | examples:
|
---|
| 332 | </para>
|
---|
[3565e02] | 333 |
|
---|
| 334 | <itemizedlist spacing="compact">
|
---|
| 335 | <listitem>
|
---|
[0b83a69] | 336 | <para>
|
---|
| 337 | Add <command>dbus-launch</command> to the line in the
|
---|
| 338 | <filename>~/.xinitrc</filename> file that starts your graphical
|
---|
| 339 | desktop environment.
|
---|
| 340 | </para>
|
---|
[3565e02] | 341 | </listitem>
|
---|
| 342 | <listitem>
|
---|
[0b83a69] | 343 | <para>
|
---|
| 344 | If you use <command>xdm</command> or some other display manager
|
---|
| 345 | that calls the <filename>~/.xsession</filename> file, you can add
|
---|
| 346 | <command>dbus-launch</command> to the line in your
|
---|
| 347 | <filename>~/.xsession</filename> file that starts your graphical
|
---|
| 348 | desktop environment. The syntax would be similar to the example in
|
---|
| 349 | the <filename>~/.xinitrc</filename> file.
|
---|
| 350 | </para>
|
---|
[3565e02] | 351 | </listitem>
|
---|
| 352 | <listitem>
|
---|
[0b83a69] | 353 | <para>
|
---|
| 354 | The examples shown previously use
|
---|
| 355 | <command>dbus-launch</command> to specify a program to be run. This
|
---|
| 356 | has the benefit (when also using the
|
---|
| 357 | <parameter>--exit-with-session</parameter> parameter) of stopping the
|
---|
| 358 | session daemon when the specified program is stopped. You can also
|
---|
| 359 | start the session daemon in your system or personal startup scripts
|
---|
| 360 | by adding the following lines:
|
---|
| 361 | </para>
|
---|
[3565e02] | 362 |
|
---|
[02e742b] | 363 | <screen><userinput><literal># Start the D-Bus session daemon
|
---|
[3565e02] | 364 | eval `dbus-launch`
|
---|
| 365 | export DBUS_SESSION_BUS_ADDRESS</literal></userinput></screen>
|
---|
| 366 |
|
---|
[0b83a69] | 367 | <para>
|
---|
| 368 | This method will not stop the session daemon when you exit
|
---|
| 369 | your shell, therefore you should add the following line to your
|
---|
| 370 | <filename>~/.bash_logout</filename> file:
|
---|
| 371 | </para>
|
---|
[3565e02] | 372 |
|
---|
[02e742b] | 373 | <screen><userinput><literal># Kill the D-Bus session daemon
|
---|
[3565e02] | 374 | kill $DBUS_SESSION_BUS_PID</literal></userinput></screen>
|
---|
[bccbdaea] | 375 | </listitem>
|
---|
[4ec808b] | 376 |
|
---|
[3565e02] | 377 | <listitem>
|
---|
[0b83a69] | 378 | <para>
|
---|
| 379 | A hint has been written that provides ways to start scripts
|
---|
| 380 | using the KDM session manager of KDE. The concepts in this hint could
|
---|
| 381 | possibly be used with other session managers as well. The hint is
|
---|
| 382 | located at <ulink
|
---|
| 383 | url="&hints-root;/downloads/files/execute-session-scripts-using-kdm.txt"/>.
|
---|
[c45cb57] | 384 | </para>
|
---|
[3565e02] | 385 | </listitem>
|
---|
[c45cb57] | 386 |
|
---|
[3565e02] | 387 | </itemizedlist>
|
---|
| 388 |
|
---|
[e8e3312d] | 389 | </sect3>
|
---|
| 390 |
|
---|
| 391 | </sect2>
|
---|
| 392 |
|
---|
| 393 | <sect2 role="content">
|
---|
| 394 | <title>Contents</title>
|
---|
| 395 |
|
---|
| 396 | <segmentedlist>
|
---|
| 397 | <segtitle>Installed Programs</segtitle>
|
---|
[0b83a69] | 398 | <segtitle>Installed Library</segtitle>
|
---|
[e8e3312d] | 399 | <segtitle>Installed Directories</segtitle>
|
---|
| 400 |
|
---|
| 401 | <seglistitem>
|
---|
[0b83a69] | 402 | <seg>
|
---|
[0d7900a] | 403 | dbus-cleanup-sockets, dbus-daemon, dbus-launch, dbus-monitor,
|
---|
[028759b] | 404 | dbus-send and dbus-uuidgen
|
---|
[0b83a69] | 405 | </seg>
|
---|
| 406 | <seg>
|
---|
| 407 | libdbus-1.so
|
---|
| 408 | </seg>
|
---|
| 409 | <seg>
|
---|
| 410 | /etc/dbus-1,
|
---|
| 411 | /usr/include/dbus-1.0,
|
---|
[0d7900a] | 412 | /usr/lib/dbus-1.0,
|
---|
[028759b] | 413 | /usr/share/dbus-1,
|
---|
[7776909] | 414 | /usr/share/doc/dbus-&dbus-version;,
|
---|
| 415 | /var/lib/dbus and
|
---|
| 416 | /var/run/dbus
|
---|
[0b83a69] | 417 | </seg>
|
---|
[e8e3312d] | 418 | </seglistitem>
|
---|
| 419 | </segmentedlist>
|
---|
| 420 |
|
---|
| 421 | <variablelist>
|
---|
| 422 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 423 | <?dbfo list-presentation="list"?>
|
---|
| 424 | <?dbhtml list-presentation="table"?>
|
---|
| 425 |
|
---|
| 426 | <varlistentry id="dbus-cleanup-sockets">
|
---|
| 427 | <term><command>dbus-cleanup-sockets</command></term>
|
---|
| 428 | <listitem>
|
---|
[0b83a69] | 429 | <para>
|
---|
| 430 | is used to clean up leftover sockets in a directory.
|
---|
| 431 | </para>
|
---|
[e8e3312d] | 432 | <indexterm zone="dbus dbus-cleanup-sockets">
|
---|
| 433 | <primary sortas="b-dbus-cleanup-sockets">dbus-cleanup-sockets</primary>
|
---|
| 434 | </indexterm>
|
---|
| 435 | </listitem>
|
---|
| 436 | </varlistentry>
|
---|
| 437 |
|
---|
| 438 | <varlistentry id="dbus-daemon">
|
---|
| 439 | <term><command>dbus-daemon</command></term>
|
---|
| 440 | <listitem>
|
---|
[0b83a69] | 441 | <para>
|
---|
| 442 | is the <application>D-Bus</application> message bus daemon.
|
---|
| 443 | </para>
|
---|
[e8e3312d] | 444 | <indexterm zone="dbus dbus-daemon">
|
---|
| 445 | <primary sortas="b-dbus-daemon">dbus-daemon</primary>
|
---|
| 446 | </indexterm>
|
---|
| 447 | </listitem>
|
---|
| 448 | </varlistentry>
|
---|
| 449 |
|
---|
| 450 | <varlistentry id="dbus-launch">
|
---|
| 451 | <term><command>dbus-launch</command></term>
|
---|
| 452 | <listitem>
|
---|
[0b83a69] | 453 | <para>
|
---|
| 454 | is used to start <command>dbus-daemon</command> from a shell
|
---|
| 455 | script. It would normally be called from a user's login
|
---|
| 456 | scripts.
|
---|
| 457 | </para>
|
---|
[e8e3312d] | 458 | <indexterm zone="dbus dbus-launch">
|
---|
| 459 | <primary sortas="b-dbus-launch">dbus-launch</primary>
|
---|
| 460 | </indexterm>
|
---|
| 461 | </listitem>
|
---|
| 462 | </varlistentry>
|
---|
| 463 |
|
---|
| 464 | <varlistentry id="dbus-monitor">
|
---|
| 465 | <term><command>dbus-monitor</command></term>
|
---|
| 466 | <listitem>
|
---|
[0b83a69] | 467 | <para>
|
---|
| 468 | is used to monitor messages going through a
|
---|
| 469 | <application>D-Bus</application> message bus.
|
---|
| 470 | </para>
|
---|
[e8e3312d] | 471 | <indexterm zone="dbus dbus-monitor">
|
---|
| 472 | <primary sortas="b-dbus-monitor">dbus-monitor</primary>
|
---|
| 473 | </indexterm>
|
---|
| 474 | </listitem>
|
---|
| 475 | </varlistentry>
|
---|
| 476 |
|
---|
| 477 | <varlistentry id="dbus-send">
|
---|
| 478 | <term><command>dbus-send</command></term>
|
---|
| 479 | <listitem>
|
---|
[0b83a69] | 480 | <para>
|
---|
| 481 | is used to send a message to a <application>D-Bus</application>
|
---|
| 482 | message bus.
|
---|
| 483 | </para>
|
---|
[e8e3312d] | 484 | <indexterm zone="dbus dbus-send">
|
---|
| 485 | <primary sortas="b-dbus-send">dbus-send</primary>
|
---|
| 486 | </indexterm>
|
---|
| 487 | </listitem>
|
---|
| 488 | </varlistentry>
|
---|
| 489 |
|
---|
[bf325a39] | 490 | <varlistentry id="dbus-uuidgen">
|
---|
| 491 | <term><command>dbus-uuidgen</command></term>
|
---|
[e8e3312d] | 492 | <listitem>
|
---|
[0b83a69] | 493 | <para>
|
---|
| 494 | is used to generate a universally unique ID.
|
---|
| 495 | </para>
|
---|
[bf325a39] | 496 | <indexterm zone="dbus dbus-uuidgen">
|
---|
| 497 | <primary sortas="b-dbus-uuidgen">dbus-uuidgen</primary>
|
---|
[e8e3312d] | 498 | </indexterm>
|
---|
| 499 | </listitem>
|
---|
| 500 | </varlistentry>
|
---|
| 501 |
|
---|
| 502 | <varlistentry id="libdbus-1">
|
---|
[b33c421] | 503 | <term><filename class="libraryfile">libdbus-1.so</filename></term>
|
---|
[e8e3312d] | 504 | <listitem>
|
---|
[0b83a69] | 505 | <para>
|
---|
| 506 | contains the API functions used by the
|
---|
| 507 | <application>D-Bus</application> message daemon.
|
---|
| 508 | <application>D-Bus</application> is first a library that provides
|
---|
| 509 | one-to-one communication between any two applications;
|
---|
| 510 | <command>dbus-daemon</command> is an application that uses this
|
---|
| 511 | library to implement a message bus daemon.
|
---|
| 512 | </para>
|
---|
[e8e3312d] | 513 | <indexterm zone="dbus libdbus-1">
|
---|
[406fc62] | 514 | <primary sortas="c-libdbus-1">libdbus-1.so</primary>
|
---|
[e8e3312d] | 515 | </indexterm>
|
---|
| 516 | </listitem>
|
---|
| 517 | </varlistentry>
|
---|
| 518 |
|
---|
| 519 | </variablelist>
|
---|
| 520 |
|
---|
| 521 | </sect2>
|
---|
| 522 |
|
---|
| 523 | </sect1>
|
---|
[0d7900a] | 524 |
|
---|