Wayland notes/tips

With the update to KDE Plasma 2.23, I decided to try enabling Wayland on my Arch Linux system. The first thing I did was install the following packages:

  • plasma-wayland-protocols
  • plasma-wayland-session

After I did this, I got a Plasma (wayland) option in the SDDM sessions selection. But, when I tried to log in, it simply returned to the login screen. Doing a little research I found this page and added the following to /etc/default/grub:GRUB_CMDLINE_LINUX_DEFAULT line:

nvidia-drm.modeset=1

and ran sudo grub-mkconfig -o /boot/grub/grub.cfg.

Now, the session tried to start, but all I got was KDE starting on two out of three screens, and then a gnome-do popup on the screen, and nothing else.

After, I switched back to X11 session in SDDM, I did notice a few things different after logging in:

  • toolbar panels were larger
  • no toolbar on middle screen
  • screens were not in the right order
  • keyboard did not work

Reboot …

More things seemed normal, but one screen was still not configured with panel, etc.

Enough time on this today – will try again in the future …

I use Plasma desktop frequently with some non KDE apps e.g. foliate ebook reader, when using plasma with wayland ran into issue where cursor was absurdly large on such GTK apps. This article came in handy

There are several fixes proposed, The issue will get fixed in GTK 4.16 but its unreleased yet. So instead of using a dev version of a package, I decided to use a different cursor theme in plasma instead of default which is breeze I use “capitaine cursor” theme and problem is solved for now.

1 Like