Forgot to mention, here's a workaround which reads the DPI value from an environment variable called "DPI":
=== /usr/lib/firefox/mozilla.cfg // defaultPref('layout.css.devPixelsPerPx', ''+(Math.floor(parseFloat(getenv('DPI'))/9.6)/10)); ===
and
=== /usr/lib/firefox/defaults/pref/local-settings.js pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); ===
Works for Thunderbird too if put in the appropriate directories.
Forgot to mention, here's a workaround which reads the DPI value from an environment variable called "DPI":
=== /usr/lib/ firefox/ mozilla. cfg 'layout. css.devPixelsPe rPx', ''+(Math. floor(parseFloa t(getenv( 'DPI')) /9.6)/10) );
//
defaultPref(
===
and
=== /usr/lib/ firefox/ defaults/ pref/local- settings. js config. obscure_ value", 0); config. filename" , "mozilla.cfg");
pref("general.
pref("general.
===
Works for Thunderbird too if put in the appropriate directories.