[Bug 31723] Re: gtk2-engines-gtk-qt causes GNOME looks ugly!

John Dong john.dong at gmail.com
Mon Apr 10 01:16:08 UTC 2006

*** This bug is a duplicate of bug 36256 ***

I can confirm this on the latest dist-upgraded dapper. Logging in under KDE with the setting "Use my KDE style in GNOME" creates a ~/.gtkrc that reads: 
# This file was written by KDE
# You can edit it in the KDE control center, under "GTK Styles and Fonts"

include "/usr/share/themes/Qt/gtk-2.0/gtkrc"

style "user-font"
        font_name="DejaVu Sans 9"
widget_class "*" style "user-font"

gtk-font-name="DejaVu Sans 9"

On subsequent GNOME logins, GNOME also takes on the Qt theme, leading to QT widgets inside GNOME. Deleting this .gtkrc-2.0 file and restarting GNOME yields GNOME widgets in GNOME again, but starting KDE will cause this to happen all over again.

This is a very irritating bug for switching back and forth from KDE. Whether this is fixed through KDE being more careful about placing gtkrc files or gnome-settings-daemon ignoring this file, it's an important fix for Dapper because lots of curious newcomers will install both KDE and GNOME and be clueless as to why KDE scars their GNOME apps.
gtk2-engines-gtk-qt causes GNOME looks ugly!

More information about the kubuntu-bugs mailing list