GTK Themes on windows.

Asked by Mr..Yeti1

How do you make Inkscape respect the selected GTK theme on windows?

I have copies of the themes in: CommonFiles/gtk/.../theme; Python/GTK/.../theme, and inkscape/...theme

but still no change.

Pidgin and Exaile and GTKPrefs all use the chosen theme, yet Inkscape and GIMP still use the ugly default WIMP theme.

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
Mr..Yeti1
Solved:
Last query:
Last reply:
Revision history for this message
Mr..Yeti1 (robin-groves) said :
#1

The gtkrc file distributed in C:\Program Files\Inkscape\etc\gtk-2.0 contains a theme section.

Commenting out all the lines about the theme solves this problem.
From :
#style "msw-default"
to the end.

Revision history for this message
Mr..Yeti1 (robin-groves) said :
#2

BTW.

Commenting out the same section from the gtkrc works in other programs aswell.

Mono, and i think gimp.

Revision history for this message
Wahooney (wahooney-wahooney) said :
#3

I tried following this and it still doesn't use my selected theme, I'm trying to use ClearLooks but it insists on Raleigh... Blegh!

How can I fix that?

Revision history for this message
Mr..Yeti1 (robin-groves) said :
#4

I just did a fresh install of Inkscape on Vista.
The problem is Inkscape's copy of GTK ( and GTK Themes) conflicting with the system's version.

I got around this problem by doing 2 steps:

1) copy all themes from C:\Program Files\Common Files\GTK\2.0\share\themes to C:\Program Files\Inkscape\share\themes
I used my small program https://code.launchpad.net/~robin-groves/+junk/GTKThemeCopier but I advise against using it because I haven't fully tested it and there are undocumented configuration changes to be made before first run.

2) Copy all engines from C:\Program Files\Common Files\GTK\2.0\lib\gtk-2.0\2.10.0\engines to C:\Program Files\Inkscape\lib\gtk-2.0\2.10.0\engines