Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorBernie Innocenti <bernie@codewiz.org>2010-08-29 13:20:39 (GMT)
committer Daniel Drake <dsd@laptop.org>2010-08-31 21:40:33 (GMT)
commit546425931415088ffd39dc9b5176e282d1c26457 (patch)
tree11d8fb896c51b48820aa8b26b48afc14be483159 /modules
parent52b37133cc9dd14e15e26b912db731112a4d64dc (diff)
sl#2259: Set Firefox default DPI to 96
Diffstat (limited to 'modules')
-rw-r--r--modules/x11/kspost.60.misc.inc11
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/x11/kspost.60.misc.inc b/modules/x11/kspost.60.misc.inc
index a48e352..ae6dd56 100644
--- a/modules/x11/kspost.60.misc.inc
+++ b/modules/x11/kspost.60.misc.inc
@@ -79,11 +79,16 @@ EOF
chown -R olpc: /home/olpc/.scim
-# disable Firefox's OGG plugin in favour of totem, because no hw accel is
-# available. #10152
-[ -e /usr/lib/xulrunner-*/greprefs/all.js ] && \
+if [ -e /usr/lib/xulrunner-*/greprefs/all.js ]; then
+ # disable Firefox's OGG plugin in favour of totem, because no hw accel is
+ # available. #10152
sed -i -e 's:\(media.ogg.enabled",\) true:\1 false:g' /usr/lib/xulrunner-*/greprefs/all.js
+ # sl#2259: The layout.css.dpi default setting results in a too big layout and fonts
+ sed -i -e 's:\(layout.css.dpi",\) -1:\1 96:' /usr/lib/xulrunner-*/greprefs/all.js
+fi
+
+
# remove gstreamer pulse element so that totem doesn't try to use it (#10158)
[ -e /usr/lib/gstreamer-0.10/libgstpulse.so ] && rm /usr/lib/gstreamer-0.10/libgstpulse.so