I am aware of the switches you can pass to each app to make it use native wayland, but is there any way to do it globally?

  • @SteveTech@programming.dev
    link
    fedilink
    English
    5
    edit-2
    12 days ago

    For electron, if ELECTRON_OZONE_PLATFORM_HINT and electron-flags.conf don’t work, you can also add --ozone-platform-hint=wayland to the end of Exec in each .desktop file (also works on Chromium, but not CEF AFAIK and sometimes CEF).

    There’s also --ozone-platform-hint=auto if you find yourself switching between X11 and Wayland.

    • Klara
      link
      fedilink
      313 days ago

      Spotify is CEF, I think, and it works pretty well.