Customizing Firefox in dispVMs

81 views
Skip to first unread message

Totally Zoid

unread,
Oct 11, 2019, 11:04:27 AM10/11/19
to qubes...@googlegroups.com
Hello

Is there a definite way to customize the default Firefox install in the DispVMs without launching it first in the TemplateVM (which I don't want to do for obvious reasons)?

I thought to add a prefs.js file to get rid of the Google search and other garbage that comes preinstalled and turned on in Firefox and which I have to manually turn off in preferences and about:config every time I start the DispVM (which gets tiring). However, apparently the profile folder is always generated under a different name and the new default profile I created doesn't get recognized.

~ Zoid


Sent with ProtonMail Secure Email.

unman

unread,
Oct 11, 2019, 11:23:59 AM10/11/19
to qubes...@googlegroups.com
How about this:

Create a qube, which has no netvm.
Open firefox - configure it as you will. (To install plugins, you wil
have to download elsewhere and copy them in to this qube to install)
Close qube.
Use `qvm-prefs qube template_for_dispvms True`
Set netvm for that qube.
Open disposableVM based on qube.
Profit.

unman

David Hobach

unread,
Oct 12, 2019, 5:36:41 AM10/12/19
to qubes...@googlegroups.com
Also, if you have an old profile that you want to re-use, you can edit
~/.mozilla/firefox/profiles.ini to point to it.

E.g.:

[General]
StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=0
Path=[full path to your profile.default]
Default=1

Also put your settings in user.js, not prefs.js. The latter is for
internal firefox usage only and may be modified by firefox.

Btw a website with some nice firefox settings: privacy-handbuch.de

Charles Peters

unread,
Oct 12, 2019, 3:27:34 PM10/12/19
to qubes...@googlegroups.com
On Sat, Oct 12, 2019 at 5:36 AM David Hobach <tri...@hackingthe.net> wrote:
>
> On 10/11/19 5:23 PM, unman wrote:
> > On Fri, Oct 11, 2019 at 03:04:16PM +0000, 'Totally Zoid' via qubes-users wrote:
> >>
> >> Is there a definite way to customize the default Firefox install in the DispVMs without launching it first in the TemplateVM (which I don't want to do for obvious reasons)?

How about installing the latest firefox as a further customization?

Debian packages firefox-esr and changing the settings to turn off
video autoplay is very unfriendly compared to the latest versions of
firefox. I'm installing the latest firefox in user space rather than
the templates because of the problems created by using qubes
persistence/userspace and firefox's built in updating method. Any
suggestions how to do that with Debian DispVMs?

> > How about this:
> >
> > Create a qube, which has no netvm.
> > Open firefox - configure it as you will. (To install plugins, you wil
> > have to download elsewhere and copy them in to this qube to install)
> > Close qube.
> > Use `qvm-prefs qube template_for_dispvms True`
> > Set netvm for that qube.
> > Open disposableVM based on qube.
> > Profit.

For the Fedora template yes, but I would have to repeat the process
every time for a new release of firefox in the Debian DispVM's.


Chuck

Jin-oh Kang

unread,
Oct 13, 2019, 12:43:00 PM10/13/19
to qubes-users
Simply change the settings in the AppVM that acts as the template for such DispVMs. Note that you should call `qvm-run` directly to do this since Appmenus spins off DispVMs from the AppVM instead of launching it directly.

In my case I just wanted it applied to every AppVM based on my template (and not just DispVMs), so I used /etc/firefox/pref/*.js instead.

Reply all
Reply to author
Forward
0 new messages