I would like to create a bash script that I can run on several computers that will set some basic preferences and bookmarks for Firefox (and possibly Google Chrome) on Ubuntu 12.04. I think user data is stored in ~/.mozilla/firefox/
but I don't know exactly how I would set preferences on a fresh install. Does anyone have an insight on this?
Specifically, I'd like to be able to create a bash script that...
- Sets bookmarks
- Sets the bookmarks toolbar to always show
- Sets the cache to be emptied when the browser closes
- Turn off remembering passwords
firefox --help
(same as most programs). But the only thing I can think of is setting up a profile (firefox --ProfileManager
, and using that profile for a new install.places.sqlite
. Show bookmarks toolbar inlocalstore.rdf
. Seems it needs kind of complex script.