summaryrefslogtreecommitdiff
path: root/data/61-gdm.rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'data/61-gdm.rules.in')
-rw-r--r--data/61-gdm.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
index ba0b697a..984fdd44 100644
--- a/data/61-gdm.rules.in
+++ b/data/61-gdm.rules.in
@@ -2,3 +2,5 @@
ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="@libexecdir@/gdm-disable-wayland"
# disable Wayland when using the proprietary nvidia driver
DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland"
+# disable Wayland if modesetting is disabled
+IMPORT{cmdline}="nomodeset", RUN+="@libexecdir@/gdm-disable-wayland"