<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Kirk's Tech Diary</title>
	<atom:link href="http://kirksblog.steffensenfamily.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://kirksblog.steffensenfamily.com</link>
	<description>My Diary on Tech Subjects - So I'll Remember What I Did Two Months Later...</description>
	<lastBuildDate>Wed, 02 Sep 2009 20:33:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Lock preferences in Firefox 3 on Ubuntu by kirk</title>
		<link>http://kirksblog.steffensenfamily.com/archives/24/comment-page-1#comment-101</link>
		<dc:creator>kirk</dc:creator>
		<pubDate>Wed, 02 Sep 2009 20:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://kirksblog.steffensenfamily.com/?p=24#comment-101</guid>
		<description>jglepage, I tried several things including storing firefox.cfg in /etc/firefox-3.0/pref/ and then using a relative path to it in the general.config.filename entry.  None of them worked.

So, I did a brute-force kludge of storing firefox.cfg in /etc/firefox-3.0/pref/ and creating a bash script also stored in /etc/firefox-3.0/pref/ that runs via crontab every minute to copy firefox.cfg to the /usr/lib/firefox-3.0.x directory.

I need to install a 9.04 test setup in VirtualBox to see if they fixed it.  If not, I&#039;ll submit a bug report suggesting that they add the lines to the end of firefox.js and include a firefox.cfg in /etc/firefox-3.0/pref/ with a symlink to it in the installation directory.</description>
		<content:encoded><![CDATA[<p>jglepage, I tried several things including storing firefox.cfg in /etc/firefox-3.0/pref/ and then using a relative path to it in the general.config.filename entry.  None of them worked.</p>
<p>So, I did a brute-force kludge of storing firefox.cfg in /etc/firefox-3.0/pref/ and creating a bash script also stored in /etc/firefox-3.0/pref/ that runs via crontab every minute to copy firefox.cfg to the /usr/lib/firefox-3.0.x directory.</p>
<p>I need to install a 9.04 test setup in VirtualBox to see if they fixed it.  If not, I&#8217;ll submit a bug report suggesting that they add the lines to the end of firefox.js and include a firefox.cfg in /etc/firefox-3.0/pref/ with a symlink to it in the installation directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lock preferences in Firefox 3 on Ubuntu by kirk</title>
		<link>http://kirksblog.steffensenfamily.com/archives/24/comment-page-1#comment-100</link>
		<dc:creator>kirk</dc:creator>
		<pubDate>Wed, 02 Sep 2009 18:53:14 +0000</pubDate>
		<guid isPermaLink="false">http://kirksblog.steffensenfamily.com/?p=24#comment-100</guid>
		<description>jglepage, Thanks for the feedback.  It&#039;s great to hear that you can use firefox.js instead of having to create loadcustom.js.  I&#039;ll update the post to reflect that.

I&#039;ll try out a couple of techniques to make firefox.cfg persistent and post an update when I get something to work.</description>
		<content:encoded><![CDATA[<p>jglepage, Thanks for the feedback.  It&#8217;s great to hear that you can use firefox.js instead of having to create loadcustom.js.  I&#8217;ll update the post to reflect that.</p>
<p>I&#8217;ll try out a couple of techniques to make firefox.cfg persistent and post an update when I get something to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lock preferences in Firefox 3 on Ubuntu by jglepage</title>
		<link>http://kirksblog.steffensenfamily.com/archives/24/comment-page-1#comment-99</link>
		<dc:creator>jglepage</dc:creator>
		<pubDate>Wed, 02 Sep 2009 17:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://kirksblog.steffensenfamily.com/?p=24#comment-99</guid>
		<description>Your technique works.  However, it seems to fail when firefox upgrades.  The main problem is that the firefox.cfg file must be placed in /usr/lib/firefox-3.0.x, and this directory changes each time firefox is upgraded.  The firefox.cfg file is not copied over to the new directory.  I have tested this in upgrade from 3.0.11 to 3.0.13 on Ubuntu 8.04.

I&#039;ve been all over the forums and bugzilla, and I can find no solution that continues to work after a firefox upgrade.  

It&#039;s possible to keep the changes to firefox.js if you use /etc/firefox-3.0/pref/firefox.js.  However, you still have to put the firefox.cfg file in /usr/lib/firefox-3.0.x/.  Upon upgrade, the firefox.cfg is not copied over to the new /usr/lib/firefox-3.0.(x+1)/ directory.

Does anyone know a way of doing this that survives upgrades.

See a longer description of my techniqe below:
I&#039;m attempting to lock firefox preferences, specifically network.proxy.type.

My technique works, but breaks when upgrades happen. Here&#039;s how I do it:

append the following to /etc/firefox-3.0/pref/firefox.js:
//
pref(&quot;general.config.obscure_value&quot;, 0); // for MCD .cfg files
pref(&quot;general.config.filename&quot;, &quot;firefox.cfg&quot;);

...then put firefox.cfg in /usr/lib/firefox-3.0.x/, where 3.0.x is the currently installed version.
Contents of firefox.cfg:
//
lockPref(&quot;network.proxy.type&quot;, 4);


This works. The network settings are locked at &quot;automatically detect network settings&quot;. However, upon upgrade, the firefox.cfg is NOT copied to the new installation directory. Also, apt is unable to delete the old installation directory, probably because the new firefox.cfg file is not by apt.

How do you manage to lock settings and NOT have things break upon upgrade?

I Need to be able to manage dozens of machines, and I would prefer not to have to reconfigure everytime firefox upgrades.</description>
		<content:encoded><![CDATA[<p>Your technique works.  However, it seems to fail when firefox upgrades.  The main problem is that the firefox.cfg file must be placed in /usr/lib/firefox-3.0.x, and this directory changes each time firefox is upgraded.  The firefox.cfg file is not copied over to the new directory.  I have tested this in upgrade from 3.0.11 to 3.0.13 on Ubuntu 8.04.</p>
<p>I&#8217;ve been all over the forums and bugzilla, and I can find no solution that continues to work after a firefox upgrade.  </p>
<p>It&#8217;s possible to keep the changes to firefox.js if you use /etc/firefox-3.0/pref/firefox.js.  However, you still have to put the firefox.cfg file in /usr/lib/firefox-3.0.x/.  Upon upgrade, the firefox.cfg is not copied over to the new /usr/lib/firefox-3.0.(x+1)/ directory.</p>
<p>Does anyone know a way of doing this that survives upgrades.</p>
<p>See a longer description of my techniqe below:<br />
I&#8217;m attempting to lock firefox preferences, specifically network.proxy.type.</p>
<p>My technique works, but breaks when upgrades happen. Here&#8217;s how I do it:</p>
<p>append the following to /etc/firefox-3.0/pref/firefox.js:<br />
//<br />
pref(&#8220;general.config.obscure_value&#8221;, 0); // for MCD .cfg files<br />
pref(&#8220;general.config.filename&#8221;, &#8220;firefox.cfg&#8221;);</p>
<p>&#8230;then put firefox.cfg in /usr/lib/firefox-3.0.x/, where 3.0.x is the currently installed version.<br />
Contents of firefox.cfg:<br />
//<br />
lockPref(&#8220;network.proxy.type&#8221;, 4);</p>
<p>This works. The network settings are locked at &#8220;automatically detect network settings&#8221;. However, upon upgrade, the firefox.cfg is NOT copied to the new installation directory. Also, apt is unable to delete the old installation directory, probably because the new firefox.cfg file is not by apt.</p>
<p>How do you manage to lock settings and NOT have things break upon upgrade?</p>
<p>I Need to be able to manage dozens of machines, and I would prefer not to have to reconfigure everytime firefox upgrades.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Lock preferences in Firefox 3 on Ubuntu by tenfishsticks</title>
		<link>http://kirksblog.steffensenfamily.com/archives/24/comment-page-1#comment-98</link>
		<dc:creator>tenfishsticks</dc:creator>
		<pubDate>Sat, 29 Aug 2009 12:02:55 +0000</pubDate>
		<guid isPermaLink="false">http://kirksblog.steffensenfamily.com/?p=24#comment-98</guid>
		<description>Great tutorial!  Worked like a charm.</description>
		<content:encoded><![CDATA[<p>Great tutorial!  Worked like a charm.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on DreamHost Statistics While Running WordPress by vnunez</title>
		<link>http://kirksblog.steffensenfamily.com/archives/22/comment-page-1#comment-26</link>
		<dc:creator>vnunez</dc:creator>
		<pubDate>Fri, 30 May 2008 17:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://kirksblog.steffensenfamily.com/?p=22#comment-26</guid>
		<description>Not to muck up your blog, but I have a question about Drupal as a CMS, I remember you preferred Joomla (sp?).

Also, I am curious about the efficacy of Solaris or Linux for our library OS.  I saw a presentation about a library (closer to you, Howard County in Maryland) that uses Linux and Open Office, Firefox for applications.  How does that all work?  Where do I start?

I have an old laptop at home I could load with either Solaris or Linux, could be my sandbox.</description>
		<content:encoded><![CDATA[<p>Not to muck up your blog, but I have a question about Drupal as a CMS, I remember you preferred Joomla (sp?).</p>
<p>Also, I am curious about the efficacy of Solaris or Linux for our library OS.  I saw a presentation about a library (closer to you, Howard County in Maryland) that uses Linux and Open Office, Firefox for applications.  How does that all work?  Where do I start?</p>
<p>I have an old laptop at home I could load with either Solaris or Linux, could be my sandbox.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

