[PATCH 2/5] Silence xrandr.

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

 



Resolves: rhbz#732966
---
 gui.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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

_______________________________________________
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