Skip to content
Home » How to check if you are using wayland or Xorg

How to check if you are using wayland or Xorg

Let’s start the discussion about How to check if you are using wayland or Xorg in following methods.

The easiest (and most entertaining) way to determine whether you are running Xorg or Wayland in GNOME 3. Press Alt + F2, then type r and hit Enter. You are using Wayland if it displays the error “Restart is not available on Wayland” image. Congratulations, you are utilising Xorg if it works as expected (restart GNOME Shell).

how to check if am using wayland

You can also run the below command to check if you are using wayland or Xorg :

echo $XDG_SESSION_TYPE

I hope the strategies listed above work for you. Happy coding and come back again.

Similar Post : How to check apache configuration