Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Blogs > Notes
User Name


These are my notes. I moved them so I don't have to maintain a blog server just for them. They may not be at all useful for anyone else.
Rate this Entry

Iceweasel caching

Posted 07-15-2012 at 01:15 AM by nglbrkr
Updated 07-15-2012 at 01:19 AM by nglbrkr

lifted from
and not yet tested in school

$ vim /etc/iceweasel/pref/iceweasel.js
// This is the Debian specific preferences file for Iceweasel
// You can make any change in here, it is the purpose of this file.
// You can, with this file and all files present in the
// /etc/iceweasel/pref directory, override any preference that is
// present in /usr/lib/iceweasel/defaults/preferences directory.
// While your changes will be kept on upgrade if you modify files in
// /etc/iceweasel/pref, please note that they won't be kept if you
// do make your changes in /usr/lib/iceweasel/defaults/preferences.
// Note that lockPref is allowed in these preferences files if you
// don't want users to be able to override some preferences.

lockPref("extensions.update.enabled", true);

// Use LANG environment variable to choose locale
lockPref("intl.locale.matchOS", true);

// Disable default browser checking.
lockPref("", false);

// ========= LTSP SPECIFIC HACKS ========

// Disable "safe browsing" feature that hogs CPU, HDD, etc. etc. in LTSP
lockPref("browser.safebrowsing.enabled", false);
lockPref("browser.safebrowsing.malware.enabled", false);

// Disable annoying location-bar suggestion "feature" that is sludgy with thin-clients
lockPref("browser.urlbar.maxRichResults", 0);

// Disable offline/disk caching of web pages
lockPref("browser.cache.offline.enable", false);
lockPref("browser.cache.disk.enable", false);
lockPref("browser.cache.memory.enable", false);

// ========= PROXY HACKS ========= didn't use these. somehow tjener gets to be proxy automatically I think.

//lockPref("network.proxy.type", 1);
//lockPref("network.proxy.share_proxy_settings", true);
//lockPref("network.proxy.http", "");
//lockPref("network.proxy.http_port", 800);
//lockPref("network.proxy.no_proxies_on", "localhost,,");

// ========= MISC HACKS ==========

lockPref("browser.startup.homepage", "");
lockPref("app.update.enabled", false);
I understand that, on websites with certain size of image, that the thin client xorg starts to take a ridiculous amount of memory, resulting xorg dieing and the thin client returning to the login page. The following may help:

$ sudo echo "MOZ_DISABLE_IMAGE_OPTIMIZE=1" >> /etc/profile
Posted in skolelinux
Views 2463 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 01:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration