Bugzilla – Bug 150133
Changes to GTK-qt in kontrol panel no effect
Last modified: 2007-05-07 14:47:36 UTC
Hi, I have updated to opensuse 10.1. I am using KDE as the desktop manager. I have install gtk-qt engine and it is located in kontrol panel under apperance & themes. When I change the GTK style to use my KDE style in GTK applications or any other style the application look exactly the same. In my testing I used Inkscape. There are couple of odd things that are happening I did some more tests so that I can help you in fix this bug. When I type the command inkscape in konsole inkscape theme has changed and it looks much better than before. I close inkscape and console and try to run it again from kmenu -> Graphics -> Vector Drawing. There are no changes to Inkscape it still looks bad. So I thought there must be another file that is controling the look so I used the search for .gtkrc-2.0 and found that it is in my home directory as well as in .kde/share/config. Then I deleted the file in the .kde directory and created a link using the following command ln $HOME/.gtkrc-2.0 $HOME/.kde/share/config/gtkrc-2.0. Then run inkscape again from kmenu and it looks very nice now. Thanks for great work on opensuse deni
The openSUSE product in Bugzilla is only for problems with the openSUSE wiki or with Bugzilla itself. Please reassign to correct product/component.
Check if there was a "export GTK2_RC_FILES=$HOME/.gtkrc-2.0" line inserted into your .bashrc (a fixed gtk-qt-engine package which added that with every "Apply" was submitted) and delete it. And please delete the link you created before doing further testing. Please give the content of GTK2_RC_FILES variable if you still experience problems.
Created attachment 72274 [details] Screenshot with no theme
Created attachment 72275 [details] With clearlooks theme
Hi Stephan, I have deleted the links that I did before, I have also deleted .kde folder and all .gtkrc files in my home folder and removed the old copy of gtk-qt-engine and installed the new one. And also rebooted computer just in any case. Unfortunately there is no effect now even when running inkscape from console the same result. Also I forgot to mention when I was doing those links when I log off and log back in the symoblic link to gtkrc-2.0 gets replaced by original file. When I type export in the konsole this is the relevant output declare -x GTK2_RC_FILES="/etc/opt/gnome/gtk-2.0/gtkrc:/opt/gnome/share/themes//Qt/gtk-2.0/gtkrc:/home/deni/.gtkrc-2.0-qtengine:/home/deni/.kde/share/config/gtkrc-2.0" declare -x GTK_PATH="/usr/local/lib/gtk-2.0:/opt/gnome/lib/gtk-2.0:/usr/lib/gtk-2.0" declare -x GTK_RC_FILES="/etc/opt/gnome/gtk/gtkrc:/home/deni/.gtkrc:/home/deni/.kde/share/config/gtkrc" The file .bashrc does not mention anywhere gtk. So again I copied the .gtkrc-2.0 to /home/deni/.kde/share/config/gtkrc-2.0 then ran inkscape from konsole and from menu and the theme is changed. The theme in screenshot2 is clearlooks-quicksilver from clearlooks.sourceforge.net. I tried the other themes and they don't seem to have much effect. However as I mentioned before as soon as I log back in again it restores the original file that I replaced. Maybe I should wait and reinstall opensuse 10.1 when beta 8 comes out. Thanks
I have done a clean install of OpenSuse 10.1 beta 9 and still there is no effect on me changing the style. Changing the font in gtk styles and fonts does actually change the font in GTK applications. Thanks
Stephan, any idea?
Stephan, is this still a problem? Afaik we reused the kcontrol code
Tried with 10.2 (kcm_gtk) and inkscape follows Gtk+ style changes when both started from console and menu.