Wayland

Since X is a old and lacks of maintainers it will be replaced by wayland. For backward compatibility there is XWayland a X server that runs under wayland to support legacy X only applications. echo $XDG_SESSION_TYPE will be wayland

The wayland compositors cover what the two X11 Window manager and display manager do.

sway and weston are wayland compositors

weston

It is very basic and does not even come with a config file

There is also nothing to exit, kill -9 -1 does it

nano /home/$USER/.config/weston.ini creates one. Copy something as the following into it:

[core]
xwayland=true

[keyboard]
keymap_layout=ch

[launcher]
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
path=/usr/bin/weston-terminal

[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/firefox.png
path=/usr/bin/firefox

weston can also be started in a X11, it opens then as window. echo $XDG_SESSION_TYPE will then be x11

sway

Sway coms withthe config file /etc/sway/config that needs to be copied to /home/$USER/.config/sway/config and edited

input * {
    xkb_layout "us,de,ru"
    xkb_variant "colemak,,typewriter"
    xkb_options "grp:win_space_toggle"
}

input <identifier> xkb_model "pc101"

it includes

include /etc/sway/config.d/*


Linurs startpage