LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-21-2014, 11:14 AM   #1
scarrs
LQ Newbie
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 16

Rep: Reputation: Disabled
Question 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
 
Old 03-21-2014, 11:51 AM   #2
JackHair
Member
 
Registered: Aug 2009
Location: Netherlands
Distribution: OpenSuse 13.1
Posts: 80

Rep: Reputation: 16
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
 
Old 07-03-2014, 12:08 PM   #3
scarrs
LQ Newbie
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Question 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 View Post
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
 
Old 07-03-2014, 04:39 PM   #4
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 130

Rep: Reputation: 33
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
 
Old 07-03-2014, 06:48 PM   #5
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 254

Rep: Reputation: 73
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/

Last edited by coralfang; 07-03-2014 at 06:57 PM.
 
Old 07-05-2014, 01:10 AM   #6
scarrs
LQ Newbie
 
Registered: Sep 2013
Location: Thunder Bay, Ontario
Distribution: Slackware 14.1 x86_64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Lightbulb Well I'll be darned...

I obviously need a bit more coffee...
The theme I created is called "Ambiance-Humanlooks" not "Ambiance-Human"

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

 
  


Reply

Tags
gtk+, themes


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Theming non-KDE apps dsplayer14 Slackware 8 03-21-2012 09:04 AM
Openbox WM Theming vikrang Linux - Newbie 1 03-01-2011 07:00 PM
GTK Theming Help xpromisex Linux - General 1 05-05-2006 10:33 AM
kde/theming etc true_atlantis Linux - Newbie 2 02-02-2004 11:31 AM
GTK Theming-Works in 2.0, not in 1.2 unworthy Linux - Software 0 09-24-2003 04:43 AM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration