View previous topic :: View next topic |
Author |
Message |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3224
|
Posted: Sat Jun 10, 2006 10:38 pm Post subject: GTK theme settings for different applications [Solved] |
|
|
Is there any way to apply a gtk theme to a specific application (ie. different than the theme for all other applications)?
Last edited by mikegpitt on Tue Jun 13, 2006 4:20 am; edited 1 time in total |
|
Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3224
|
Posted: Mon Jun 12, 2006 6:42 pm Post subject: |
|
|
This has gotten burried over the weekend, so I'll bump it. |
|
Back to top |
|
 |
zietbukuel l33t


Joined: 30 Dec 2005 Posts: 607
|
Posted: Mon Jun 12, 2006 11:11 pm Post subject: |
|
|
What for???? is that *really* necesary?? I guess not...  |
|
Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3224
|
Posted: Tue Jun 13, 2006 1:18 am Post subject: |
|
|
zietbukuel wrote: | What for???? is that *really* necesary?? I guess not...  | Actually for my purposes it is necessary.
I want to put a skin on a particular application, actually OpenOffice. I most likely don't want this same skin on other applications, so I want to apply it only to OpenOffice.
I haven't really been able to dig anything up on the topic, so any tips & tricks are appreciated. |
|
Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3224
|
Posted: Tue Jun 13, 2006 4:19 am Post subject: |
|
|
I've solved this, if anyone is interested. You need to map a different .gtkrc-2.0 file for the different app.
1) create file .gtkrc-2.0.OpenOffice # this should be similar to the regular .gtkrc-2.0, but with the different theme
2) from the same terminal do this:
Code: | export GTK2_RC_FILES=~/.gtkrc-2.0.OpenOffice
export OOO_FORCE_DESKTOP=gnome
oowriter2
|
OpenOffice will use this new theme and all other apps use the default theme. When you update the theme using an app like gtk-chtheme it will only change the default, leaving OpenOffice alone. |
|
Back to top |
|
 |
|