It is currently Fri Sep 04, 2026 3:40 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 8:52 pm  (#1) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
At Willy's request, I am looking into the Gimp-Theme Switcher. I am not sure I know what it is. I am familiar with gtk-theme switcher. So, if anyone can shed any light on this, I will be grateful. Please provide links to source code if possible.

Thanks!
Partha


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 8:54 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
partha wrote:
At Willy's request, I am looking into the Gimp-Theme Switcher. I am not sure I know what it is. I am familiar with gtk-theme switcher. So, if anyone can shed any light on this, I will be grateful. Please provide links to source code if possible.

Thanks!
Partha


:tyspin
Just give me a hollar if you need any vista testing done :D

_________________
Image
I'm back I think


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 8:56 pm  (#3) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Willy wrote:
partha wrote:
At Willy's request, I am looking into the Gimp-Theme Switcher. I am not sure I know what it is. I am familiar with gtk-theme switcher. So, if anyone can shed any light on this, I will be grateful. Please provide links to source code if possible.

Thanks!
Partha


:tyspin
Just give me a hollar if you need any vista testing done :D

Thanks will do. :)

I still need to know what exactly it is.


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 8:57 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
Yep and thats why someone else need to do this, cause I don't really know that well, I just know it is a file you can change and it will change the theme on your GIMP

_________________
Image
I'm back I think


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 9:29 pm  (#5) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
partha wrote:
At Willy's request, I am looking into the Gimp-Theme Switcher. I am not sure I know what it is. I am familiar with gtk-theme switcher. So, if anyone can shed any light on this, I will be grateful. Please provide links to source code if possible.
Thanks!
Partha


It is the same thing...basically!

the executive is the same the gtk-theme switcher, what change are more GTK themes and engines

about the source code...the only code you need is that for the gtk-theme switcher,

BUT...have a look, for sure you have 7zip installed, but maybe you don't know that 7zip may also open most of the exe

For Open i mean open to explore the content, not run...just use 7zip as the exe was a zip (and basically it is,is a compressed archive only self extracting ) and you will see all what contain:

gtk themes
gtk engines
and the gtk_theme-switcher executive

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 9:34 pm  (#6) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
PhotoComix wrote:
partha wrote:
At Willy's request, I am looking into the Gimp-Theme Switcher. I am not sure I know what it is. I am familiar with gtk-theme switcher. So, if anyone can shed any light on this, I will be grateful. Please provide links to source code if possible.
Thanks!
Partha


It is the same thing...basically!

the executive is the same the gtk-theme switcher, what change are more GTK themes and engines

about the source code...the only code you need is that for the gtk-theme switcher,

BUT...have a look, for sure you have 7zip installed, but maybe you don't know that 7zip may also open most of the exe

For Open i mean open to explore the content, not run...just use 7zip as the exe was a zip (and basically it is,is a compressed archive only self extracting ) and you will see all what contain:

gtk themes
gtk engines
and the gtk_theme-switcher executive

Thanks PC! :)

Just to be absolutely sure, are we talking about this?
http://www.muhri.net/nav.php3?node=gts

Thanks,
Partha


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 9:54 pm  (#7) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
No , even if that looks similar

it is be based on this http://sourceforge.net/userapps/mediawi ... rence_Tool

i give another glance to the Gimp Theme pack, it contain a impressive quantity of dll, i believe they correspond to the gtk
engines

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 11:19 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
The only problem with the GTK themes is the new UI for Gimp-2.7.3
Every time i use my own theme switcher which is GTK runtimes engines and theme folders placed in correct places in the Gimp install directory, the UI messes with the dialogs...ie they vanish unless they are listed and then they only appear when moused over.I am pretty sure it's the new Gimp UI setup.
I did also notice the C:\Program Files\Gimp-2.7.3\themes folder isn't there in Gimp-2.7.3
I had to create one
Which of course meant the C:\Program Files\Gimp-2.7.3\lib\gtk-2.0\2.10.0\engines folder was also missing. (i had to create those too) - then update my own gtkrc file in - C:\Program Files\Gimp-2.7.3\etc\gimp\2.0

DLL engine files go in the engines folder and the themes folders go in the themes folder.
Hope that helps Partha.Wish i could help with src code but i do not know.
I am thinking once the Theme folder items themselves are re-written the themes will work with the new UI.
I am going to open one up and take a look soon.

If i were you that's where i would start - the themes folders pick one and open it up and take a look.They are mostly styles.The DLL engines that are compiled i think may be fine the way they are.

Example of theme folder gtkrc - C:\Program Files\Gimp-2.7.3\themes\Bluecurve-BerriesAndCream\gtk-2.0
include "/usr/share/themes/Bluecurve/gtk-2.0/gtkrc"

style "bluecurve-color-default"
{
  bg[NORMAL]      = "#edede4"
  bg[PRELIGHT]    = "#f5f5f1"
  bg[ACTIVE]      = "#d6d6c3"
  bg[SELECTED]    = "#5355a1"
  bg[INSENSITIVE] = "#e0e0da"

  base[SELECTED]  = "#5355a1"
  base[ACTIVE]    = "#a0bdee"

  text[SELECTED]  = "#ffffff"
  text[ACTIVE]    = "#ffffff"

  fg[NORMAL]      = "#000000"
  fg[ACTIVE]      = "#000000"
  fg[PRELIGHT]    = "#000000"
  fg[SELECTED]    = "#ffffff"
  fg[INSENSITIVE] = "#747354"
}

style "bluecurve-color-menu" = "bluecurve-color-default"
{
  bg[SELECTED]    = "#5355a1"
  text[PRELIGHT]  = "#ffffff"
  fg[PRELIGHT]  = "#ffffff"
}

style "bluecurve-color-frame-title" = "bluecurve-color-default"
{
   #fg[NORMAL] = "#404040"
}

style "metacity-frame"
{
  # Normal base color
  #bg[NORMAL]  = "#bbbbbb"

  # Unfocused title background color
  #bg[INSENSITIVE]  = { 0.8, 0.8, 0.8 }

  # Unfocused title text color
  #fg[INSENSITIVE]  = { 1.55, 1.55, 1.55 }

  # Focused icon color
  #fg[NORMAL]  = { 0.2, 0.2, 0.2 }

  # Focused title background color
  #bg[SELECTED]  = { 0.5, 0.8, 0.5 }

  # Focused title text color
  #fg[SELECTED]  = "black"
}

class "GtkWidget" style "bluecurve-color-default"
class "GtkButton" style "bluecurve-color-default"
class "GtkRange" style "bluecurve-color-default"
class "GtkMenu" style "bluecurve-color-default"
class "GtkFrame" style "bluecurve-color-default"
class "GtkStatusbar" style "bluecurve-color-default"
class "GtkEntry" style "bluecurve-color-default"
class "GtkMenuItem" style "bluecurve-color-menu"
widget_class "*.<GtkMenuItem>.*" style "bluecurve-color-menu"
class "MetaFrames" style "metacity-frame"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "bluecurve-default"


_________________
Image


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Fri May 13, 2011 11:23 pm  (#9) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
Aren't the widgets new in Gimp-2.7?

_________________
Image


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Sat May 14, 2011 5:24 am  (#10) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Rod wrote:
The only problem with the GTK themes is the new UI for Gimp-2.7.3
Every time i use my own theme switcher which is GTK runtimes engines and theme folders placed in correct places in the Gimp install directory, the UI messes with the dialogs...ie they vanish unless they are listed and then they only appear when moused over.I am pretty sure it's the new Gimp UI setup.
I did also notice the C:\Program Files\Gimp-2.7.3\themes folder isn't there in Gimp-2.7.3
...

Thanks for the informative post, Rod.
The theme folder in Gimp 2.7.3 is located in the share directory. So, if you have installed Gimp in Program Files, the theme folder is C:\Program Files\Gimp-2.7.3\share\gimp\2.0\themes

Partha


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Sat May 14, 2011 6:28 pm  (#11) 
Offline
GimpChat Member

Joined: Mar 14, 2011
Posts: 998
Hi All,

Having spent the last couple of days looking into themes, I see that it is a big problem or a small problem depending on how you look at it. One the one hand, if you simply copy the themes that you download from gnome-look or some such website, to your local themes directory (in Windows 7 it is C:\Users\Your-Username\.Gimp-2.7\themes), you should be able to change your themes. This will require you to have the requisite theme engine. For 32-bit Gimp, I think you can use the current theme-changer and you are fine. For the 64-bit Gimp, if there is interest, I am willing to provide the engines that I have compiled so far. The gtk-theme-changer itself, I don't know if it has any value. I am of course willing to provide the 64-bit executable if it is of any use to anyone. For the 32-bit, you should be able to either use the one that is available or the one provided by Rod.

I could be totally off base in my above statement. Please feel free to correct me if I have erred in my estimation.

Thanks,
Partha


Top
 Post subject: Re: Gimp-Theme Switcher
PostPosted: Sat May 14, 2011 6:55 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
I think the best idea is to wait for 2.8 to come out then base the theme installs on it's setup.
Then they should work for some time until the UI changes again anyways.

_________________
Image


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group