From 8acad1b78d6aae7d3674833773364de8a6d50a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 8 Feb 2014 10:21:55 +0100 Subject: [PATCH] rpm: disable (standard) pulseaudio autostart on its upgrade Not only on initial template installation. --- rpm_spec/core-vm.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm_spec/core-vm.spec b/rpm_spec/core-vm.spec index c94e711..b9d69a9 100644 --- a/rpm_spec/core-vm.spec +++ b/rpm_spec/core-vm.spec @@ -113,6 +113,10 @@ if [ -e /etc/init/serial.conf ]; then cp /usr/share/qubes/serial.conf /etc/init/serial.conf fi +%triggerin -- pulseaudio-module-x11 +sed -i '/^\(Not\|Only\)ShowIn/d' /etc/xdg/autostart/pulseaudio.desktop +echo 'NotShowIn=QUBES;' >> /etc/xdg/autostart/pulseaudio.desktop + %post # disable some Upstart services