Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-13 Thread daltong defourne
Okay, after a bit of fiddling I have managed to disable it in "app vms of choice" by simply placing a config that only has [Desktop Entry] OnlyShowIn=X-TemplateVM; in "override" directory (~/.config/autostar) for pulseaudio However, templates that have startup parameters for both pulseaudio

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-12 Thread Noor Christensen
On Wed, Jul 12, 2017 at 06:17:53AM -0700, daltong defourne wrote: > On Wednesday, July 12, 2017 at 3:04:44 AM UTC+3, Salmiakki wrote: > > Putting a name in there did not work for me but going to an AppVM and doing > > this: > > mkdir ~/.config/autostart > > cp

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-12 Thread daltong defourne
Hi! Tried that (X-GNOME-Autostart-enabled=false) and pulse still starts Does it have to be the only line there (I mostly kept the original content) I also tried doing those manipulations with qubes-pulseaudio.desktop file, to no result On Wednesday, July 12, 2017 at 3:04:44 AM UTC+3,

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-11 Thread Salmiakki
I liked this idea, so I wanted to try. This seems to work: in /etc/qubes/autostart/qubes-pulseaudio.desktop.d/30_qubes.conf put this: [Desktop Entry] OnlyShowIn=X-AppVM; Now only AppVMs have audio. Putting a name in there did not work for me but going to an AppVM and doing this: mkdir

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-11 Thread Salmiakki
And according to the README in /etc/qubes/autostart you can override everything from within the VM using ~/.config/autostart: > This mechanism overrides only content of /etc/xdg/autostart, files placed in > ~/.config/autostart are unaffected, so can be used to override settings per-VM > basis.

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-11 Thread Salmiakki
On Wednesday, 12 July 2017 00:58:11 UTC+2, daltong defourne wrote: > Is it possible to do this on a per-app-VM basis and not on a per-template > basis? > > > TemplateVMs. There is a "OnlyShowIn" that can be used to define in what VMs > > the application should autostart, either **by name** or

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-11 Thread daltong defourne
Thanks! Is it possible to do this on a per-app-VM basis and not on a per-template basis? On Tuesday, July 11, 2017 at 12:37:49 PM UTC+3, Noor Christensen wrote: > On Tue, Jul 11, 2017 at 01:40:34AM -0700, daltong defourne wrote: > > All other commands in rc. local are executed as expected, so

Re: [qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-11 Thread Noor Christensen
On Tue, Jul 11, 2017 at 01:40:34AM -0700, daltong defourne wrote: > All other commands in rc. local are executed as expected, so it's not > a rc.local issue per se, but rather maybe something like pulseaudio > startup thing. > > Any pointers as to how to reliably "de-pulse-ize" VMs at startup? >

[qubes-users] Completely disabling pulse audio (playback and record) in service VMs that don't need sound

2017-07-11 Thread daltong defourne
Hi! Basically, I want to disable pulseaudio for stuff like firewall VM and VPN VM and the like. They don't need it and it makes pavucontrol pannel a mess. I tried just doing a sudo pactl exit in terminal of VMs that don't need sound and it works like a charm HOWEVER inserting a pactl