Commit 5253d515 authored by Philip Müller's avatar Philip Müller

[virtualmachine] disable Wayland for Gnome

parent 4ede74cb
......@@ -2,7 +2,7 @@
NAME="video-virtualmachine"
INFO="X.org vmware video driver and open-vm-tools/virtualbox tools"
VERSION="2020.01.18"
VERSION="2020.03.26"
FREEDRIVER="true"
PRIORITY="2"
......@@ -39,6 +39,13 @@ EOF
chmod +x "${MHWDALERTSCRIPT}"
}
gdm_disable_wayland()
{
if [[ -e /etc/gdm/custom.conf ]]; then
sed -i -e 's|#WaylandEnable=false|WaylandEnable=false|g' /etc/gdm/custom.conf
fi
}
post_install()
{
if [[ "$(systemd-detect-virt)" == "oracle" ]]; then
......@@ -68,6 +75,7 @@ post_install()
systemctl start spice-vdagentd.socket
fi
fi
gdm_disable_wayland
}
post_remove()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment