Skip to main content


Last updated: Aug 5, 2020 ·
Posted in wiki#notes


  • To set Firefox Developer Edition as sensible-browser on Linux:

    First, add Firefox Developer Edition to update-alternatives:

    sudo update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox_dev/firefox/firefox 200

    (Assuming the executable path /opt/firefox_dev/firefox/firefox)

    Then, set it as sensible-browser:

    sudo update-alternatives --config x-www-browser

about:config settings

geo.enabledtrue -> false
extensions.pocket.enabledtrue -> false
browser.bookmarks.openInTabClosesMenutrue -> false
browser.bookmarks.showMobileBookmarkstrue -> false
browser.bookmarks.autoExportHTMLfalse -> true
browser.tabs.loadBookmarksInTabsfalse -> true
browser.tabs.tabMinWidth76 -> 100
browser.tabs.closeTabByDblclickfalse -> true
browser.tabs.closeWindowWithLastTabtrue -> false
browser.privatebrowsing.autostartfalse -> true
pdfjs.ignoreDestinationZoomfalse -> true
pdfjs.spreadModeOnLoad-1 -> 2Even spreads by default

Useful shortcuts

Firefox keyboard shortcuts

HomeMove to the top of the page. (See also: Vimium)
Ctrl-lHighlight the url bar.
Ctrl-Shift-oOpen bookmark manager.
Ctrl-Shift-bToggle bookmarks toolbar.
Ctrl-bToggle bookmarks sidebar.
Ctrl-Shift-dBookmark all open tabs in a folder.
Ctrl-Shift-aOpen addons manager.
Ctrl-Shift-DelClear recent history.
Ctrl-Shift-r / Ctrl-F5Reload the tab and clear the cache.
Ctrl-Shift-tUndo close tab.