How to know whether Wayland or X11 is being used

From here:

$ loginctl
$ loginctl show-session <SESSION_ID> -p Type

Leave a Reply