From 1812061ed3c4ad57de01e36fcaa17be03ab4efd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Wed, 14 Feb 2024 15:59:47 +0100 Subject: [PATCH] Drop xrdb It wasn't used and it won't work on Wayland. --- anaconda.spec.in | 1 - pyanaconda/display.py | 9 --------- 2 files changed, 10 deletions(-) diff --git a/anaconda.spec.in b/anaconda.spec.in index f454206e6be2..531fc718327d 100644 --- a/anaconda.spec.in +++ b/anaconda.spec.in @@ -249,7 +249,6 @@ Requires: createrepo_c # Display stuff moved from lorax templates Requires: xorg-x11-drivers Requires: xorg-x11-server-Xorg -Requires: xrdb Requires: dbus-x11 Requires: gsettings-desktop-schemas Requires: nm-connection-editor diff --git a/pyanaconda/display.py b/pyanaconda/display.py index fb46cfba3251..c40e4059e528 100644 --- a/pyanaconda/display.py +++ b/pyanaconda/display.py @@ -234,13 +234,6 @@ def set_resolution(runres): log.error("The resolution was not set: %s", error) -def do_extra_x11_actions(): - """Perform X11 actions not related to startup.""" - # Load the system-wide Xresources - util.execWithRedirect("xrdb", ["-nocpp", "-merge", "/etc/X11/Xresources"]) - start_spice_vd_agent() - - def write_xdriver(driver, root=None): """Write the X driver.""" if root is None: @@ -386,8 +379,6 @@ def setup_display(anaconda, options): time.sleep(2) if not anaconda.gui_startup_failed: - do_extra_x11_actions() - if options.runres and anaconda.gui_mode and not flags.usevnc: def on_mutter_ready(observer): set_resolution(options.runres)