Wayland is a replacement for the X11 window system protocol and architecture with the aim to be easier to develop, extend, and maintain. Wayland is the language (protocol) that applications can use to talk to a display server in order to make themselves visible and get input from the user (a person).
Important
This guide assumes that you are using the KDE Plasma desktop environment on Wayland.
This details how to fix a bug where keys are unexpectedly activating in the last focused (Xwayland) application window when switching tasks using the task switcher on KDE Plasma.
-
Launch the System Settings application.
-
Scroll down to the Security & Privacy section and click the Application Permissions menu item.
-
In the Application Permissions page, navigate to the Legacy X11 App Support menu.
-
In the Legacy X11 App Support page, set the following setting to the corresponding value:
- Allow legacy X11 apps to read keystrokes typed in all apps:
Never
- Allow legacy X11 apps to read keystrokes typed in all apps:
-
Click the Apply button.
Important
This guide assumes that your system runs on Wayland.
This details how to identify apps running using Xwayland on Wayland.
-
Install the
xorg-xlsclients
package usingyay
. -
Run the following command to list down all applications running via Xwayland:
xlsclients -l
Alternatively, KDE Plasma Desktop (or Kwin) users on Wayland could use the following command instead without requiring the
xorg-xlsclients
package:qdbus6 org.kde.KWin /KWin org.kde.KWin.showDebugConsole
Important
This bug at the moment seems to affect Firefox 129.0 on a Wayland system with NVIDIA hardware. Follow this guide only if it affects your system.
This details how to work around a bug where Firefox keeps crashing on a Wayland system with NVIDIA hardware.
-
In the General tab, under the Performance section, update the following Firefox settings:
-
Use recommended performance settings:
Disabled
-
Use hardware acceleration when available:
Disabled
[!NOTE]
These settings should be re-enabled after an actual fix has been released for performance gains. -
Important
This guide assumes that you are using the KDE Plasma desktop environment on Wayland.
The Picture in Picture (PiP) feature currently has issues where its window would not remember its last position and it would not be pinned on top of other windows by default. This details how to work around the latter bug.
-
In a supported application i.e. Firefox, play a video in PiP mode.
-
Right click the PiP window to get the context menu.
-
In the context menu, hover over the More Actions menu item and select the Configure Special Window Settings... option.
-
In the newly opened Window Rules window, click the Add Property... button.
-
Select the Window title option.
-
From the new Window title line, expand the dropdown which defaults to
Unimportant
and select theExact Match
option. -
Click the Add Property... button again and now select the Keep above other windows option.
-
Leave the new Keep above other windows line as default,
Apply Initially
andYes
. -
Click the Apply button and then OK.