1 <?xml version="1.0"?><!--*-nxml-*-->
2 <!DOCTYPE manpage SYSTEM "xmltoman.dtd">
3 <?xml-stylesheet type="text/xsl" href="xmltoman.xsl" ?>
6 This file is part of PulseAudio.
8 PulseAudio is free software; you can redistribute it and/or modify it
9 under the terms of the GNU Lesser General Public License as
10 published by the Free Software Foundation; either version 2.1 of the
11 License, or (at your option) any later version.
13 PulseAudio is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
16 Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with PulseAudio; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
24 <manpage name="pax11publish" section="1" desc="PulseAudio X11 Credential Utility">
27 <cmd>pax11publish <opt>-h</opt></cmd>
28 <cmd>pax11publish [<arg>options</arg>] [<opt>-d</opt>]</cmd>
29 <cmd>pax11publish [<arg>options</arg>] <opt>-e</opt></cmd>
30 <cmd>pax11publish [<arg>options</arg>] <opt>-i</opt></cmd>
31 <cmd>pax11publish [<arg>options</arg>] <opt>-r</opt></cmd>
35 <p>The <file>pax11publish</file> utility can be used to dump or
36 manipulate the PulseAudio server credentials that can be stored as
37 properties on the X11 root window.</p>
39 <p>Please note that the loadable module
40 <file>module-x11-publish</file> exports the same information
41 directly from the PulseAudio sound server, and should in most
42 cases be used in preference over this tool.</p>
44 <p>Use the following command to dump the raw
45 PulseAudio-specific data that is stored in your X11 root
48 <p>xprop -root | grep ^PULSE_</p>
57 <optdesc><p>Show help.</p></optdesc>
63 <optdesc><p>Read the PulseAudio server credentials currently set
64 on the X11 root window and dump them in a human readable form. This reads the
65 PULSE_SERVER, PULSE_SINK, PULSE_SOURCE and PULSE_COOKIE
66 properties.</p></optdesc>
71 <optdesc><p>Similar to <opt>-d</opt>, however dumps them in a
72 Bourne shell compatible format so they may be used together with
73 the <file>eval</file> shell command to set the $PULSE_SERVER,
74 $PULSE_SINK, $PULSE_SOURCE environment variables. Also reads the
75 authentication cookie from the root window and stores it in
76 <file>~/.pulse-cookie</file>. </p></optdesc>
82 <optdesc><p>Export the currently locally used sound server,
83 sink, source configuration to the X11 root window. This takes
84 the data from the $PULSE_SERVER, $PULSE_SINK, $PULSE_SOURCE
85 environment variables and combines them with the data from
86 <file>~/.pulse/client.conf</file> (or
87 <file>@pulseconfdir@/client.conf</file> if that file does not
88 exist). If specific options are passed on the command line
89 (<opt>-S</opt>, <opt>-O</opt>, <opt>-I</opt>, <opt>-c</opt>, see
90 below), they take precedence. Also uploads the local
91 authentication cookie <file>~/.pulse-cookie</file> to the X11
98 <optdesc><p>Removes the configured PulseAudio configuration from the X11 root window.</p></optdesc>
102 <p><opt>-D</opt> <arg>DISPLAY</arg></p>
104 <optdesc><p>Connect to the specified X11 display, instead of the default one configured in $DISPLAY.</p></optdesc>
108 <p><opt>-S</opt> <arg>SERVER</arg></p>
110 <optdesc><p>Only valid for <opt>-e</opt>: export the specified
111 PulseAudio server as default to the X11 display instead of the
112 one configured via local configuration.</p></optdesc>
116 <p><opt>-O</opt> <arg>SINK</arg></p>
118 <optdesc><p>Only valid for <opt>-e</opt>: export the specified
119 sink as default sink to the X11 display instead of the one
120 configured via local configuration.</p></optdesc>
124 <p><opt>-I</opt> <arg>SOURCE</arg></p>
126 <optdesc><p>Only valid for <opt>-e</opt>: export the specified
127 source as default to the X11 display instead of the one
128 configured via local configuration.</p></optdesc>
132 <p><opt>-c</opt> <arg>FILE</arg></p>
134 <optdesc><p>Only valid for <opt>-e</opt>: export the PulseAudio
135 authentication cookie stored in the specified file to the X11
136 display instead of the one stored in <file>~/.pulse-cookie</file>.</p></optdesc>
141 <section name="Authors">
142 <p>The PulseAudio Developers <@PACKAGE_BUGREPORT@>; PulseAudio is available from <url href="@PACKAGE_URL@"/></p>
145 <section name="See also">
147 <manref name="pulseaudio" section="1"/>, <manref name="xprop" section="1"/>