Does fedora have a community that automates provisioning and configuration?
Provisioning a system is easy these days and with fedora’s support of kickstart there is plenty of good information availble to do just about anything. Combined with ansible the rest of the configuration is nicely automated even when only builtin features are used.
Still I find I need help figuring some details out. For instance, how do I set user_pref("webgl.disabled", true); as the default for new user accounts? I could add a line in each user’s user.js file for each firefox profile but it would be nice to start with it already set before a new user starts up firefox for the first time.
This is just a guess, but I might try creating a /etc/skel/.mozilla/firefox/distribution/preferences.json file containing the following before adding the users.
I was able to convince myself that I messed up earlier in my testing when I could see that firefox indeed was accessing /etc/firefox/defaults/pref/local.js
Are defaults/pref and pref different things though? For example, one might be to set initial defaults (if the setting is not elsewhere specified) whereas the other might be to configure overrides. I thought I saw a statement about a feature along those lines when I was browsing earlier. Let me check my history …
Previously you could only set and lock a subset of preferences. Starting with Firefox 81 and Firefox ESR 78.3 you can set many more preferences. You can also set default preferences, user preferences and you can clear preferences.
Hmm, this note from a little further down on that page might be hinting at why you are having difficulty changing this setting:
“user” preferences persist even if the policy is removed, so if you need to remove them, you should use the clear policy.
It looks like Mozilla has managed to make these settings really difficult to manage.