Wayland: Difference between revisions
Shafael170 (talk | contribs) |
m →Applications: fix: typo |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Expansion|Verify accuracy of article}} | {{Expansion|Verify accuracy of article}} | ||
[https://wayland.freedesktop.org/ Wayland] is a modern display server protocol intended as a replacement for the legacy [[Xorg | X11]] system. | |||
For additional details, see {{NixOS Manual|anchor=#sec-wayland|name=NixOS Manual: Chapter - Wayland}}. | |||
== Checking for Wayland == | == Checking for Wayland == | ||
| Line 31: | Line 35: | ||
=== X and Wayland support === | === X and Wayland support === | ||
* [https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/desktops/gnome/core/mutter/default.nix Mutter] is the default [[GNOME]] Desktop Environment | * [https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/desktops/gnome/core/mutter/default.nix Mutter] is the default compositor for [[GNOME]] Desktop Environment. | ||
* [https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/desktops/plasma-5/kwin/default.nix KWin] is the default [[KDE]] Desktop Environment | * [https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/desktops/plasma-5/kwin/default.nix KWin] is the default compositor for [[KDE]] Desktop Environment. | ||
== Applications == | == Applications == | ||
| Line 38: | Line 42: | ||
==== 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> | |||
===== Example ===== | |||
{{File|3=environment.sessionVariables.NIXOS_OZONE_WL = "1";|name=/etc/nixos/configuration.nix|lang=nix}} | |||
== See also == | |||
* [[Xorg]] | |||
[[Category:Desktop]] | |||