[master 2/3] Most viewers of tty1 do not care about xrandr stderr output.

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

 



---
 pyanaconda/gui.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index 3c28fac..aa7d291 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1403,7 +1403,8 @@ class InstallControlWindow:
 
             width = None
             height = None
-            lines = iutil.execWithCapture("xrandr", ["-q"]).splitlines()
+            xrandr = iutil.execWithCapture("xrandr", ["-q"], stderr="/dev/tty5")
+            lines = xrandr.splitlines()
             xrandr = filter(lambda x: "current" in x, lines)
             if xrandr and len(xrandr) == 1:
                 fields = xrandr[0].split()
-- 
1.7.3.3

_______________________________________________
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