2 .\" dbus-send manual page.
3 .\" Copyright (C) 2003 Red Hat, Inc.
7 dbus-send \- Send a message to a message bus
11 [\-\-system] [\-\-dest=SERVICE] [\-\-print-reply] <message name> [contents ...]
15 The \fIdbus-send\fP command is used to send a message to a D-BUS message
16 bus. See http://www.freedesktop.org/software/dbus/ for more
17 information about the big picture.
20 There are two well-known message buses: the systemwide message bus
21 (installed on many systems as the "messagebus" service) and the
22 per-user-login-session message bus (started each time a user logs in).
23 \fIdbus-send\fP sends messages to the session bus by default, and
24 to the system bus if you specify \-\-system.
27 Nearly all uses of \fIdbus-send\fP must provide the \-\-dest
28 argument which is the name of a service on the bus to send
29 the message to. The other required argument is the name
30 of the message to send. Following arguments are the message
31 contents (message arguments).
34 The message arguments are given as a type name, a colon,
35 and then the value of the argument. The possible type names
36 are: string, int32, uint32, double, byte, boolean.
37 D-BUS supports more types than these, but \fIdbus-send\fP
41 Here is an example invocation:
44 dbus-send \-\-dest='org.freedesktop.ExampleService' \\
45 org.freedesktop.ExampleMessage \\
46 int32:47 string:'hello world' double:65.32
51 The following options are supported:
54 Specify the service to receive the message.
57 Block for a reply to the message sent, and print any reply received.
60 Use the system message bus instead of the session bus.
63 dbus-send was written by Philip Blundell.
66 Please send bug reports to the D-BUS mailing list or bug tracker,
67 see http://www.freedesktop.org/software/dbus/