Bug#603033: iceweasel: Programmatically setting homepage

Mike Hommey mh at glandium.org
Wed Nov 10 14:48:36 UTC 2010


retitle 603033 Move browserconfig.properties to /etc/iceweasel
thanks

On Wed, Nov 10, 2010 at 02:23:37PM +0000, Roland Mas wrote:
> Package: iceweasel
> Version: 3.5.15-1
> Severity: normal
> 
> 
> I'm trying to set up a preconfigured virtual machine with a particular local
> file as the browser's homepage.  So I created a /etc/iceweasel/pref/local.js
> with the following contents:
> 
> pref("browser.startup.homepage", "file:///root/Desktop/README.html");
> 
> When I run Iceweasel (for the first time), this setting does appear 
> in the "about:config" page, but the "Home" button still points at "about:".

You need to set browser.startup.homepage in
/usr/lib/iceweasel/browserconfig.properties, which would thus need to be
a conffile.

Cheers,

Mike





More information about the pkg-mozilla-maintainers mailing list