You are not logged in.

#1 2009-08-09 08:40:23

szabo
Member
Registered: 2009-05-06
Posts: 8

Tip: Nice GTK theme for KDE

If you are using the oxygen theme in KDE 4 and want your GTK apps to look nice, try this:
(check out the screenshot from kde-look.org: http://kde-look.org/content/preview.php … fied+theme)

1) build and install oxygen-molecule-theme from aur http://aur.archlinux.org/packages.php?ID=26138
    (I had to download the theme package by hand from kde-look.org  http://kde-look.org/content/show.php?ac … 3c6a6ed8ac)

2) add this to ~/.gtkrc-2.0
   (This file might have a "DO NOT EDIT" warning but you can safely add this line.
    If it already has an  include "/some/theme/dir/gtkrc" line , maybe set by switch2,
    make sure that you comment it out)

 include "/home/YourUsername/.gtkrc-2.0.mine"

3) add this to ~/.gtkrc-2.0.mine:

include "/usr/share/themes/kde42-oxygen-molecule/gtk-2.0/gtkrc"

style "user-font"
{
}
widget_class "*" style "user-font"
gtk-theme-name="kde42-oxygen-molecule"
gtk-font-name="Bitstream Vera Sans 9"
gtk-icon-theme-name="OxygenRefit2-Molecule"

4) optionally, do the same for root.

And that's it. You (almost) won't be able to tell the difference between GTK
and KDE apps. When installing the oxygen-molecule-theme package you will
be told to create a .gtkrc-2.0-kde4 file and add the step 3 stuff there instead,
but I prefer to it this way. Enjoy!

Last edited by szabo (2009-08-09 10:40:30)

Offline

#2 2009-08-09 09:59:29

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: Tip: Nice GTK theme for KDE

Looks way better than before, thanks.

Offline

#3 2009-08-09 10:30:17

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: Tip: Nice GTK theme for KDE

Screenshot!

wink

Offline

#4 2009-08-09 10:45:09

IncredibleLaser
Member
From: Germany, NRW
Registered: 2008-07-16
Posts: 158

Re: Tip: Nice GTK theme for KDE

oxygengtk.th.png
delivered

Offline

#5 2009-08-09 10:48:05

szabo
Member
Registered: 2009-05-06
Posts: 8

Re: Tip: Nice GTK theme for KDE

@mutlu_inek:
  You're right. Everybody loves screenshots. Added link to kde-look.org screenshot.

@IncredibleLaser:
  Thanks for the screenshot.

@* :
  Thanks for the feedback. MrBumpy4096 did a great job with the oxygen-molecule
  theme and deltaecho PKGBUILD is pretty smoth. I was so pleased with it that I
  wanted to share the info. :-)

Last edited by szabo (2009-08-09 10:54:02)

Offline

#6 2009-08-09 17:36:22

stefan1975
Member
From: 53 6e 65 65 6b
Registered: 2007-04-16
Posts: 195

Re: Tip: Nice GTK theme for KDE

just use qtcurve, it is better then oxygen anyway and in the repos for both GTK and KDE


"root# su - bofh"
OS: F10_x64, Arch, Centos5.3, RHEL4.7, RHEL5.3
Desktop Hardware: Dell Precision M65 laptop, core2duo, 2gb, 80gb 7200rpm
Registered linux user #459910 since 1998

Offline

#7 2009-08-10 09:14:18

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: Tip: Nice GTK theme for KDE

szabo wrote:

@mutlu_inek:
  You're right. Everybody loves screenshots. Added link to kde-look.org screenshot.

Thanks! It really looks quite good. smile

stefan1975 wrote:

just use qtcurve, it is better then oxygen anyway and in the repos for both GTK and KDE

Well, you are entitled to your opinion, but this thread is about something different. It's like going to a Gnome thread and saying "just use KDE".

Offline

#8 2009-08-10 10:58:45

stefan1975
Member
From: 53 6e 65 65 6b
Registered: 2007-04-16
Posts: 195

Re: Tip: Nice GTK theme for KDE

mutlu_inek wrote:

[Well, you are entitled to your opinion, but this thread is about something different. It's like going to a Gnome thread and saying "just use KDE".

why is my suggestion about qtcurve-gtk different then the subject of the topic? qtcurve-gtk is a "nice GTK theme for KDE" hence quite on topic imho.


"root# su - bofh"
OS: F10_x64, Arch, Centos5.3, RHEL4.7, RHEL5.3
Desktop Hardware: Dell Precision M65 laptop, core2duo, 2gb, 80gb 7200rpm
Registered linux user #459910 since 1998

Offline

#9 2009-08-10 11:41:17

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Tip: Nice GTK theme for KDE

Pretty nice, I like the theme.  I'm pretty lazy and use qtcurve too with gtk-theme-switch:

gtk.png


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#10 2009-08-10 11:54:53

szabo
Member
Registered: 2009-05-06
Posts: 8

Re: Tip: Nice GTK theme for KDE

stefan1975 wrote:

why is my suggestion about qtcurve-gtk different then the subject of the topic? qtcurve-gtk is a "nice GTK theme for KDE" hence quite on topic imho.

Well, it is, kinda, and a lot of people may share your opinion that qtcurve > oxygen (it is even featured in the wiki).
I beg to differ. I prefer oxygen, and was never fully satisfied with qtcurve. (Ahh... the freedom to choose... What a
wonderful thing! smile )  Well, now that I found an alternative to qtcurve I posted it here to save some time to all the oxygen aficionados.

Maybe I should rewrite my post. Something like:

if ( kde.theme() == "Oxygen" && !happy() ) {
  ...
  gtk.theme("oxygen-molecule");
  ...
} else
  return 0;
}

wink

Offline

Board footer

Powered by FluxBB