Firefox touch-ups that might be desired

guidelines-logo-7ea045a4e288

A browser that can get the job done for me is all I need. Firefox has been good enough for me. It is ready to go from the installation. I find a few touch-ups can help me out a bit.

Configuration Edits

The edits I make are listed below followed by their description. The configuration editor I use which makes editing them a bit quicker for me. The editor can be opened by typing about:config in the URL bar.

app.update.auto                         true   # Firefox update automatically (Windows)
browser.chrome.toolbar_tips             false  # UI-element-popup-tips turn off
browser.startup.page                    3      # previous-session-tabs are restored on launch
browser.sessionstore.restore_on_demand  false  # previous-session-tabs are restored when clicked on
browser.tabs.loadDivertedInBackground   true   # new-tabs open in the background
browser.zoom.full                       false  # web-page-text will only zoom
layout.spellcheckDefault                2      # spell-check extend to single-line-entry fields
middlemouse.contentLoadURL              false  # middle-mouse-click load clipboard-URL turn off
middlemouse.openNewWindow               false  # middle-mouse-click new-tab-open
general.autoScroll                      false  # middle-mouse-click scrolling turn off
mousewheel.default.delta_multiplier_y   200    # mouse scroll speed
nglayout.enable_drag_images             false  # tab-window-previews-on-drag turn off
privacy.donottrackheader.enabled        true   # web-sites request they not track me

Font Type and Size

For my font type I like to use Microsoft fonts. These are the fonts I use and their sizes:

     Serif  Cambria   15
Sans-serif  Calibi
 Monospace  Consolas  13
   Minimum            10

A font type and size comparision table can be found here that I created.

Add-ons

For my needs Firefox has most of the abilities built-in. There are a few that are well designed that I have learned to trust:

Additional Information

  • Firefox Keyboard Shortcuts:
    • Ctrl+L—URL bar focus
    • Ctrl+K—search bar focus
    • Ctrl+F—Find
    • Ctrl+G—find aGain; Ctrl+Shift+G—find previous
  • A middle-mouse-click on a tab will close the tab.
  • For spell checking it is likely a dictionary will need to be added: with a word in a text-entry field right-click Languages > Add Dictionary; for Linux use the hunspell-en package for English.
  • Reset Firefox for situations where a remedy is tough to find (keeps bookmarks, passwords…).
  • Firefox Tips and Tweaks

Restore settings of Firefox on trouble

Update: 09-29-11 – Using script to automate process, see end of post.

When people have a issue with Firefox I’ve seen many people will resort to deleting their old profile (or folder) and creating a new one. This works but doing this will get rid of any passwords, history, bookmarks… therein. Having used Firefox quite a bit creating a new profile from time to time is a good idea anyhow as cruft, bad extensions, … can slow down browsing.

Manually

Copying the Firefox configs can be done by:

cd ~/.mozilla/firefox/

Backup the old profile and profile list:

mv xxxxxxxx.default{,.bck}
mv profiles.ini{,.bck}

Create a new profile:

firefox -CreateProfile <profilename>

This command will return the name of the new folder. Copy the basic settings to the new profile:

cd *.default.bck
cp places.sqlite key3.db cookies.sqlite mimeTypes.rdf formhistory.sqlite signons.sqlite permissions.sqlite webappsstore.sqlite persdict.dat content-prefs.sqlite ../*.<profilename>

This will transfer the bookmarks, browsing history, form entries, passwords, personal dictonary changes, and page zooms. There might be a couple other things wanted to add (possibly your firefox preferences), take a look at Transferring data to a new profile for more information.