From a6b91cb33a40b31a014e2364e6de38c5f291c5e6 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 29 Oct 2008 14:56:34 -0400 Subject: 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. --- anaconda | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'anaconda') 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)) -- cgit