You are not logged in.

#1 2013-11-23 20:08:01

h4ld3n
Member
Registered: 2013-09-16
Posts: 14

gtk with openbox

Hello guys, I'm trying to see my openbox with a few themes, and I really didn't understood how I'm suppose to install a gtk.
http://rent0n86.deviantart.com/art/Arki … 0#comments
this is the theme and GTK i'm trying to install and I have no idea how to install the gtk, and franctly even what is it gtk.
I tried to read about it and didn't understood what it is since English isn't my main languge.. I'll be glad for some help smile

Thenx in advance..

P.S. if someone have any idea how to get the background from the theme in the site I'm trying to get the gtk from I'll be glad too smile thenx.

Offline

#2 2013-11-23 21:57:48

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: gtk with openbox

Alright, I'll try to give you a "simple" explanation. Everything you read here is not the actual truth because of that and because of my hopefully potential( smile ) ignorance. Note that there's a forum for other languages than English here.

Gtk+ is a library(code that programmers can easily include in their own projects) for software developers to give their software a graphical interface. Another example of such a graphical user interface(gui) library is Qt.
To keep it simple(and inaccurate sadly) it enables a programmer to add create an "application window" and add widgets like buttons, textboxes etc. to it. Even simpler, almost all things you see of a program when you're using a desktop environment like Gnome or Xfce(but not KDE) is made possible using Gtk+.

So the programmer defines what widgets are in the program using a Gtk+ library, and then a Gtk+ engine kicks in. When a program using Gtk+ is launched, a Gtk+ engine takes care of the actual drawing(not directly, there are more layers involved) of the widgets described by the program. What you are trying to achieve is to give your Gtk+ engine instructions on how you would like to have the widgets look(using a so-called theme). In a theme things like the color of widgets is defined, but also possibly shapes and more. Note that icons aren't defined by a Gtk+ theme, a Gtk+ theme solely defines how widgets themselves look(buttons have round corners, the background color is black and the foreground color is blue, when the mouse is over the button the foreground color is red, when the mouse is pressed the foreground color is... and the shape of the button is... etc.)

By default, Gtk+ themes can be placed in the ~.themes and the /usr/share/themes folders. It would be neat to create a PKGBUILD so you can have pacman handle the files, there already are plenty in the AUR. You can then set a certain theme active by changing your Gtk+ configuration. I can't put it simpler than the wiki.
https://wiki.archlinux.org/index.php/GTK%2B
Don't forget that you need the right Gtk+ engine installed to display the theme properly!

Offline

Board footer

Powered by FluxBB