153a5a1b3Sopenharmony_ci<?xml version="1.0"?><!--*-nxml-*-->
253a5a1b3Sopenharmony_ci<!DOCTYPE manpage SYSTEM "xmltoman.dtd">
353a5a1b3Sopenharmony_ci<?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
453a5a1b3Sopenharmony_ci
553a5a1b3Sopenharmony_ci<!--
653a5a1b3Sopenharmony_ciThis file is part of PulseAudio.
753a5a1b3Sopenharmony_ci
853a5a1b3Sopenharmony_ciPulseAudio is free software; you can redistribute it and/or modify it
953a5a1b3Sopenharmony_ciunder the terms of the GNU Lesser General Public License as
1053a5a1b3Sopenharmony_cipublished by the Free Software Foundation; either version 2.1 of the
1153a5a1b3Sopenharmony_ciLicense, or (at your option) any later version.
1253a5a1b3Sopenharmony_ci
1353a5a1b3Sopenharmony_ciPulseAudio is distributed in the hope that it will be useful, but WITHOUT
1453a5a1b3Sopenharmony_ciANY WARRANTY; without even the implied warranty of MERCHANTABILITY
1553a5a1b3Sopenharmony_cior FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
1653a5a1b3Sopenharmony_ciPublic License for more details.
1753a5a1b3Sopenharmony_ci
1853a5a1b3Sopenharmony_ciYou should have received a copy of the GNU Lesser General Public
1953a5a1b3Sopenharmony_ciLicense along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
2053a5a1b3Sopenharmony_ci-->
2153a5a1b3Sopenharmony_ci
2253a5a1b3Sopenharmony_ci<manpage name="pax11publish" section="1" desc="PulseAudio X11 Credential Utility">
2353a5a1b3Sopenharmony_ci
2453a5a1b3Sopenharmony_ci  <synopsis>
2553a5a1b3Sopenharmony_ci    <cmd>pax11publish <opt>-h</opt></cmd>
2653a5a1b3Sopenharmony_ci    <cmd>pax11publish [<arg>options</arg>] [<opt>-d</opt>]</cmd>
2753a5a1b3Sopenharmony_ci    <cmd>pax11publish [<arg>options</arg>] <opt>-e</opt></cmd>
2853a5a1b3Sopenharmony_ci    <cmd>pax11publish [<arg>options</arg>] <opt>-i</opt></cmd>
2953a5a1b3Sopenharmony_ci    <cmd>pax11publish [<arg>options</arg>] <opt>-r</opt></cmd>
3053a5a1b3Sopenharmony_ci  </synopsis>
3153a5a1b3Sopenharmony_ci
3253a5a1b3Sopenharmony_ci  <description>
3353a5a1b3Sopenharmony_ci    <p>The <file>pax11publish</file> utility can be used to dump or
3453a5a1b3Sopenharmony_ci    manipulate the PulseAudio server credentials that can be stored as
3553a5a1b3Sopenharmony_ci    properties on the X11 root window.</p>
3653a5a1b3Sopenharmony_ci
3753a5a1b3Sopenharmony_ci    <p>Please note that the loadable module
3853a5a1b3Sopenharmony_ci    <file>module-x11-publish</file> exports the same information
3953a5a1b3Sopenharmony_ci    directly from the PulseAudio sound server, and should in most
4053a5a1b3Sopenharmony_ci    cases be used in preference over this tool.</p>
4153a5a1b3Sopenharmony_ci
4253a5a1b3Sopenharmony_ci    <p>Use the following command to dump the raw
4353a5a1b3Sopenharmony_ci    PulseAudio-specific data that is stored in your X11 root
4453a5a1b3Sopenharmony_ci    window:</p>
4553a5a1b3Sopenharmony_ci
4653a5a1b3Sopenharmony_ci    <p>xprop -root | grep ^PULSE_</p>
4753a5a1b3Sopenharmony_ci
4853a5a1b3Sopenharmony_ci  </description>
4953a5a1b3Sopenharmony_ci
5053a5a1b3Sopenharmony_ci  <options>
5153a5a1b3Sopenharmony_ci
5253a5a1b3Sopenharmony_ci    <option>
5353a5a1b3Sopenharmony_ci      <p><opt>-h</opt></p>
5453a5a1b3Sopenharmony_ci
5553a5a1b3Sopenharmony_ci      <optdesc><p>Show help.</p></optdesc>
5653a5a1b3Sopenharmony_ci    </option>
5753a5a1b3Sopenharmony_ci
5853a5a1b3Sopenharmony_ci    <option>
5953a5a1b3Sopenharmony_ci      <p><opt>-d</opt></p>
6053a5a1b3Sopenharmony_ci
6153a5a1b3Sopenharmony_ci      <optdesc><p>Read the PulseAudio server credentials currently set
6253a5a1b3Sopenharmony_ci      on the X11 root window and dump them in a human readable form. This reads the
6353a5a1b3Sopenharmony_ci      PULSE_SERVER, PULSE_SINK, PULSE_SOURCE and PULSE_COOKIE
6453a5a1b3Sopenharmony_ci      properties.</p></optdesc>
6553a5a1b3Sopenharmony_ci    </option>
6653a5a1b3Sopenharmony_ci
6753a5a1b3Sopenharmony_ci    <option>
6853a5a1b3Sopenharmony_ci      <p><opt>-i</opt></p>
6953a5a1b3Sopenharmony_ci      <optdesc><p>Similar to <opt>-d</opt>, however dumps them in a
7053a5a1b3Sopenharmony_ci      Bourne shell compatible format so they may be used together with
7153a5a1b3Sopenharmony_ci      the <file>eval</file> shell command to set the $PULSE_SERVER,
7253a5a1b3Sopenharmony_ci      $PULSE_SINK, $PULSE_SOURCE environment variables. Also reads the
7353a5a1b3Sopenharmony_ci      authentication cookie from the root window and stores it in
7453a5a1b3Sopenharmony_ci      <file>~/.config/pulse/cookie</file>. </p></optdesc>
7553a5a1b3Sopenharmony_ci    </option>
7653a5a1b3Sopenharmony_ci
7753a5a1b3Sopenharmony_ci    <option>
7853a5a1b3Sopenharmony_ci      <p><opt>-e</opt></p>
7953a5a1b3Sopenharmony_ci
8053a5a1b3Sopenharmony_ci      <optdesc><p>Export the currently locally used sound server,
8153a5a1b3Sopenharmony_ci      sink, source configuration to the X11 root window. This takes
8253a5a1b3Sopenharmony_ci      the data from the $PULSE_SERVER, $PULSE_SINK, $PULSE_SOURCE
8353a5a1b3Sopenharmony_ci      environment variables and combines them with the data from
8453a5a1b3Sopenharmony_ci      <file>~/.config/pulse/client.conf</file> (or
8553a5a1b3Sopenharmony_ci      <file>@PA_DEFAULT_CONFIG_DIR@/client.conf</file> if that file does not
8653a5a1b3Sopenharmony_ci      exist). If specific options are passed on the command line
8753a5a1b3Sopenharmony_ci      (<opt>-S</opt>, <opt>-O</opt>, <opt>-I</opt>, <opt>-c</opt>, see
8853a5a1b3Sopenharmony_ci      below), they take precedence. Also uploads the local
8953a5a1b3Sopenharmony_ci      authentication cookie <file>~/.config/pulse/cookie</file> to the X11
9053a5a1b3Sopenharmony_ci      server.</p></optdesc>
9153a5a1b3Sopenharmony_ci    </option>
9253a5a1b3Sopenharmony_ci
9353a5a1b3Sopenharmony_ci    <option>
9453a5a1b3Sopenharmony_ci      <p><opt>-r</opt></p>
9553a5a1b3Sopenharmony_ci
9653a5a1b3Sopenharmony_ci      <optdesc><p>Removes the configured PulseAudio configuration from the X11 root window.</p></optdesc>
9753a5a1b3Sopenharmony_ci    </option>
9853a5a1b3Sopenharmony_ci
9953a5a1b3Sopenharmony_ci    <option>
10053a5a1b3Sopenharmony_ci      <p><opt>-D</opt> <arg>DISPLAY</arg></p>
10153a5a1b3Sopenharmony_ci
10253a5a1b3Sopenharmony_ci      <optdesc><p>Connect to the specified X11 display, instead of the default one configured in $DISPLAY.</p></optdesc>
10353a5a1b3Sopenharmony_ci    </option>
10453a5a1b3Sopenharmony_ci
10553a5a1b3Sopenharmony_ci    <option>
10653a5a1b3Sopenharmony_ci      <p><opt>-S</opt> <arg>SERVER</arg></p>
10753a5a1b3Sopenharmony_ci
10853a5a1b3Sopenharmony_ci      <optdesc><p>Only valid for <opt>-e</opt>: export the specified
10953a5a1b3Sopenharmony_ci      PulseAudio server as default to the X11 display instead of the
11053a5a1b3Sopenharmony_ci      one configured via local configuration.</p></optdesc>
11153a5a1b3Sopenharmony_ci    </option>
11253a5a1b3Sopenharmony_ci
11353a5a1b3Sopenharmony_ci    <option>
11453a5a1b3Sopenharmony_ci      <p><opt>-O</opt> <arg>SINK</arg></p>
11553a5a1b3Sopenharmony_ci
11653a5a1b3Sopenharmony_ci      <optdesc><p>Only valid for <opt>-e</opt>: export the specified
11753a5a1b3Sopenharmony_ci      sink as default sink to the X11 display instead of the one
11853a5a1b3Sopenharmony_ci      configured via local configuration.</p></optdesc>
11953a5a1b3Sopenharmony_ci    </option>
12053a5a1b3Sopenharmony_ci
12153a5a1b3Sopenharmony_ci    <option>
12253a5a1b3Sopenharmony_ci      <p><opt>-I</opt> <arg>SOURCE</arg></p>
12353a5a1b3Sopenharmony_ci
12453a5a1b3Sopenharmony_ci      <optdesc><p>Only valid for <opt>-e</opt>: export the specified
12553a5a1b3Sopenharmony_ci      source as default to the X11 display instead of the one
12653a5a1b3Sopenharmony_ci      configured via local configuration.</p></optdesc>
12753a5a1b3Sopenharmony_ci    </option>
12853a5a1b3Sopenharmony_ci
12953a5a1b3Sopenharmony_ci    <option>
13053a5a1b3Sopenharmony_ci      <p><opt>-c</opt> <arg>FILE</arg></p>
13153a5a1b3Sopenharmony_ci
13253a5a1b3Sopenharmony_ci      <optdesc><p>Only valid for <opt>-e</opt>: export the PulseAudio
13353a5a1b3Sopenharmony_ci      authentication cookie stored in the specified file to the X11
13453a5a1b3Sopenharmony_ci      display instead of the one stored in <file>~/.config/pulse/cookie</file>.</p></optdesc>
13553a5a1b3Sopenharmony_ci    </option>
13653a5a1b3Sopenharmony_ci
13753a5a1b3Sopenharmony_ci  </options>
13853a5a1b3Sopenharmony_ci
13953a5a1b3Sopenharmony_ci  <section name="Authors">
14053a5a1b3Sopenharmony_ci    <p>The PulseAudio Developers &lt;@PACKAGE_BUGREPORT@&gt;; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
14153a5a1b3Sopenharmony_ci  </section>
14253a5a1b3Sopenharmony_ci
14353a5a1b3Sopenharmony_ci  <section name="See also">
14453a5a1b3Sopenharmony_ci    <p>
14553a5a1b3Sopenharmony_ci      <manref name="pulseaudio" section="1"/>, <manref name="xprop" section="1"/>
14653a5a1b3Sopenharmony_ci    </p>
14753a5a1b3Sopenharmony_ci  </section>
14853a5a1b3Sopenharmony_ci
14953a5a1b3Sopenharmony_ci</manpage>
150