commit 679fb78bdd277f1f51c4f79778d982776aea3b73
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Mar 19 11:00:58 2018 +0100
Disable wayland if gdm is available
xorg-x11-drv-nvidia.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/xorg-x11-drv-nvidia.spec b/xorg-x11-drv-nvidia.spec
index 1403986..faec47c 100644
--- a/xorg-x11-drv-nvidia.spec
+++ b/xorg-x11-drv-nvidia.spec
@@ -405,6 +405,11 @@ if [ "$1" -eq "1" ]; then
%if 0%{?fedora} || 0%{?rhel} >= 7
sed -i -e 's/GRUB_CMDLINE_LINUX="/GRUB_CMDLINE_LINUX="%{_dracutopts}
/g' /etc/default/grub
%endif
+%if 0%{?fedora} && 0%{?fedora} < 28
+ if [ -f %{_sysconfdir}/gdm/custom.conf ] ; then
+ sed -i -e 's/#WaylandEnable=.*/WaylandEnable=false/'
%{_sysconfdir}/gdm/custom.conf
+ fi
+%endif
fi || :
%if 0%{?fedora} || 0%{?rhel} >= 7
Show replies by date