Re: [rhel6-branch] set the resolution with resolution= from the cmdline (#594918).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi looks good, except for ...

On 05/25/2010 01:46 PM, Ales Kozumplik wrote:
tested x86_64 and vmware. note that the xrandr call does nothing if
--dpi=96 is also present, so I didn't use it.

Erm:

<snip>

+def set_x_resolution(runres):
+    # cant do this if no window manager is running because otherwise when we
+    # open and close an X connection in the xutils calls the X server will exit
+    # since this is the first X connection (if no window manager is running)
+    if runres and opts.display_mode == 'g' and not flags.usevnc and wm_pid :
+        try:
+            log.info("Setting the screen resolution to: %s.", runres)
+            iutil.execWithRedirect("xrandr",
+                                   ["-d", ":1", "-s", runres, "--dpi", "96"],
+                                   stdout="/dev/tty5", stderr="/dev/tty5")


Then why do I see it here ?

Regards,

Hans

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux