LibreOffice Scaling

So, Arch is my jam these days. I’m running on a Framework 15 with an AMD APU/GPU, and it’s running gloriously on open-source drivers. One big hitch has been that LibreOffice misbehaves on fractional scaling, both when using X and Wayland. Ever since playing on the Steam Deck, I’ve moved from X/Cinnamon to Wayland/Plasma. KDE has come a long way since I first played with it, way back in the day, and is definitely a comfortable daily Desktop driver.

As far as LibreOffice goes, this is how it was scaling for me on the external display hooked up to the Framework:

It was looking normal on the native display, the issues were just with the external one. Which was a particular bummer because I had have scaling to pretty decent fractional parity between the two.

The solution was to add this to the Environment variables:

QT_QPA_PLATFORM=xcb

What this does is, since I am using Wayland, it specifies to use XCB which is a legacy X11 backend–LibreOffice, while experimental in Wayland, is still very much primarily X11. Though, to be honest, I had also seen this behavior when I was running in X/Cinnamon.

So, in the end, I just had to add this to all of the LibreOffice menu items:

And now it runs as it should, proper scaling and all.

Such is life in Arch, and Linux in general–small tweaks to make a very messy apartment livable.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.