Conflict with gtkrc-2.0 from Kubuntu

Scott listboi at
Sat Apr 1 07:51:58 UTC 2006

Liz Young spake thusly on 03/31/2006 04:07 PM:
> Hi,
> I installed xubuntu-desktop from Kubuntu Flight 5.  If the file
> ~/gtkrc-2.0 exists, the xubuntu desktop never loads, just the
> wallpaper shows but no panel or task bar (I think they crash just
> after logging in from gdm or kdm).  Deleting the file fixes the
> problem.  The file is created by the KDE GTK Styles and fonts control
> panel and default looks like this:
> ==========
> # 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 11"
> }
> widget_class "*" style "user-font"
> gtk-theme-name="Qt"
> gtk-font-name="DejaVu Sans 11"
> ==========
> The same problem occurs on Breezy.
> Is there a config to avoid reading this file on login?

This is due to a bug in the gtk2-engines-gtk-qt package.

Workaround: Delete the ~/gtkrc-2.0 file. Log out of XFCE and log back in
and the problem should be gone.  If not, you'll also need to delete the
~/..gtk_qt_engine_rc file as well (both have been problems for me).

If you also still have KDE installed (and use it) KDE will re-create
these files without any trouble.  You will need to reset your
preferences for GTK apss in kcontrol, however.

If you wish to switch from KDE to XFCE or GNOME you'll need to delete
those files again. It's easiest to do it while still in KDE, just prior
to logging off.

© 2006 angrykeyboarder™ & Elmer Fudd. All Wights Wesewved

More information about the xubuntu-devel mailing list