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:19:00 (GMT)
committer Bernie Innocenti <bernie@codewiz.org>2010-08-29 13:19:00 (GMT)
commit12752463f424c335d3e142f094d823493e6a8f15 (patch)
tree26e8ab0c60a1c183104bda1bfa5c5860180a4b41 /modules
parent7a8ca788093f30f8703ae1f237d7bcf5755f79be (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