mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-16 06:59:55 -05:00
daemon: consolidate startup scripts
simplify pulseaudio autostart into one, avoid needless extra work for kde, and avoid possible startup races.
This commit is contained in:
parent
0a5adc95c4
commit
2b85ae0489
4 changed files with 4 additions and 42 deletions
|
|
@ -26,6 +26,10 @@ if [ x"$DISPLAY" != x ] ; then
|
|||
@PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY" > /dev/null
|
||||
@PACTL_BINARY@ load-module module-x11-cork-request "display=$DISPLAY" > /dev/null
|
||||
|
||||
if [ x"$KDE_FULL_SESSION" = x"true" ]; then
|
||||
@PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
|
||||
fi
|
||||
|
||||
if [ x"$SESSION_MANAGER" != x ] ; then
|
||||
@PACTL_BINARY@ load-module module-x11-xsmp "display=$DISPLAY session_manager=$SESSION_MANAGER" > /dev/null
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue