「Wayland」-

认识

官网:https://wayland.freedesktop.org/
文档:https://wayland.freedesktop.org/docs/html/
仓库:https://gitlab.freedesktop.org/wayland

Wayland is a replacement for the X11 window system protocol and architecture with the aim to be easier to develop, extend, and maintain.

组成

Wayland is the language (protocol) that applications can use to talk to a display server in order to make themselves visible and get input from the user (a person).

A Wayland server is called a “compositor”.

Applications are Wayland clients.

https://wayland.freedesktop.org/architecture.html

libwayland

A core part of Wayland architecture is libwayland: an inter-process communication library that translates a protocol definition in XML to a C language API. This library does not implement Wayland, it merely encodes and decodes Wayland messages. The actual implementations are in the various compositor and application toolkit projects.

性质

应用

Q:判断当前为 X11 或 Wayland 环境?
A:echo $XDG_SESSION_TYPE
R:How to Check if You are Using Wayland or Xorg?