Press s
to open settings.
- Copy the startpage dir to ~/.mozilla/firefox/PROFILE/ (You can find your profile by going to
about:profiles
) - Open
index.html
in Firefox and copy the link in address bar. It would loook like:file:///home/<username>/.mozilla/firefox/<PROFILE>/startpage/index.html
- Open preferences > Home from the hamburger menu, select custom URLs and paste the address
- Restart Firefox
- Write the following lines to
/usr/lib/firefox/mozilla.cfg
(Create it if it doesn't exist). And change thevar newTabUrl = ...
.
//
var { classes: Cc, interfaces: Ci, utils: Cu } = Components;
/* set new tab page */
try {
Cu.import("resource:///modules/AboutNewTab.jsm");
var newTabURL =
"file:///home/<username>/.mozilla/firefox/<profile>/startpage/index.html";
AboutNewTab.newTabURL = newTabURL;
} catch (e) {
Cu.reportError(e);
} // report errors in the Browser Console
- Write the following lines to
/usr/lib/firefox/defaults/pref/local-settings.js
:
//
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", false);
- Restart Firefox