disp-vm firefox addons

26 views
Skip to first unread message

haaber

unread,
Apr 30, 2020, 8:31:17 AM4/30/20
to qubes-users
Hello, I consider that a disp-vm should start with a fully equipped
firefox, say having noscript & some ad-blocker installed. But I am not
sure how to do so: am I supposed to install them, say, inside my
debian-10 template? Is that safe? Template-vm's have no direct i-net
acces, so am I required to ship the .xpi file into in with qvm-copy?
Something else / better to think of? Cheers, Bernhard

Sven Semmler

unread,
Apr 30, 2020, 6:06:03 PM4/30/20
to haaber, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Your DispVM is based on a DispVM template, which in turn is an AppVM
based on a TemplateVM. In practice that means:

qvm-create --template fedora --label red web-dvm
qvm-prefs web-dvm template_for_dispvms true
qvm-features web-dvm appmenus-dispvm 1

This is what you already have. If you start e.g. [web-dvm] firefox from
your appmenu a new dispvm start with firefox. However, you can start the
dispvm template (not the TemplateVM!) from dom0 like this:

qvm-run -a web-dvm firefox &

... now you'll run firefox in the dispvm template and can configure it.
When done shutdown the dispvm template:

qvm-shutdown --wait web-dvm

If you now launch [web-dvm] firefox from your appmenu it will reflect
the changes you just made in the dispvm template.

/Sven

- --
public key: https://www.svensemmler.org/0x8F541FB6.asc
fingerprint: D7CA F2DB 658D 89BC 08D6 A7AA DA6E 167B 8F54 1FB6

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE18ry22WNibwI1qeq2m4We49UH7YFAl6rS8AACgkQ2m4We49U
H7abpxAAiY8sn5pCUQzlSTrcly1IR6S4zlSKl+dWj0zt/8dX7AQZ1LJtujFgTdcK
3bviPtw+OWQkcv5ag5P+M7ozNIjfMy1DVOE8nDmVNN5wAwZ36ALthlXD9WAsHd5j
HQqu0cCRoIgcVcc8U3YDmUaVuGRrCuqbdSZDtPsKkCP10UCtzfGolQ3kGAmE8aB+
vQTCQenCse8W+t4YcuFy7CuIbG9SH7q7AyanpIftU38DBdDiTVFSuRsocf0yGii+
Az7LnMuyOehwMBGg9rHl8fYPIDJC3EgLRInZcIchrwy8tC8YEwG6wwm2D/yhfphb
N3cTuRl2Qe6Lqp3OVeIYWkJkuscREu1vRrHm3O4DlLIUKFkl0SoEtH5dv3qCAzyD
3Dn0xDr94y+g971ODI5kuTYlxEOH7itcSWhewgaSZ/GCYS1Lh1EIE/s40F1xXIqW
8n+SYPF0IDJvOismqKSrRBgdC4sBRM6LAxzhWV7UhlcW4Xwt2mzpORWyDQse6o4O
mp5rQ4mFnzszK4XqnWs5GUbpXTlkCvDiXbbK/WawdxxnH6hKp2B19qPdPna7ByJx
Wkedf3tqRd41EbCVLR6NNisSwxLpqpavYblsZPrqWkgrYKRGKRj6+lMKWsZLbDz6
wG0sViL6lXFVgE4VMcOmP2+kS8/tGgjmByqNCmJMKoab4FZLAg8=
=MPxu
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages