12

I have installed Evolution email client on Kubuntu 11.10 and it's not so cute as expected.

enter image description here

Eclipse also looks bad. I have the GTK+ Appearance plugin in KDE System Settings and already tried QTCurve and Oxygen option, no help. When the GTK+ skin was working, this appearance still showed when I ran an application as root.

Tried:

sudo apt-get install oxygen-molecule gtk2-engines-oxygen

There is a problem with KDE/GTK relation. How can I solve it?

7 Answers 7

11

Make sure you have the following packages installed (they should have been installed by kubuntu-desktop, but may have gotten missed):

sudo apt-get install gtk2-engines-oxygen kde-config-gtk

Then go to the KDE Control centre and make sure that the checkbox for using KDE themes in GTK apps is checked.

3

Evolution probably uses GTK3 while the instructions are valid only for GTK2.

I'm not sure what is the policy of AskUbuntu on external links, but this one provides a solution for GTK3:

http://maketecheasier.com/make-gtk3-apps-look-presentable-in-kde4/2012/01/04

2
  • 1
    It is preferable to include the essential parts of the answer here, and provide the link for reference.
    – jokerdino
    Feb 11, 2012 at 11:32
  • Fixed it for me! Fwiw, the command is sudo apt-get install gtk3-engines-oxygen. Feb 23, 2014 at 0:48
2

Here is the latest gtk config tool that allows easy customization of GTK2 + GTK3 under KDE

It will likely become official tool in next KDE version.

2

I accidentally found the right answer here


UPDATE

Old question with old answers, but maybe still interesting - and appearing in internet searches anyway. So, for the record:

In KDE/Plasma5, there are GTK settings in the System Settings, Application Style:

enter image description here

1
  • 1
    It is preferable to include the essential parts of the answer here, and provide the link for reference.
    – gertvdijk
    May 27, 2013 at 20:00
0

Not a solution, but a work around. Try setting your appearance with lxappearance

sudo apt-get install lxappearance

It (lxappearance) should be in your KDE menu, under settings, or run it manually with lxappearance.

lxappearance seems to work better then kde-config-gtk for some people

Another potential problem is running applications as root.

sudo cp /root/.gtkrc-2.0 /root/.gtkrc-2.0.backup
sudo cp /root/.gtkrc-2.0-kde4 /root/.gtkrc-2.0

You can un-do that command if needed (you might break gksu or running applications as root under gnome or other DE, may not be an issue if you only run KDE)

2
  • Eclipse is fixed now, but Evolution not.
    – piovisqui
    Dec 12, 2011 at 0:58
  • One out of 2 is not bad =) , sorry you are having problems.
    – Panther
    Dec 12, 2011 at 1:01
0

KDE uses the "system" font hinting as default (where is this system hinting config located?), and GTK not.

So, make KDE uses the QT configuration, which will force GTK to use the same.

On KDE Settings, Application Appearence, Fonts, I selected "Use anti-aliasing" as "Enabled", opened "Configure", than unchecked "exclude range", checked "use subpixel", and select "slight" for "hinting style". This will force gtk to use the same font hinting.

-1

get the package for your distribution here:

https://community.kde.org/Plasma/Packages

systemsettings > appearance > application style (or smth like that> gnome gtk menu entry

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .