A list of compatibility flags which can be used with various software to make it run natively on Wayland. Recommended for PopOS 24.04 with COSMIC.
QT_QPA_PLATFORMTHEME=qt5ct
QT_IM_MODULE=ibus
QT_AUTO_SCREEN_SCALE_FACTOR=1
QT_QPA_PLATFORM=wayland
-Dawt.toolkit.name=WLToolkit
-Dsun.java2d.vulkan=true
-Dsun.java2d.uiScale.enabled=false
--enable-features=UseOzonePlatform,WaylandWindowDecorations
--ozone-platform=wayland
- Download the latest version of GLFW Wayland
- Download a Minecraft launcher of your choice. I recommend MultiMC
- Download WayGL if you're on Fabric
- Use Sinytra Connector when you're on Forge
- Set up a Minecraft instance (at least 1.13 because LWJGL3 is required)
- Configure custom JVM arguments:
-Dorg.lwjgl.glfw.libname=path/to/the/patched/glfw/binary.so