Wayland

wayland utils

listing replacement for old xorg utils with modern waylands ones and other relevant tools for wayland.

  • kscreen-doctor - An xrandr-like utility for Plasma/KDE (may have to unset QT_SCALE_FACTOR_ROUNDING_POLICY to use)
  • lswt - list Wayland toplevels (Requires the Wayland server to implement the foreign-toplevel-management-unstable-v1 protocol extension) KDE6 does not support this as of 06.04.2025
  • wayland-info - does what it says on the tin, also lists which wayland protocols the current compositor supports
  • wev - A tool for debugging events on a Wayland window, analogous to the X11 tool xev
  • wlr-randr - xrandr replacement but does require you compositor to support wlr-output-management-unstable-v1 KDE6 does not support this as of 06.04.2025

Libreoffice with Wayland HiDPI

To work around issues with scaling UI elements in Wayland on HiDPI screens, try to specify a VCL interface (e.g., gtk3 or qt6)

export SAL_USE_VCLPLUGIN=qt6
export SAL_USE_VCLPLUGIN=gtk3

For more user interface options see /etc/profile.d/libreoffice-fresh.sh or /etc/profile.d/libreoffice-still.sh

Multiple screens with different scaling are affected by a bug preventing proper scaling on all screens. As a workaround start LibreOffice in Xwayland-mode

export WAYLAND_DISPLAY=libreoffice

Sources:

https://wiki.archlinux.org/title/LibreOffice#Wayland_and_HiDPI

https://wiki.archlinux.org/title/LibreOffice#Theme


Last modified: Sun Apr 6 22:19:03 2025