Forcing usage of wayland over xwayland
Firefox
Edit /etc/profiles.d/wayland.md:
#! /bin/bash
export MOZ_ENABLE_WAYLAND=1
Chrome/Brave
- Chrome: Go to
chrome://flags#ozone-platform-hint - Brave: Go to
brave://flags#ozone-platform-hint
Switch “Preferred Ozone platform” to “Auto”.
Discord
The docs say to change the launch command to:
discord --enable-features=UseOzonePlatform --ozone-platform=wayland
However, this results in a core dump.
This currently works:
discord --disable-gpu-sandbox