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

Filed under desktop, system

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s