FirefoxDefaults

From Amahi Wiki
Jump to: navigation, search

Setting Firefox defaults for home page URL and bookmarks.

Setting bookmarks and defaults after a user uses Firefox is more difficult. Therefore we change the defaults for the entire system, these are files that are copied when Firefox is first launched by a user.

Home Page URL

Basically 3 changes need to be made to one of the existing files. They could probably be removed and put into their own file, but why bother.

Replace: /usr/lib/firefox-3.0.1/defaults/preferences/all-redhat.js with:

pref("app.update.auto", false);
pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false);
pref("browser.backspace_action",            2);
pref("browser.display.use_system_colors",   true);
pref("browser.download.folderList",         1);
pref("browser.link.open_external",          3);
pref("browser.shell.checkDefaultBrowser",   false);
pref("general.smoothScroll",                true);
pref("general.useragent.vendor", "Fedora");
pref("general.useragent.vendorSub", "3.0.1-1.fc9");
pref("intl.locale.matchOS", true);
pref("browser.startup.homepage", "http://amahi.org");
pref("startup.homepage_override_url", "");
pref("startup.homepage_welcome_url", "");

The only changes are the last three lines. The first one is obvious, but the other two are set to blank urls so that the (annoying) Fedora and Firefox welcome pages don't appear. Instead the first page people see is Amahi.org.

Bookmarks

  • Include bookmark to IRC chat widget or web-app for instant support.
  • bookmark any tool that can submit debug info easily to developers.
  • make an amahi specific welcome page?
  • More to come..