mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-15 08:56:34 -05:00
auth: move cookie file to ~/.config/pulse/cookie
In order to follow XDG basedir, read the cookie file from ~/.config/pulse/cookie if possible, but fall back to the old file. if it doesn't exist.
This commit is contained in:
parent
9ab510a692
commit
87ae830705
14 changed files with 57 additions and 32 deletions
|
|
@ -73,7 +73,7 @@ USA.
|
|||
the <file>eval</file> shell command to set the $PULSE_SERVER,
|
||||
$PULSE_SINK, $PULSE_SOURCE environment variables. Also reads the
|
||||
authentication cookie from the root window and stores it in
|
||||
<file>~/.pulse-cookie</file>. </p></optdesc>
|
||||
<file>~/.config/pulse/cookie</file>. </p></optdesc>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
|
|
@ -88,7 +88,7 @@ USA.
|
|||
exist). If specific options are passed on the command line
|
||||
(<opt>-S</opt>, <opt>-O</opt>, <opt>-I</opt>, <opt>-c</opt>, see
|
||||
below), they take precedence. Also uploads the local
|
||||
authentication cookie <file>~/.pulse-cookie</file> to the X11
|
||||
authentication cookie <file>~/.config/pulse/cookie</file> to the X11
|
||||
server.</p></optdesc>
|
||||
</option>
|
||||
|
||||
|
|
@ -133,7 +133,7 @@ USA.
|
|||
|
||||
<optdesc><p>Only valid for <opt>-e</opt>: export the PulseAudio
|
||||
authentication cookie stored in the specified file to the X11
|
||||
display instead of the one stored in <file>~/.pulse-cookie</file>.</p></optdesc>
|
||||
display instead of the one stored in <file>~/.config/pulse/cookie</file>.</p></optdesc>
|
||||
</option>
|
||||
|
||||
</options>
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ USA.
|
|||
<option>
|
||||
<p><opt>cookie-file=</opt> Specify the path to the PulseAudio
|
||||
authentication cookie. Defaults to
|
||||
<file>~/.pulse-cookie</file>.</p>
|
||||
<file>~/.config/pulse/cookie</file>.</p>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue