LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   GTK2 and other Theming (http://www.linuxquestions.org/questions/slackware-14/gtk2-and-other-theming-4175498989/)

scarrs 03-21-2014 12:14 PM

GTK2 and other Theming
 
hello all...

I am hosting a theme on gnome-look.org for use on Slackware 14.1
link: http://gnome-look.org/content/show.p...content=162698

the theme is just about complete... however I am noticing that the menus and the fonts in some apps such as dconf-editor and cairo-dock are not consistent with the rest of the theme. link: http://epsvcs.net/public/images/MATE...nu-problem.png The rest of the theme's menu's sport a black charcoal-y background and the fonts are light grey.

I would like the menus and fonts and menubars consistent with the rest of my theme. This is a popular theme for users on gnome-look and would like some help on this one please.

I will continue to hack my gtkrc file and await your replies.

thanks, scarrs

JackHair 03-21-2014 12:51 PM

I used kde-gtk-config to generate my .gtkrc-2.0 and everything including cairo-dock looks the same for me. I run Compiz standalone, but I don't think that makes a difference.

Code:

# File created by KDE Gtk Config
# Configs for GTK2 programs

include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
style "user-font"
{
        font_name="Segoe UI Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Segoe UI Regular 11"
gtk-theme-name="oxygen-gtk"
gtk-icon-theme-name="oxygen"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1


scarrs 07-03-2014 01:08 PM

it worked before... but now?
 
here is the contents of my current file:

gtk-theme-name="Ambiance-Human"
gtk-icon-theme-name="gnome-human"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1

I believe this should work however the gtk theming does not work any ideas?


Quote:

Originally Posted by JackHair (Post 5138769)
I used kde-gtk-config to generate my .gtkrc-2.0 and everything including cairo-dock looks the same for me. I run Compiz standalone, but I don't think that makes a difference.

Code:

# File created by KDE Gtk Config
# Configs for GTK2 programs

include "/usr/share/themes/oxygen-gtk/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
style "user-font"
{
        font_name="Segoe UI Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Segoe UI Regular 11"
gtk-theme-name="oxygen-gtk"
gtk-icon-theme-name="oxygen"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1



Nh3xus 07-03-2014 05:39 PM

Hi,

For me with Xfce, this article was a helpful resource on my "Qt and GTK uniform look" quest :

https://wiki.archlinux.org/index.php...K_Applications

Hope this helps :)

coralfang 07-03-2014 07:48 PM

Have you checked if it's programs that use the GTK3 toolkit are the ones not showing the theme correctly?
I don't know about cairodock, but dconf-editor uses GTK3.

There will need to be a gtk-3.0 folder in the theme directory, eg:
~/.themes/$themename/gtk-2.0/
~/.themes/$themename/gtk-3.0/

scarrs 07-05-2014 02:10 AM

Well I'll be darned...
 
I obviously need a bit more coffee...
The theme I created is called "Ambiance-Humanlooks" not "Ambiance-Human" :redface:

editing my file with the correct gtk theme name fixes my problem, doh.

thanks guys, and hey check out my theme for slackware and ubuntu by doing a google search for "Ambiance pack for Slackware and Ubuntu"

it's coming along nicely. if you use slackware and like the Ambiance theme Ubuntu sports, it's a must have. I put alot of work into it.

cheers

:twocents:


All times are GMT -5. The time now is 08:54 AM.