work around libreoffice scaling issue by forcing xcb
This commit is contained in:
1 file changed
+14
-1
+14
-1
@@ -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
|
||||
''
|
||||
)
|
||||
]);
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user