You are viewing the documentation for a prerelease version. View Latest

Das Wayland Protokoll

Wayland ist ein Displayserver Protokoll, das als Standard in GNOME eingeführt wurde. Es wird gesagt, dass Wayland in Zukunft X11 als standard Displayserver Protokoll ablösen wird, und viele Linux-Distributionen haben mit der Implementierung begonnen. Wayland ist ein moderneres Protokoll mit einer momentan kleineren Codebasis. Es ist noch immer in der Entwicklung, und es existieren immer noch Anwendungen und Gewohnheiten, die nicht wie erwartet funktionieren. Einige Anwendungen, einschließlich einiger veralteter Systemanwendungen und Spiele, sind noch nicht aktualisiert worden und werden momentan durch XWayland ausgeführt.

Wayland is enabled by default in the GNOME Desktop. You can choose to run GNOME in X11 by choosing the Gnome on xorg option in the session chooser on the login screen. Currently KDE still uses X11 and although there is a plasma-wayland session available, it is not considered stable or bugfree at this time.

Feststellen, ob Wayland verwendet wird

Ein Weg, um festzustellen ob Wayland verwendet wird, ist das Anzeigen der Variable $WAYLAND_DISPLAY. Um dies zu tun, dies eingeben:

$ echo WAYLAND_DISPLAY
wayland-0

Wenn du kein Wayland verwendest, ist diese Variable leer. Du kannst auch loginctl verwenden, um die Art der Sitzung anzuzeigen:

$ loginctl show-session <YOUR_SESSION_NUMBER> -p Type

To determine your session number, simply typing loginctl should provide your session details.

There is also a legacy X11 server provided with Wayland for compatibility purposes. To determine what applications are running in this mode, you can run the following command:

$ xlsclients

There is also the lg (looking glass) tool in GNOME that will allow you to determine which protocol a specific window is using. To do this, you run the application by typing lg in the run dialog or at the command line, select “Windows” in the upper right corner of the tool, and click on the application name (or open window) you want to know about. If the window is running in wayland it will say “MetaWindowWayland” and if it is running in X11 it will say “MetaWindowX11”.

Additional Resources

To find out more about Wayland, please see the following website:

Wenn du herausfinden willst, ob ein Fehler mit Wayland verbunden ist, sehe im Fedora wiki nach: