/usr/share/gtk-doc/html/nautilus-actions-3/nautilus-actions-D-Bus.html is in nautilus-actions 3.2.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>D-Bus</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Nautilus-Actions™ Reference Manual">
<link rel="up" href="ch04.html" title="DBus services">
<link rel="prev" href="ch04.html" title="DBus services">
<link rel="next" href="ch05.html" title="Data Factory Management System">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch04.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">
<span class="productname">Nautilus-Actions</span>™ Reference Manual</th>
<td><a accesskey="n" href="ch05.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#nautilus-actions-D-Bus.synopsis" class="shortcut">Top</a>
|
<a href="#nautilus-actions-D-Bus.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="nautilus-actions-D-Bus"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="nautilus-actions-D-Bus.top_of_page"></a>D-Bus</span></h2>
<p>D-Bus — The D-Bus Services</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="nautilus-actions-D-Bus.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <nautilus-actions/na-dbus.h>
#define <a class="link" href="nautilus-actions-D-Bus.html#NAUTILUS-ACTIONS-DBUS-SERVICE:CAPS" title="NAUTILUS_ACTIONS_DBUS_SERVICE">NAUTILUS_ACTIONS_DBUS_SERVICE</a>
#define <a class="link" href="nautilus-actions-D-Bus.html#NAUTILUS-ACTIONS-DBUS-TRACKER-PATH:CAPS" title="NAUTILUS_ACTIONS_DBUS_TRACKER_PATH">NAUTILUS_ACTIONS_DBUS_TRACKER_PATH</a>
#define <a class="link" href="nautilus-actions-D-Bus.html#NAUTILUS-ACTIONS-DBUS-TRACKER-IFACE:CAPS" title="NAUTILUS_ACTIONS_DBUS_TRACKER_IFACE">NAUTILUS_ACTIONS_DBUS_TRACKER_IFACE</a>
</pre>
</div>
<div class="refsect1">
<a name="nautilus-actions-D-Bus.description"></a><h2>Description</h2>
<p>
<span class="productname">Nautilus-Actions</span>™, through its <span class="emphasis"><em>tracker</em></span> plugin, exposes
several D-Bus interfaces. These interfaces may be queried in order to get
informations about current selection, <span class="productname">Nautilus-Actions</span>™ status, and so on.
</p>
<p>
</p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Note</h3>
<p>
To be really clear, <span class="productname">Nautilus-Actions</span>™ relies on <span class="productname">Nautilus</span>™ in order
to be able to register its own D-Bus services via the
<span class="emphasis"><em>tracker</em></span> plugin.
</p>
<p>
If <span class="productname">Nautilus</span>™ does not run, or the <span class="emphasis"><em>tracker</em></span>
plugin is not loaded at <span class="productname">Nautilus</span>™ startup, then these D-Bus
services will not be available.
</p>
</div>
<p>
</p>
</div>
<div class="refsect1">
<a name="nautilus-actions-D-Bus.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="NAUTILUS-ACTIONS-DBUS-SERVICE:CAPS"></a><h3>NAUTILUS_ACTIONS_DBUS_SERVICE</h3>
<pre class="programlisting">#define NAUTILUS_ACTIONS_DBUS_SERVICE "org.nautilus-actions.DBus"
</pre>
<p>
This is the « well-known » name that
<span class="productname">Nautilus-Actions</span>™ reserves on D-Bus session bus.
</p>
</div>
<hr>
<div class="refsect2">
<a name="NAUTILUS-ACTIONS-DBUS-TRACKER-PATH:CAPS"></a><h3>NAUTILUS_ACTIONS_DBUS_TRACKER_PATH</h3>
<pre class="programlisting">#define NAUTILUS_ACTIONS_DBUS_TRACKER_PATH "/org/nautilus_actions/DBus/Tracker"
</pre>
<p>
The D-Bus path of the <span class="emphasis"><em>tracker</em></span> object.
</p>
<p>
When requested through the <code class="methodname">Introspect</code> of the
<code class="interfacename">Introspectable</code> D-Bus interface, the
<span class="emphasis"><em>tracker</em></span> object returns following informations:
</p>
<p>
</p>
<pre class="programlisting">
<span class="command"><strong>
dbus-send \
--session \
--type=method_call \
--print-reply \
--dest=org.nautilus-actions.DBus \
/org/nautilus_actions/DBus/Tracker \
org.freedesktop.DBus.Introspectable.Introspect
</strong></span>
<code class="computeroutput">
method return sender=:1.29 -> dest=:1.145 reply_serial=2
string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="data" direction="out" type="s"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface" direction="in" type="s"/>
<arg name="propname" direction="in" type="s"/>
<arg name="value" direction="out" type="v"/>
</method>
<method name="Set">
<arg name="interface" direction="in" type="s"/>
<arg name="propname" direction="in" type="s"/>
<arg name="value" direction="in" type="v"/>
</method>
<method name="GetAll">
<arg name="interface" direction="in" type="s"/>
<arg name="props" direction="out" type="a{sv}"/>
</method>
</interface>
<interface name="org.nautilus_actions.DBus.Tracker.Status">
<method name="GetSelectedPaths">
<arg name="paths" type="as" direction="out"/>
</method>
</interface>
</node>
</code>
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="NAUTILUS-ACTIONS-DBUS-TRACKER-IFACE:CAPS"></a><h3>NAUTILUS_ACTIONS_DBUS_TRACKER_IFACE</h3>
<pre class="programlisting">#define NAUTILUS_ACTIONS_DBUS_TRACKER_IFACE "org.nautilus_actions.DBus.Tracker.Properties1"
</pre>
<p>
An interface defined on the <span class="emphasis"><em>tracker</em></span> object,
identified by its <a class="link" href="nautilus-actions-D-Bus.html#NAUTILUS-ACTIONS-DBUS-TRACKER-PATH:CAPS" title="NAUTILUS_ACTIONS_DBUS_TRACKER_PATH"><code class="literal">NAUTILUS_ACTIONS_DBUS_TRACKER_PATH</code></a> D-Bus path.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|