FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Enterprise Watch List

 
 
LinkBack Thread Tools
 
Old 01-23-2012, 07:53 PM
David Cantrell
 
Default Silence xrandr.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org