<para><command>&dhpackage;</command> is a console DCOP (Desktop Communications Protocol) client.</para>
</refsect1>
<refsect1>
<title>OPTIONS</title>
<para>This program follows the usual GNU command line syntax,
with long options starting with two dashes (`-'). A summary of
options is included below.</para>
<variablelist>
<varlistentry>
<term><option>--all-sessions</option>
</term>
<listitem>
<para>Send to all sessions found. Only works with the --user and --all-users options.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--all-users</option>
</term>
<listitem>
<para>Send the same DCOP call to all users with a running DCOP server. Only failed calls to existing DCOP servers will generate an error message. If no DCOP server is available at all, no error will be generated.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--help</option>
</term>
<listitem>
<para>Show help about options.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--list-sessions</option>
</term>
<listitem>
<para>List all active KDE session for a user or all users.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--pipe</option>
</term>
<listitem>
<para>Call DCOP for each line read from stdin.</para>
<para>Connect to the given user's DCOP server. This option will ignore the values of the environment vars $DCOPSERVER and $ICEAUTHORITY, even if they are set. If the user has more than one open session, you must also use one of the --list-sessions, --session or --all-sessions command-line options.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>EXAMPLES</title>
<para><example>
<title>Return number of the current desktop, e.g. 2</title>