Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a system (Linux Mint) with multiple users and I want them to have the same about:config values and parameters. If I change about:config in one user, will it be reflected to the other users' Firefox too or not? If not, is there an automated way (like a plugin or a script) that would enable me to do so?

Thanks!

share|improve this question
    
They are usually stored in ~/.mozilla/firefox/*/prefs.js as a "delta", meaning only non-default values are stored there. – mveroone Jul 29 '13 at 15:54
    
So do the changes I made in one account (for example, I use X to tinker with about:config) will also be reflected into Y's when Y uses Firefox? Or does the * in ~/.mozilla/firefox/*/prefs.js stand for users? – Carlo Jul 29 '13 at 16:11
    
@Carlo The ~ character represents home directory of the current user and the * has to be replaced by the profile directory name. Every user has his own set of profiles. Probably you can try to write a script which would copy profile setting to a shared profile.js when closing Firefox and retrieve the shared profile.js when starting Firefox. – pabouk Jul 29 '13 at 17:06
    
@Pabouk oh yes. Sorry for overlooking that one. Thanks for the response! – Carlo Jul 30 '13 at 6:11
up vote 0 down vote accepted

Just to write as an answer what came up in comments :

Firefox stores its preferences (a.k.a. about:config screen parameters) in a file named prefs.js stored in each user home directory, in ~/.mozilla/firefox/<profile_id>/prefs.js where ~ represents the current user directory and <profile_id> is a random generated string of about 12 characters.

This file is stored as a 'Delta' which means only parameters that differ from default configuration will be there. i.e. if default config is :

a: 1
b: 1
c: 0

And your configuration is :

a: 1
b: 0
c: 0

prefs.js will look like :

b:0

To do what you want, you have to either copy a 'default' configuration file to the user's when he logs (via its ~/.profile file for example) or simply replace the file with a symbolic link to a default one. (which would be read-only for users and read-write for admin, still an example)

Hope that helps.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .