whatis wayland
Wayland
The modern Linux display protocol replacing X11, in which the compositor draws the screen and isolates each app's windows and input.
What Is Wayland in Linux?
Wayland defines how graphical applications hand their window contents to a compositor, which is also the display server. GNOME, KDE Plasma, and Sway all act as Wayland compositors, and most major desktops now default to it.
Because each client is isolated, apps cannot read other windows or keystrokes by default. That improves security and makes smooth fractional scaling possible, but tasks like screen sharing and global hotkeys go through portals instead. XWayland keeps older X11 apps running.
Example
echo $XDG_SESSION_TYPE
# wayland Learn more about Wayland
- Wayland vs X11 Explained: Why Linux Replaced Its Display Server X11 is nearly four decades old and was designed for a world of dumb terminals and networked mainframes. Wayland is the replacement that is now the default nearly everywhere. Here is what actually changed and what it means for you.
- xdg-desktop-portal Explained: How Sandboxed Apps Reach Your Files A Flatpak with no filesystem access can still open a file you pick, because the file chooser runs outside the sandbox and hands back a single grant. What portals are, which backend you need, and why screen sharing breaks without one.
- The Linux Clipboard Explained: Wayland, X11, and Why Copied Text Disappears Why there are two clipboards, why copied text vanishes when you close the source application, and the tools for scripting the clipboard on Wayland and X11.
- HiDPI and Fractional Scaling on Linux: Making High Resolution Displays Usable Integer scaling has worked for years. Fractional scaling is where things get blurry, and the reason is usually one application rendering through XWayland.