Libreoffice uses xWayland instead of Wayland

Hello,
I installed Libre Office with “sudo apt-get install -y libreoffice -–no-install-recommends” on Debian 12 with Gnome running on Wayland.

This is the Version Libreoffice says is running:
7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 12; OS: Linux 6.1; UI render: default; VCL: x11
Locale: de-DE (en_IE.UTF-8); UI: en-US
Debian package version: 4:7.4.5-3
Calc: threaded

However Libreoffice opens an xWayland session instead of Wayland. How can I force it to run under native Wayland?

Thank you very much

Are you sure it is an XWayland session? It says it is using bare metal X11 widgets (VCL: X11). Since you are under GNOME, you should use GTK+ widgets to get a native look. Under Fedora, this requires libreoffice-gtk3 package. It is likely -–no-install-recommends prevented installation of this package. Manually install it (name may vary from Fedora distro)0.

1 Like

thank you very much, that was the problem, now it runs wayland. I guess I overlooked this package when checking what I will actually need from the recommends.