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):

export OOO_FORCE_DESKTOP=gnome

# use POSIX locale for well-defined tool output
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 Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s