-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Tue, Dec 11, 2018 at 08:54:45AM +0200, Ivan Mitev wrote:
>
>
> On 12/10/18 10:05 PM, daltong defourne wrote:
> > Hello!
> >
> > I'm trying to exclude a service that is started by XDG-autostart from starting up only on SOME app-VMs based on same template-VM (so deleting the .desktop file from appvm completely is not an option)
> >
> > After reading some comments on github from long ago (like this one here
https://github.com/QubesOS/qubes-issues/issues/137#issuecomment-77752422 ) I have concluded that I theoretically should be able to use NotShowIn in the desktop file.
> >
> > However, putting a
> >
> > NotShowIn=personal;work
> >
> > into
> >
> > /etc/xdg/autostart/pulseaudio.desktop
> >
> > did not help me to prevent pulse startup in VM named personal and vm named work
> >
> > What am I doing wrong?
>
> You can only specify a VM type (AppVM, NetVM, ...), not a VM name.
>
> > Is doing what I want even possible?
>
> In theory yes (haven't tested it): you'll have to put a .desktop in
> $HOME/.config/autostart/ with 'Hidden=true' in each of the *AppVM* you want
> the .desktop app to be disabled.
This should work. And this is the recommended way according to Desktop
Application Autostart Specification[1]. And is much less intrusive than
bind-dirs.
[1]
https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html#idm140434866989328
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAlwWdH8ACgkQ24/THMrX
1ywdyAf/WsKAR5uEWY9NOTOLZDcoEKnOKuqRj8i55S/Jz97/puIUqNxTivyoo6S3
ypJrHdp9wBQuL/RTnieavbUdJxBSmqHoljZhK4nImkXXQE+Qsv8f0X1i2ar0xqsL
cKLY911+xRWjIcqBvrYshYO/2W4qm9KTmCiNq9p2+5iRSUMBgZovimFFpUaXz3mP
0p7R7cQxv4pDHvkK1zUn1JY4xqhDkGGO+bbkN9o6PaTeDjlQx0Bj8xiVCemDFvlW
nYMIc+Fq37WboztS1sf6XXj87i/Xm4HUX9QHggQG+ZBqdhUd3rEjMeCvf6V+quyZ
yJIP5sO/Qy9TCPV/V57rtrAf9JOkiA==
=Rr6X
-----END PGP SIGNATURE-----