summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-29 14:56:34 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-29 14:58:22 -0400
commita6b91cb33a40b31a014e2364e6de38c5f291c5e6 (patch)
treee489fec72709f2a2f5ac97475eb1cdf55bdcbd6c
parente98834d09a39fe618236eb0deefff42c0dbdb30c (diff)
downloadanaconda-a6b91cb33a40b31a014e2364e6de38c5f291c5e6.tar.gz
anaconda-a6b91cb33a40b31a014e2364e6de38c5f291c5e6.tar.xz
anaconda-a6b91cb33a40b31a014e2364e6de38c5f291c5e6.zip
Force DPI to 96 even harder (#458738)
RANDR 1.2 drivers will occasionally decide they don't care what you said on the command line. Fortunately, we have a bigger gun.
-rwxr-xr-xanaconda5
1 files changed, 3 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 24333a16d..f08a2c336 100755
--- a/anaconda
+++ b/anaconda
@@ -88,8 +88,9 @@ def doStartupX11Actions(runres="800x600"):
# connection (if miniwm isnt running)
if miniwm_pid is not None and not flags.usevnc:
try:
- iutil.execWithRedirect("xrandr", ["-s", runres], searchPath=1,
- stdout="/dev/tty5", stderr="/dev/tty5")
+ iutil.execWithRedirect("xrandr", ["-s", runres, "--dpi", "96"],
+ searchPath=1, stdout="/dev/tty5",
+ stderr="/dev/tty5")
time.sleep(5)
except Exception, e:
log.error("Exception when running xrandr: %s" % str(e))