Version: (using KDE KDE 3.5.7) Installed from: Unlisted Binary Package Compiler: gcc 4.2.0 i686 optimized OS: Linux when starting a gtk application from within kde (menus, traybar, icons) it will use the default (ugly) gtk theme. when starting the same app from a terminal, it will use the theme engine, given to it (e.g. via switch).
I have this behaviour in KDE 4 from SVN.
You can try a workaround here: http://www.kde-forum.org/thread.php?threadid=18141
It doesn't help, KDE4 overwrites it on restart. I tried setting file attribute +i and changing permissions but KDE4 still must have read/write access to ~/.kde/share/config directory so it just DELETES the file and recreates it!!! A major flaw. Why not leave GTK apps alone if not do it properly.
Same problem here. I created 2 "scripts" (for Firefox and Thunderbird) and saved them on the desktop, so I don't need to run the commands from a terminal. If I start gtk apps from the menu, I get the ugly GTK default theme.
This blog entry describes as well what this bug consists of: http://vizzzion.org/?blogentry=814
confirmed, see also related downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=443309
Created attachment 24672 [details] don't lose systemGtkrc Here's a patch we tested to work, to ensure that systemGtkrc doesn't get lost. Not sure exactly why the old code didn't work (it's almost the same as the kde3 versions that were ok).
I couldn't figure out why the old code doesn't work anymore either, all I know is that the above patch (which I wrote and Rex tested) makes it more robust and in particular makes it work. :-)
No idea why this bug is assigned to me ;) Kevin Kofler: you committed to this code previously, I see, feel free to commit your fix.
SVN commit 805915 by rdieter: BUG: 146779 Not sure exactly why the old code didn't work (it's almost the same as the kde3 versions that were ok), butthis ensures systemGtkrc doesn't get lost. M +6 -5 krdb.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=805915
SVN commit 805916 by rdieter: CCBUG: 146779 backport fix from trunk. Not sure exactly why the old code didn't work (it's almost the same as the kde3 versions that were ok), but this ensures systemGtkrc doesn't get lost. M +6 -5 krdb.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=805916
This isn't working. SVN from today. Ubuntu 8.04, self compiled binaries.
echo GTK2_RC_FILES outputs /etc/gtk/gtkrc:/home/orville/.gtkrc::/home/orville/.kde/share/config/gtkrc As you can see there's something missing between the gtkrc found in home and the one in $kdehome. Can't help out more after this as it's not my machine.
The problem there is that you have /etc/gtk/gtkrc instead of /etc/gtk-2.0/gtkrc (and other GTK+ 1 config files), I don't know why. Are you sure what you posted is GTK2_RC_FILES and not GTK_RC_FILES?
Bug closed. Kdesktop is no more mantained.
This is about KDE 4 (the kcontrol/krdb code in kdebase-workspace), not the KDE 3 kdesktop. Reassigning to systemsettings for lack of a more fitting category. But it's already fixed anyway.