Wayland: Difference between revisions
m →Applications: fix: typo |
|||
| Line 43: | Line 43: | ||
==== Electron and Chromium ==== | ==== Electron and Chromium ==== | ||
Ozone Wayland support in [[Chromium]] and [[Electron]] based applications (which allow these applications to run on Wayland native instead of Xwayland) can be enabled by setting the environment variable "<code>NIXOS_OZONE_WL</code>" with <code>NIXOS_OZONE_WL=1</code> | Ozone Wayland support in [[Chromium]] and [[Electron]] based applications (which allow these applications to run on Wayland native instead of Xwayland) can be enabled by setting the environment variable "<code>NIXOS_OZONE_WL</code>" with <code>NIXOS_OZONE_WL=1</code> | ||
As of NixOS 25.05 ("Warbler"), chromium and electron apps will default to [https://issues.chromium.org/issues/40083534#comment599 wayland] if <code>XDG_SESSION_TYPE</code> is unset or set to wayland. This ignores the <code>DISPLAY</code> environment variable. | |||
===== Example ===== | ===== Example ===== | ||