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
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
"$KDE_FULL_SESSION" = x
"true" ]; then
30 @PACTL_BINARY@ load-module module-device-manager
"do_routing=1" > /dev
/null
33 if [ x
"$SESSION_MANAGER" != x
] ; then
34 @PACTL_BINARY@ load-module module-x11-xsmp
"display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev
/null