Skip to content

Latest commit

 

History

History
150 lines (90 loc) · 4.93 KB

wayland.md

File metadata and controls

150 lines (90 loc) · 4.93 KB

Wayland

Description

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).

Directory

References


Fix Keys Activating When Switching Tasks

Important

This guide assumes that you are using the KDE Plasma desktop environment on Wayland.

Description

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.

References

Steps

  1. Launch the System Settings application.

  2. Scroll down to the Security & Privacy section and click the Application Permissions menu item.

  3. In the Application Permissions page, navigate to the Legacy X11 App Support menu.

  4. 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
  5. Click the Apply button.


Identifying Apps Running Xwayland

Important

This guide assumes that your system runs on Wayland.

Description

This details how to identify apps running using Xwayland on Wayland.

References

Steps

  1. Install the xorg-xlsclients package using yay.

  2. 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

Fix Firefox Crashes

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.

Description

This details how to work around a bug where Firefox keeps crashing on a Wayland system with NVIDIA hardware.

Steps

  1. 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.


Fix Picture in Picture

Important

This guide assumes that you are using the KDE Plasma desktop environment on Wayland.

Description

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.

References

Steps

  1. In a supported application i.e. Firefox, play a video in PiP mode.

  2. Right click the PiP window to get the context menu.

  3. In the context menu, hover over the More Actions menu item and select the Configure Special Window Settings... option.

  4. In the newly opened Window Rules window, click the Add Property... button.

  5. Select the Window title option.

  6. From the new Window title line, expand the dropdown which defaults to Unimportant and select the Exact Match option.

  7. Click the Add Property... button again and now select the Keep above other windows option.

  8. Leave the new Keep above other windows line as default, Apply Initially and Yes.

  9. Click the Apply button and then OK.