Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome theme in KDE
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mr98ai
n00b
n00b


Joined: 12 Dec 2003
Posts: 44
Location: Ontario, Canada

PostPosted: Thu Mar 25, 2004 2:29 pm    Post subject: Gnome theme in KDE Reply with quote

I have both KDE installed, as well as Gnome. I prefer to use KDE, but there are a few gnome applications (such as evolution, eclipse, and mozilla firefox) which I cannot live without. When I login to gnome, I set my theme to be something like "thin" or "simple". This works fine. However, when I login to kde, and run a gnome application, I get the default square blah theme that comes with gnome, not my "simple" theme. How do I get gnome applications to use the theme I selected while running gnome?
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Thu Mar 25, 2004 3:11 pm    Post subject: Reply with quote

Either:

1.USE="gtk2" emerge gtk-theme-switch
or
2. run gnome-settings-daemon on KDE startup(add a small script to ~.kde/Autostart)

Also turn off "apply KDE colors to other applications" in the KDE Control Center (under Colors)

I think #1 is advantageous because gnome-settings-daemon might muck with other things that KDE handles, like fonts, keyboard mappings, etc..
Back to top
View user's profile Send private message
Unne
l33t
l33t


Joined: 21 Jul 2003
Posts: 616

PostPosted: Thu Mar 25, 2004 4:28 pm    Post subject: Reply with quote

switch2 and gnome-theme-manager will have weird conflicts with each other if you try to use them both to set a GTK theme. When I use non-Gnome window managers I always rm ~/.gtk* and then use switch2 and it works OK so long as I don't try to use Gnome again.
Back to top
View user's profile Send private message
sparks
Guru
Guru


Joined: 05 Mar 2003
Posts: 331
Location: Nashville, TN

PostPosted: Thu Mar 25, 2004 8:16 pm    Post subject: Reply with quote

you don't need to have any part of gnome running while in KDE to get nice gtk2 themes with apps. All you have to do is place a file named .gtkrc-2.0 in your home directory then edit it to your favorite theme & font. Now all your gtk+ apps use that gtk+ theme, even in KDE.

Here is my .gtkrc-2.0
Code:
gtk-font-name = "Bitstream Vera Sans 10"
include "/home/ben/.themes/WinXP-Silver/gtk-2.0/gtkrc"


and a screen shot.
_________________
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
mr98ai
n00b
n00b


Joined: 12 Dec 2003
Posts: 44
Location: Ontario, Canada

PostPosted: Thu Mar 25, 2004 11:03 pm    Post subject: Reply with quote

Well, Thanks very much for all your answers. I tried sparks way (using the .gtkrc-2.0 file) and it works flawlessly :wink:
Back to top
View user's profile Send private message
Negeus
n00b
n00b


Joined: 10 Mar 2004
Posts: 26
Location: Norfolk, England

PostPosted: Fri Mar 26, 2004 7:30 pm    Post subject: Reply with quote

Thanks sparks, you just answered one of my questions and it was so simple! Thanks again :D
_________________
Bill meet Tux, Tux eat Bill
Back to top
View user's profile Send private message
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 232
Location: Austin, Texas. USA

PostPosted: Fri Mar 26, 2004 11:36 pm    Post subject: Good Lord. Reply with quote

I can't beleive it's that easy to get gtk 2 apps showing up in KDE, it's been daunting me for a year now.

One thing, is it possible to make it use bold text? I tried appending BOLD but ended up getting no text.

gtk-font-name = "Comic Sans MS 10 BOLD"

Suggestions?

And thanks for solving this for me, it's one of the main reason I still use gnome. Who knows now?
_________________
*Fortitudo, aequitas, fidelitas.*
Back to top
View user's profile Send private message
Visceral
Apprentice
Apprentice


Joined: 28 Oct 2003
Posts: 232
Location: Austin, Texas. USA

PostPosted: Sat Mar 27, 2004 12:02 am    Post subject: Reply with quote

gtk-font-name = "Comic Sans MS Bold 10"

That did the trick! Very nice!
_________________
*Fortitudo, aequitas, fidelitas.*
Back to top
View user's profile Send private message
bushwakko
Guru
Guru


Joined: 25 Mar 2003
Posts: 495

PostPosted: Thu Apr 08, 2004 10:25 am    Post subject: Reply with quote

ahh!! this is just lovley! someone should make this a LOT easier, by making som kgtkswitch or something, that writes to the file. also, I like having kde changing the colors, as long as I choose the theme :)
_________________
Macbook Pro 15"
Core 2 Duo 2,33ghz
2gb Ram
ATI Mobility x1600 256mb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum