[PATCH] Stop trying to run xrandr (#527678).

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

 



This has only rarely worked, and hasn't at all in quite a long time.  What
we really need to do is redesign the UI so it fits the screen appropriately
instead of pushing X around to do what we want.
---
 anaconda             |   13 -------------
 scripts/upd-instroot |    1 -
 2 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/anaconda b/anaconda
index 8f67807..84dbbb7 100755
--- a/anaconda
+++ b/anaconda
@@ -82,19 +82,6 @@ def doStartupX11Actions(runres="800x600"):
 	miniwm_pid = None
 	log.error("Unable to start mini-wm")
 
-    # cant do this if miniwm didnt run 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 miniwm isnt running)
-    if miniwm_pid is not None and not flags.usevnc:
-        try:
-            iutil.execWithRedirect("xrandr", ["-s", runres, "--dpi", "96"],
-				   searchPath=1, stdout="/dev/tty5",
-				   stderr="/dev/tty5")
-        except Exception, e:
-            log.error("Exception when running xrandr: %s" % str(e))
-
-
     if miniwm_pid is not None:
 	import xutils
 	import gtk
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index a1dff17..64017d1 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -524,7 +524,6 @@ usr/bin/vncconfig
 usr/bin/vncpasswd
 usr/bin/wget
 usr/bin/xkbcomp
-usr/bin/xrandr
 usr/bin/zenity
 usr/lib/anaconda
 usr/lib/anaconda-runtime
-- 
1.6.4.2

_______________________________________________
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