# Making LibreOffice theme work in KDE / Plasma 5

25.05.2015   kde

So I made the switch to Kubuntu since they upgraded to KDE / Plasma 5 (which is really nice, btw) and noticed LibreOffice is almost unusable since the default KDE theme Breeze is not supported. Lo and behold, this is an issue since 2012: https://bugs.documentfoundation.org/show_bug.cgi?id=48611 (but I'm sure someone will fix it soon, nobody uses KDE > 3 anyway /s). Until then, follow along http://ask.libreoffice.org/en/question/41627/libreoffice-isnt-picking-up-kde-themeui/ to make it work with Breeze by ignoring Breeze:

mkdir -p ~/.config/plasma-workspace/env
cd ~/.config/plasma-workspace/env
echo "#!/bin/sh" > libreofficevars.sh
echo "export OOO_FORCE_DESKTOP=kde" >> libreofficevars.sh
chmod u+x libreofficevars.sh


This is mostly just so I can find it again after I invariably rm -rf --no-preserve-root.