Enable pulseaudio for the session

This commit is contained in:
Alexander Grothe 2017-07-30 23:09:58 +02:00
parent b9082eadc9
commit 483f9e2878
3 changed files with 11 additions and 2 deletions

View File

@ -2053,7 +2053,8 @@ systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESS
enabled_services=( enabled_services=(
"tmux.service" "detect-second-display.service" "tmux.service" "detect-second-display.service"
"openbox-second.service" "osd2web.service" "openbox-second.service" "osd2web.service"
"yavdr-frontend.service") "yavdr-frontend.service" "pulseaudio.socket"
"pulseaudio.service")
disabled_services=() disabled_services=()
# enable configured services for the user session # enable configured services for the user session

View File

@ -84,3 +84,10 @@
template: template:
src: templates/systemd/user/osd2web.service.j2 src: templates/systemd/user/osd2web.service.j2
dest: '{{ vdr.home }}/.config/systemd/user/osd2web.service' dest: '{{ vdr.home }}/.config/systemd/user/osd2web.service'
- name: link /usr/bin/start-desktop to /var/lib/vdr/plugins/desktop/starter
file:
src: /usr/bin/start-desktop
dest: /var/lib/vdr/plugins/desktop/starter
state: link

View File

@ -6,7 +6,8 @@ systemctl --user import-environment DISPLAY XAUTHORITY XDG_RUNTIME_DIR DBUS_SESS
enabled_services=( enabled_services=(
"tmux.service" "detect-second-display.service" "tmux.service" "detect-second-display.service"
"openbox-second.service" "osd2web.service" "openbox-second.service" "osd2web.service"
"yavdr-frontend.service") "yavdr-frontend.service" "pulseaudio.socket"
"pulseaudio.service")
disabled_services=() disabled_services=()
# enable configured services for the user session # enable configured services for the user session