[OpenIndiana-discuss] X11 memory use

Jonathan Adams t12nslookup at gmail.com
Tue Dec 10 16:05:44 UTC 2013


I notice that Sun also have a "greprefs" file installed in Firefox to
reduce it's memory use/workload in SunRay networks.

https://java.net/projects/solaris-desktop/sources/spec-files/content/ext-sources/all-multi-user-desktop.js?rev=22265

As it happens I don't think that theirs goes far enough :)

        lockPref("browser.cache.disk.enable",           false);
        lockPref("browser.cache.offline.enable",        false);
        lockPref("browser.cache.disk.capacity", 0);

        lockPref("browser.sessionstore.max_tabs_undo", 0);
        lockPref("browser.sessionstore.max_windows_undo", 0);
        lockPref("browser.sessionstore.resume_from_crash", false);
        lockPref("browser.sessionstore.interval", 600000);

        lockPref("browser.safebrowsing.enabled", false);
        lockPref("browser.safebrowsing.malware.enabled", false);
        lockPref("browser.privatebrowsing.autostart", true);

        lockPref("network.proxy.type", 1);
        lockPref("app.update.enabled", false);
        lockPref("network.proxy.http", "<local proxy>");
        lockPref("network.proxy.http_port", 3128);
        lockPref("network.proxy.ssl", "<local proxy>");
        lockPref("network.proxy.ssl_port", 3128);
        lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
        lockPref("network.proxy.share_proxy_settings", true);

        lockPref("browser.startup.page", 1);
        lockPref("browser.startup.homepage", "http://<local host name>/");

        lockPref("browser.download.useDownloadDir", false);

        lockPref("browser.shell.checkDefaultBrowser", true);

        lockPref("browser.link.open_newwindow", 3);
        lockPref("browser.link.open_newwindow.restriction", 2);

//      lockPref("browser.blink_allowed", false);
//      lockPref("image.animation_mode", "once");

        lockPref("browser.tabs.autoHide", false);
        lockPref("network.cookie.cookieBehavior", 1);

        lockPref("signon.rememberSignons", false);

        lockPref("font.default.x-western", "sans-serif");
        lockPref("font.name.serif.x-western", "FreeSerif");

but with all of those on, some of my users think I'm a b*stard :)



On 10 December 2013 10:56, Jonathan Adams <t12nslookup at gmail.com> wrote:

> You'll need to check out each command and line carefully, but this is the
> gnome configuration script that I used to run (last updated in 2009) on
> Solaris 10 Sun-Ray boxes.
>
> Some of the commands might help you a little to reduce the memory
> footprint.
>
> Jon
>
>


More information about the OpenIndiana-discuss mailing list