Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a way to get the colors of a gnome custom theme to KDE without matching every single setting manually? (Theres tons of different color settings in the KDE color schemes, most of which I even don't know where they are applied ...

I use KDE with compiz to run emerald as windows decorator. Because I really like the "Elementary"-theme.

Because my eyes aren't that great I had to tweak the gtk-elementary theme for some additional contrast. I saved it as "elementary-piedro".

Now I want to choose this theme in KDE-Systemsettings/appearance/gtk-applications but it doesnt't show the tweaked version? Where is it saved by the normal "gnome appearance preferences"-utility?

Is there a way to use the tweaked settings for KDE-applications?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

firstly, you need to use gtk+ as your style in KDE, secondly, you would need to edit the gtkrc for your gnome theme as opposed to the theme (in appearance properties). This is the only way that KDE applications can use your GNOME theme (when running KDE).

The gtkrc file is a configuration document, like css is to html, or like preferences are to an application. The gtkrc for a particular theme is usually found in either /usr/share/themes/themenamegoeshere/gtkrc or a similar to location, or /home/username/.themes/themenamegoeshere/gtkrc.

For elementary just locate the themes folder and find it's gtkrc. Open this with gedit (double click). If it is stored in /usr/share/themes you will need to run gksu gedit (alt+f2 ---> gksu gedit) and then open the theme by dragging and dropping on to the gedit window.

Now, you may be a bit confused, so here are some links that explain editing gtkrc files:

Follow this to change the colour options of your elementary theme, then apply gtk as your kde style.

share|improve this answer
    
hi Roland! I tried but don't get any result. Please explain a bit more further. I added "gnome-settings-daemon" to KDE "Autostart" within the systemsettings. There's no option to set it to run only in KDE. I don't get any effect anyway. –  piedro Jan 16 '11 at 18:44
    
thx for answering! Sorry but I didn't change anything to my question, there was a second thread on a similar slightly topic - obviously someone changed that one! (Not me though...) –  piedro Jan 16 '11 at 21:22
    
my mistake :P in any case my updated answer should help you out better this time :P –  RolandiXor Jan 16 '11 at 21:23
    
But: About which gtkrc file are you talking about? I couldn't find any file with that name anywhere ... –  piedro Jan 16 '11 at 21:26
1  
You should ask a new question, KDE 4.6 is a bit of a game changer :) –  RolandiXor Feb 6 '11 at 12:47
show 4 more comments

I don't know if this is what you are looking for, but it is worth a look: http://tombuntu.com/index.php/2008/01/25/theme-gnome-apps-running-in-kde-40/

share|improve this answer
    
Sry, no. The article is outdated. There's even settings dialogues for these settings within the systemsettings of KDE. As I described above. I want KDE and Gnome to use the SAME look, the same theme ... see above ... thx anyway ... –  piedro Nov 11 '10 at 18:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.