How To Disable Wayland On Ubuntu

Wayland is a communication protocol that specifies the communication between a display server and its clients. By default, Ubuntu’s desktop environment runs on Wayland.

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.

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:

The GNOME desktop environment uses GDM3 as its default display manager. To enable or disable Wayland, you’ll need to edit the configuration file located at /etc/gdm3/custom.conf. Open a command line terminal and launch the file with root privileges using your preferred text editor (e.g., nano):


Step 2:

Inside the file, locate the line #WaylandEnable=false. Uncomment this line and set the value based on your preference:

To enable Wayland:

To disable Wayland:


Step 3:

Once you’ve made the necessary changes, save the file and close the editor. To apply the new settings, restart GDM3 or reboot your system:


Step 4:

On the login screen, click the gear icon to select your session type. If Wayland is enabled, you’ll see the “Ubuntu” option. If it’s disabled, only “Ubuntu on Xorg” will appear, or the gear icon may not be available.