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
    arrow-up
    5
    ·
    edit-2
    8 months 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
      arrow-up
      3
      ·
      8 months ago

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