work around libreoffice scaling issue by forcing xcb

This commit is contained in:
Lumpiasty committed 2026-09-27 13:25:56 +02:00
1 parent 663de829cf
commit 39cc4b813c
1 file changed
+14 -1
+14 -1
View File
@@ -19,11 +19,24 @@
amdgpu_top
] ++ lib.optionals config.lumpiastyHome.linux [
pass-wayland
libreoffice-qt-stable
vlc
gimp
ventoy-full-qt
teamspeak6-client
(
runCommand "libreoffice-qt-stable" {
buildInputs = [ makeWrapper ];
} ''
mkdir $out
ln -s ${libreoffice-qt-stable}/* $out
rm $out/bin
mkdir $out/bin
makeWrapper ${libreoffice-qt-stable}/bin/libreoffice $out/bin/libreoffice \
--set SAL_USE_VCLPLUGIN kf6 --set QT_QPA_PLATFORM xcb
makeWrapper ${libreoffice-qt-stable}/bin/soffice $out/bin/soffice \
--set SAL_USE_VCLPLUGIN kf6 --set QT_QPA_PLATFORM xcb
''
)
]);
};
}