View Full Version : converting gtk2 theme to gtk3
May 16th, 2012, 12:36 PM
I created mown gtk2 theme a couple years ago, I would like to convert it to gtk3. I am having difficulty with a couple of points:
My thine is designed to be vertically compact, I reduced the icon sizes to 16 pixels, reduced the puffing on the toolbars buttons and notebook. ''I have not been able to figure out where to make these changes in gtk3 themes.
I am using the equinox engine, in my theme, what would I use in it's places?
Is there a good tutorial on creating gtk3 themes? haven't been able to find one.
May 18th, 2012, 10:40 AM
I haven't seen any guide on creating a theme for Gtk3. As far as I can see its quite different to Gtk2 themes.
Years ago I was into making Gtk2 themes and I found the best way to learn was take a fairly normal (not heavily customised) theme and start to modify it.
As you go along you will learn some things and find ways to make it how you want it to be. :)
May 18th, 2012, 12:31 PM
If you know CSS (which is used very much in web designing) it should be easy for you. If you don't know any CSS it can still be easy because CSS is very easy to learn. (GTK+ doesn't always use standard CSS properties though.)
The best way to get started is to get a GTK2 + GTK3 widget factory program. (I use one called awf (https://github.com/valr/awf).) Then edit the Adwaita theme or any other theme you can get your hands on.
As for Op's questions:
The unico engine should be able to do some of the things Equinox can do. (Except animations.)
For a more compact look try changing all padding to 0.
Also take a look at some of the global settings specified in the first lines in the gtk-widgets.css file.
Changing -GtkButton-inner-border to 0 for example will make the buttons more compact.
June 23rd, 2012, 08:01 PM
I have written a small tutorial here http://funsurf-blog.blogspot.com/2012/06/when-you-make-gtk3-theme.html
July 6th, 2012, 03:13 PM
Interesting stuff here... I've been looking for something like this, so thanks to both of you. And I also hope this is enough information to get the OP started...
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.