LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General > Member Success Stories
User Name
Password Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.


  Search this Thread
Old 03-05-2010, 12:21 PM   #1
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284
openoffice force default theme / no theme | dark theme fix

I've never posted in this particular forum before, but I think this is where this post goes.

So, recently I noticed that openoffice, including go-oo, will try to use your gtk theme no matter what, and it will often result in a crappy looking interface (especially with dark themes). The problem is documented here:

Using a dark theme erases colors and messes up backgrounds ... wonderful.

Although there is no way to force openoffice to use the default theme using the openoffice options, you can make a wrapper script like this:

GTK2_RC_FILES="" soffice "$1"
This resets the location of gtkrc-2.0 to nothing, and then runs soffice on whatever file you give it (opening the file). This forces openoffice to not know where your theme is, and thus uses the ugly default theme, tho the result is not quite as ugly as it trying to use a dark theme.

I don't know of any way to make it use a dark theme properly in all parts of openoffice. If you know, do post it.

Note that this also works for firefox, but firefox has no problems with dark themes, luckily.
Old 03-08-2010, 01:56 PM   #2
Registered: Oct 2009
Location: Utah
Distribution: Debian Testing (Wheezy atm.)
Posts: 109

Rep: Reputation: 17
Glad to see you fixed it!

I'm going to post to remove this from the "No replies" thread.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Understanding WordPress Theme: The Basics of Creating Your Own WP Theme LXer Syndicated Linux News 0 01-08-2010 01:20 PM
cant change theme on emerald theme manager malanco Linux - Newbie 1 06-28-2007 05:49 AM
KDM Theme issues, Changed kdmrc but not searching for new theme EclipseAgent SUSE / openSUSE 1 07-23-2006 01:14 PM
kde / gtk cursor-theme / theme issue - gentoo imperfect Linux - Newbie 1 01-08-2006 06:09 PM
Problem getting installed GNOME theme to show in theme list on RedHat 9.0 linux-fan64 Linux - Newbie 1 02-25-2004 06:16 PM

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration