l10n: Updates to Russian (ru) translation
[pulseaudio-mirror.git] / src / daemon / start-pulseaudio-x11.in
blob391a6d3ce6e049c5d20fe50191392877aa4dc557
1 #!/bin/sh
3 # This file is part of PulseAudio.
5 # PulseAudio is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # PulseAudio is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with PulseAudio; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 # USA.
20 set -e
22 @PA_BINARY@ --start "$@"
24 if [ x"$DISPLAY" != x ] ; then
26 @PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
27 @PACTL_BINARY@ load-module module-x11-cork-request "display=$DISPLAY" > /dev/null
29 if [ x"$SESSION_MANAGER" != x ] ; then
30 @PACTL_BINARY@ load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null