How to Disable Wayland on Ubuntu 22.04 Desktop

Wayland is a communication protocol that specifies the communication between a display server and its clients. On Ubuntu, users can choose to enable or disable Wayland according to their needs. By default, Ubuntu’s desktop environment runs on Wayland, but it is also possible to switch to the Xorg display server.

If you’re installing Desklog on operating systems beyond Ubuntu 22.04, please note that the Wayland protocol in Ubuntu 22.04 may hinder the accuracy and functionality of many features. To ensure smooth and precise operation, we advise disabling the Wayland protocol on your system.

You might want to switch to Xorg from Wayland if you are having trouble with graphics or if your computer isn’t performing well with Wayland. Xorg is more compatible with different types of software and can be a good alternative if Wayland isn’t working well for you. Ubuntu comes with both Wayland and Xorg, so you can easily change between them whenever you need to.

To operate Desklog effectively and to get accurate tracking done on Ubuntu 22.04 and above versions, you need to disable wayland.

How to Disable Wayland

Here’s how you can disable Wayland :

Step 1

To disable Wayland on the GNOME desktop environment, you will need to edit the /etc/gdm3/custom.conf file using GDM3, which is the default display manager for GNOME. Begin by opening a command line terminal. Then, utilize nano or any text editor of your preference to open this file with administrator rights.

$ sudo nano /etc/gdm3/custom.conf

Step 2

In this file, search for the line #WaylandEnable=false. To deactivate Wayland, remove the comment symbol (#) and adjust the setting accordingly.

Set it to false to disable Wayland:

WaylandEnable=false

Step 3

After modifying the file, make sure to save your changes and close the file.

To save, press CTRL + O and hit ENTER

To exit, press CTRL + X

For the changes to take effect, you should either restart the GDM3 service or reboot your Ubuntu 22.04 desktop computer.

sudo systemctl restart gdm3

It’s beneficial for users to have multiple options available, as each has its own advantages and disadvantages and might perform better with specific configurations.

<< Back to Home