Re: How can we change the default iceweasel startup / home page?
[Philipp Hübner]
> Without doing any research I only know this place:
>
> /usr/lib/iceweasel/browserconfig.properties:
>
> browser.startup.homepage=http://www.skolelinux.org
>
>
> This is a global default in case the user has not set anything
> specific. With a | you can even have several pages which are opened
> as separate tabs I believe.
This seem to be the file we need to change. I added a new tool
update-iceweasel-homepage in debian-edu-config svn, diverting this
file to /etc/iceweasel/browserconfig.properties and adding the
homepage URL there, and cfengine rules to configure it during
installation.
[Jürgen Leibner]
> Maybe, startup.homepage_welcome_url and / or
> startup.homepage_override_url are a kind of preconfiguration we can
> override with cfengine in prefs.js (user.js) as described at:
> http://kb.mozillazine.org/Startup.homepage_welcome_url
> http://kb.mozillazine.org/Startup.homepage_override_url
Tried both, and neither did what I want. They only take effect the
first time firefox is started (or after an upgrade), while I want to
change the default every time firefox start.
> Perhaps is the DHCP Option 'option www-server 10.0.2.2;' usable for
> that.
Yes, thought it should really be an URL and not only a server address.
Schools are going to want to specify full URLs to the school home
page, and not all schools want to point to a toplevel page.
> A dhcp client will fetch it, if you add it in the servers and the
> clients config so that it will show up in the leases file. From
> there it is possible to fetch it for configuration purposes with a
> startup script.
Is there some way to store a URL in that field? The documentation I
find specify that the www-server DHCP option need to be a host
IP/name, and not an URL.
Happy hacking,
--
Petter Reinholdtsen
Reply to: