kcm-gtk writes settings into wrong file

Bug #473197 reported by Jan Včelák
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kcm-gtk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: kcm-gtk

The style and fonts settings for GTK applications in KDE stopped applying after replacing gtk-qt-engine with kcm-gtk.

The changes performed by kcm-gtk are written into ~/.gtkrc-2.0-kde4 instead of ~/.gtkrc-2.0

$ env | grep GTK
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/user/.gtkrc-2.0::/home/user/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/user/.gtkrc::/home/user/.kde/share/config/gtkrc

(Symlink solved it for me for now.)

kcm-gtk 0.5.3-0ubuntu1
kdebase-runtime 4:4.3.2-0ubuntu4

Distributor ID: Ubuntu
Description: Ubuntu 9.10
Release: 9.10
Codename: karmic

Revision history for this message
Guillaume Millet (guimillet) wrote :

I confirm this bug. Renaming ~/.gtkrc-2.0-kde4 to ~/.gtkrc-2.0 solved my problem of using qtcurve theme for gtk applications.

Philip Muškovac (yofel)
Changed in kcm-gtk (Ubuntu):
status: New → Confirmed
Revision history for this message
Felix Geyer (debfx) wrote :

Is this still an issue on lucid?

For me GTK2_RC_FILES contains .gtkrc-2.0-kde4

Changed in kcm-gtk (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Dustan Ashley (dashley) wrote :

Issue still occurs in Lucid for me

GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/dashley/.gtkrc-2.0::/home/dashley/.kde/share/config/gtkrc-2.0"

Revision history for this message
Felix Geyer (debfx) wrote :

Is the package gtk2-engines-qtcurve installed on your system?

Revision history for this message
Guillaume Millet (guimillet) wrote :

I think that the package kubuntu-default-settings installs /usr/share/kubuntu-default-settings/gtk2-engines-qtcurve.rc.sh and copies it in $HOME/.kde/env. This script contains "export GTK2_RC_FILES=$HOME/.gtkrc-2.0-kde4". A new installation of Lucid did not present the issue.

Revision history for this message
Guillaume Millet (guimillet) wrote :

excepted for sudo account, /root/.gtkrc-2.0-kde4 (changed with "kdesudo kcmshell4 kcmgtk") is not used on my pc. I've added a symlink named .gtkrc-2.0.

Changed in kcm-gtk (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Guillaume Millet (guimillet) wrote :

what is the reason to use .gtkrc-2.0-kde4 instead of.gtkrc-2.0 which is the default name hard coded in kde-base (according to http://bugs.gentoo.org/330509)?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.