Date: Mon, 15 Sep 2008 17:55:14 +0200 From: Svein Halvor Halvorsen <svein.h@lvor.halvorsen.cc> To: Rich Winkel <rich@math.missouri.edu> Cc: freebsd-questions@freebsd.org Subject: Re: browser.cache.disk.parent_directory in firefox Message-ID: <48CE8562.5070502@lvor.halvorsen.cc> In-Reply-To: <20080913032042.GA67542@pencil.math.missouri.edu> References: <20080913032042.GA67542@pencil.math.missouri.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE00AF0A6EC51727695CC0091 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Rich Winkel wrote: > I'd like to move firefox's cache dir into tmp, under a user-specific > parent directory. How can I specify the userid in the argument to > browser.cache.disk.parent_directory in the system-wide firefox.js setti= ngs > file? > Something like > user_pref("browser.cache.disk.parent_directory", "/tmp/ffCache/$USER");= I needed something similar in Thunderbird, but couldn't find out how, so I renamed thunderbird to thunderbird-bin, and made two new shell scripts, thunderbird and thunderbird-setup. The "thunderbird" script only checks for the existence of the ~/.thunderbird directory, and execs thunderbird-bin if found. If not, it runs thunderbird-setup, followed by thunderbird-bin. The "thunderbird-setup" script untars a premade config dir from a global location, and seds through the directory afterwards, replacing %USER% with the username, %NAME% with the full name, etc. sv. --------------enigE00AF0A6EC51727695CC0091 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) Comment: mailto:pgpkey@svein.halvorsen.cc to get my PGP-key iEYEARECAAYFAkjOhWYACgkQhQg3vZGYu0B+PACfW8sdgliSh3x7+Xf6uFO8Nq1X Z8AAoKSzhjw1xX8+N3RX+t0iLMW/2v7A =/6DY -----END PGP SIGNATURE----- --------------enigE00AF0A6EC51727695CC0091--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48CE8562.5070502>