LibreOffice in KDE4

I prefer to make LibreOffice behave as a GTK+ application in KDE4. Somehow, it looks and feels better this way. To do this, I simply added the following line in /usr/bin/libreoffice (in the beginning, before the rest of the variables):

# Use GNOME UI
export OOO_FORCE_DESKTOP=gnome

# use POSIX locale for well-defined tool output
LO_SAVE_LC_ALL=$LC_ALL
LC_ALL=C
export LC_ALL

Now, it will inherit the oxygen-gtk theme, which makes all menu colours as they should be. Also, the program defaults to the GTK+ open file dialogues.



Leave a comment