• Emanuel@lemmy.eco.br
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    How do you make wine run without Xwayland? Just wondering if you could point me to some resource

    • Laser@feddit.de
      link
      fedilink
      arrow-up
      0
      ·
      10 months ago

      It’s in the release notes, you add a Wayland driver to your prefix via registry entry and then unset DISPLAY before starting wine.

      https://gitlab.winehq.org/wine/wine/-/releases/wine-9.0

      The Wayland driver is not yet enabled by default. It can be enabled through the HKCU\Software\Wine\Drivers registry key by running:

      wine reg.exe add HKCU\Software\Wine\Drivers /v Graphics /d x11,wayland

      and then making sure that the DISPLAY environment variable is unset.

      Note that the registry entry is per prefix.