diff --git a/config/scripts/nvidiaoptimusworkaround.sh b/config/scripts/nvidiaoptimusworkaround.sh index 57296f2..f225abe 100644 --- a/config/scripts/nvidiaoptimusworkaround.sh +++ b/config/scripts/nvidiaoptimusworkaround.sh @@ -4,5 +4,5 @@ set -oue pipefail # applies workaround for known issue with optimus laptops for GNOME and Cinnamon -# https://gitlab.gnome.org/GNOME/mutter/-/issues/2969 -echo "__EGL_VENDOR_LIBRARY_FILENAMES=/usr/share/glvnd/egl_vendor.d/50_mesa.json" >> /usr/etc/environment +# https://gitlab.gnome.org/GNOME/mutter/-/issues/2969#note_1872558 +mv /usr/share/glvnd/egl_vendor.d/10_nvidia.json /usr/share/glvnd/egl_vendor.d/90_nvidia.json