Wayland display server

ManicTime can be installed on Wayland. But most data will not be tracked because of Wayland privacy and security features.

If you want ManicTime to record data you have two options:

  • if you wish to keep using Wayland you can install Window Calls Extended plugin (only applies to Gnome desktop environment, screenshots are not supported)
  • switch display server from Wayland to Xorg (X11)

Switch display server from Wayland to Xorg (X11)

Following instructions applies for Linux Ubuntu 22.04. Your experience may differ depending on your distribution, version and installed software.

Changing display server via Login Screen.

  • Log out from the system. Press CTRL + ALT + DELETE button and press Log Out.
  • On the Login, screen click on your username. When username is selected, find the "gear" icon in the lower right corner. Click on the "gear" icon and select "Ubuntu on Xorg". Type your password and hit Enter to login.
  • Open Terminal and run echo $XDG_SESSION_TYPE command to confirm that X11 display server is running.

Changing display server via Terminal

  • While the user is logged in to the system, open file /etc/gdm3/custom.conf as super user (sudo) in your favorite text editor.
  • Find the line with "WaylandEnable=false" and uncomment the line, then save the changes.
  • Next, we need these changes to take effect therefore we must restart the gdm3 service. While in the Terminal run the following command: sudo systemctl restart gdm3.
  • When the restart is complete, login to the system
  • Open Terminal and run echo $XDG_SESSION_TYPE command to confirm that X11 display server is running.