diff options
author | Jian-Hong Pan <jhp@endlessos.org> | 2020-10-28 14:11:48 +0800 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2020-11-03 15:48:44 +0000 |
commit | 06ef97a261015bc5c52fc595c05efba0d7698427 (patch) | |
tree | a92397d926ddea8af9789d8e7cfaa54ed53ada42 /data | |
parent | 0b3d44e0e0769b76df24dee8a6dd81356e45d216 (diff) | |
download | gdm-06ef97a261015bc5c52fc595c05efba0d7698427.tar.gz |
utils: change gdm-disable-wayland to gdm-runtime-config
We can disable Wayland in runtime by invoking gdm-disable-wayland.
However, we may also want to enable Wayland in runtime for some
reasons. This idea is extended to modify more options/configurations in
runtime.
This commit renames gdm-disable-wayland to gdm-runtime-config and
unlocks the feature to modify more gdm configurations in runtime.
The new command format will be:
gdm-runtime-config set <group> <key> <value>
The configurable items refer to gdm.schemas. "<group>/<key>" combination
is the key in gdm.schemas.
For example, the original "gdm-disable-wayland" is replaced by
"gdm-runtime-config set daemon WaylandEnable false".
Link: https://gitlab.gnome.org/GNOME/gdm/-/merge_requests/115#note_944907
Diffstat (limited to 'data')
-rw-r--r-- | data/61-gdm.rules.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/61-gdm.rules.in b/data/61-gdm.rules.in index 984fdd44..b1da191f 100644 --- a/data/61-gdm.rules.in +++ b/data/61-gdm.rules.in @@ -1,6 +1,6 @@ # disable Wayland on Hi1710 chipsets -ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="@libexecdir@/gdm-disable-wayland" +ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="@libexecdir@/gdm-runtime-config set daemon WaylandEnable false" # disable Wayland when using the proprietary nvidia driver -DRIVER=="nvidia", RUN+="@libexecdir@/gdm-disable-wayland" +DRIVER=="nvidia", RUN+="@libexecdir@/gdm-runtime-config set daemon WaylandEnable false" # disable Wayland if modesetting is disabled -IMPORT{cmdline}="nomodeset", RUN+="@libexecdir@/gdm-disable-wayland" +IMPORT{cmdline}="nomodeset", RUN+="@libexecdir@/gdm-runtime-config set daemon WaylandEnable false" |