Workaround for Xojo and Wayland on Linux

While I cannot guarantee the full 100% operation of Xojo on Linux Wayland Compositors I have found a way to make it work and not crash immedeately. Launch Xojo with these modifiers and/or add them to the .desktop file:

env -u WAYLAND_DISPLAY GDK_BACKEND=x11

The exec line of a .Desktop file:
Exec=env -u WAYLAND_DISPLAY GDK_BACKEND=x11 /opt/xojo/xojo2023r2/Xojo %F

I have tested running a few of my apps, building and clicking around the UI without failure. Hopefully this can help anyone wanting to try Wayland :slight_smile:

  • Operating System: Kubuntu 23.04
  • KDE Plasma Version: 5.27.4
  • KDE Frameworks Version: 5.104.0
  • Qt Version: 5.15.8
  • Kernel Version: 6.2.0-27-generic (64-bit)
  • Graphics Platform: Wayland
1 Like

Thanks Paul!

1 Like