Apps not detecting wayland after rebase (bazzite-dx)
Hi, I was running on bazzite-dx-nvidia-open and since it appears that image was renamed to bazzite-dx-nvidia I performed a rebase to get on the newest release. However, after doing so many of my apps appear to be launching in X11 mode instead of Wayland by default. I noticed initially because the scaling seemed off, but confirmed by checking the Kwin debug console. I was able to fix it for Brave by editing its flags, and VSCode by setting ELECTRON_OZONE_PLATFORM_HINT=wayland in /etc/environment, but Steam is still launching with X11 along with some other apps and I haven't found a fix that could resolve this issue generically. Any ideas?
Solution
Okay, in case anyone else comes across this post I think the fix is indeed to do what Sparda said above BUT you need to do a reboot as well after changing the setting. After a reboot with the setting changed I'm seeing the proper behavior from Steam and other apps again.