summaryrefslogtreecommitdiffstats
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.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in
new file mode 100644
index 0000000..984fdd4
--- /dev/null
+++ b/data/61-gdm.rules.in
@@ -0,0 +1,6 @@
+# disable Wayland on Hi1710 chipsets
+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"