How can I tell if I am running Wayland?
Wayland is the default display server for Ubuntu 17.10 "on supported systems". But how can I tell if my platform is supported and I'm actually using Wayland?
Solution 1:
Open the terminal and type in:
echo $XDG_SESSION_TYPE
Check if it prints wayland
.
Solution 2:
You could install mesa-utils-extra
and run es2gears_wayland
If the app runs, you are running Wayland.
For a fun way to check whether a specific app is using Wayland or XWayland,
run xeyes
. The eyes will move if the cursor is over an X or XWayland
window.
Or run this in a terminal:
env | grep -i wayland
If there is no output, you are not running Wayland.
Solution 3:
Use that command in the Ubuntu terminal:
echo $DESKTOP_SESSION
Look at the value returned. If on wayland it will return
gnome-wayland
ubuntu-wayland # Ubuntu 20.10