I have a new Dell Ubuntu pre-installed laptop. It came with 11.10 and I've just upgraded it to 12.04 (Precise).
Firefox has its homepage set to Yahoo search and the default search engine is Yahoo too. I want to change the home page and the default search engine. Every time I change this, the settings do not stick until the next time I start the browser again.
There don't seem to be any such settings that I can change in Edit->Preferences. (It does not stick until the next startup of the browser if I change the homepage in the Preferences/General tab).
Change the Home Page to
about:home
in Edit -> Preferences -> General. If you want the home page to some other website, you can change it likewise.To change the default search engine, Type
about:config
in the URL bar in Firefox. Accept the warning.Change the value of
browser.search.defaultenginename
to Google. The capital letter on Google is important.I just found the fix. The Dell preinstalled Ubuntu comes with a package called yahoo-default-settings. This is a locally installed package and does not seem to be present in a repository (neither in Ubuntu official repository nor Dell partner repository).
Just uninstall the package. Then, one can change the defaults and it sticks till the next start of the browser.
In my case package was named
yahoo-browser-defaults
, so I had to(inside this package there was
/usr/share/xul-ext/ubufox/defaults/preferences/001yahoo-defaults-dell.js
file and in general/usr/share/xul-ext/ubufox/defaults/preferences/
directory is the one to check in case of such problems)