summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-10-15 12:37:19 -0400
committerAdam Jackson <ajax@redhat.com>2008-10-15 12:37:19 -0400
commitb925aec1cc9602eb01f907f967e2704952eb6727 (patch)
tree150a2729bc31b3ac20a5fa95ad780a881d3d74d4 /anaconda
parent05930a5f52e88db7d9420f117a8450d1369ec2cc (diff)
downloadanaconda-b925aec1cc9602eb01f907f967e2704952eb6727.tar.gz
anaconda-b925aec1cc9602eb01f907f967e2704952eb6727.tar.xz
anaconda-b925aec1cc9602eb01f907f967e2704952eb6727.zip
Force DPI to 96 when launching X. (#458738)
As we're still fixed layout, we may as well force font scaling to something predictable.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda2
1 files changed, 1 insertions, 1 deletions
diff --git a/anaconda b/anaconda
index eaa2d5d45..1202b9a72 100755
--- a/anaconda
+++ b/anaconda
@@ -824,7 +824,7 @@ if __name__ == "__main__":
if opts.display_mode == 'g' and not os.environ.has_key('DISPLAY') and not flags.usevnc:
try:
xout = open("/dev/tty5", "w")
- proc = subprocess.Popen(["Xorg", "-br", "-logfile", "/tmp/X.log", ":1", "vt6", "-s", "1440", "-ac", "-nolisten", "tcp"], close_fds=True, stdout=xout, stderr=xout)
+ proc = subprocess.Popen(["Xorg", "-br", "-logfile", "/tmp/X.log", ":1", "vt6", "-s", "1440", "-ac", "-nolisten", "tcp", "-dpi", "96"], close_fds=True, stdout=xout, stderr=xout)
time.sleep(5)
if proc.poll() is not None:
raise OSError