Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Misc
Reload this Page A little gtk theme trouble
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Misc Any questions or Linux discussion that does not fit in any of the other technical areas.

Reply
 
Thread Tools Display Modes
Old 02-27-2007   #1 (permalink)
Linux User
 
Dark_Stang's Avatar
 
Join Date: Jun 2006
Location: Around St. Louis
Posts: 280
Send a message via MSN to Dark_Stang
A little gtk theme trouble

For the longest time I've been looking for the right theme. Finally, I've found what is nearly perfect. (for me) The only problem is that the transparency affects the information bar I have. Is anybody here familiar with themes and knows what I need to change?

Attached is a scaled screenshot so you can see what I'm talking about. At the end of this post is the contents of the gtkrc file.

Thanks for the help.

Code:
# Theme Name  : Office
# Author(s)   : Gianluca Sartori <gl.sartori@tiscali.it>
#
# Description :
# UserLinux GTK2 theme using the Smooth engine.

include "icons"
gtk-icon-sizes = "panel-menu=24,24:gtk-menu=16,16"

style "default" {
	GtkWidget::interior_focus = 5
	GtkButton::default_border = {0, 0, 0, 0}
	GtkButton::default_outside_border = {0, 0, 0, 0}

	GtkRange::trough_border = 0
	GtkWidget::focus_padding = 1

	GtkPaned::handle_size = 7
  
	GtkRange::slider_width = 15
	GtkRange::stepper_size = 15
	GtkScrollbar::min_slider_length = 30
	GtkCheckButton::indicator_size = 16
	GtkRadioButton::indicator_size = 12
	GtkMenuBar::internal-padding = 0

	GtkButton::child_displacement_x = 0
	GtkButton::child_displacement_y = 1

	GtkMenuItem::selected_shadow_type = GTK_SHADOW_OUT

	bg[NORMAL] = "#f7f7f7"
	bg[PRELIGHT] = "#f7f7f7"
	bg[SELECTED] = "#536f88"
	bg[ACTIVE] = "#e7e7e7"
	bg[INSENSITIVE] = "#e7e7e7"

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

	engine "smooth" {
		tab_style = square

		line {
			style = smooth
			thickness = 0
		}

		grip {
			#style = mac_buds_in
			style = none
			fill {
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 1.3
				shade2 = 0.9
			}
		}

		trough {
			fill {
				style = smooth
			}
		}

		arrow {
			style = cleanice
			solid = TRUE
		        etched = FALSE
		}

		check {
			style = clean
			motif = FALSE

			fill {
				style = shaded
				hdirection = fdiagonal
				vdirection = fdiagonal
				shade1 = 1.3
				shade2 = 0.9
			}
		}
	}

} widget_class "*" style "default"

style "tooltips" {
	bg[NORMAL] = "#ffff96"
	bg[PRELIGHT] = "#ffff96"
	bg[SELECTED] = "#ffff96"
	bg[ACTIVE] = "#ffff96"
	bg[INSENSITIVE] = "#ffff96"
}

style "handle" {
	#bg[NORMAL] = "#f7f7f7"

	engine "smooth" {
		line {
			style = smooth
			thickness = 0
		}

		grip {
			style = none
			fill {
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 1.0
				shade2 = 0.95
			}
		}
	}
}

style "menubar" {
	engine "smooth" {
		line {
			style = bevel
			thickness = 0
		}
	}
}

style "menu" {
	engine "smooth" {
		line {
			style = smooth
			thickness = 1
		}

		arrow {
			style = cleanice
			solid = TRUE
		}
	}
}

style "toolbar" {
	engine "smooth" {
		line {
			style = bevel
			thickness = 0
		}

		grip {
			#style = mac_buds_in
			style = none
			toolbar_overlap = TRUE
		}
	}
}

style "button" {
	fg[PRELIGHT] = "#ffffff"
	bg[PRELIGHT] = "#536f88"

	engine "smooth" {
		fill {
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.3
			shade2 = 0.9
		}

		line {
			style = smooth
			thickness = 1
		}

		check {
			style = clean
			motif = FALSE

			fill {
				style = shaded
				hdirection = fdiagonal
				vdirection = fdiagonal
				shade1 = 1.3
				shade2 = 0.9
			}
		}

		option {
			style = round
			motif = FALSE
			fill {
				style = shaded
				hdirection = fdiagonal
				vdirection = fdiagonal
				shade1 = 1.3
				shade2 = 0.9
			}
		}

		trough {
			fill {
				style = solid
			}
			
			line {
				style = none
			}
		}

		arrow {
			style = cleanice
			solid = TRUE
		}
	}
}

style "menu-item" {
	fg[PRELIGHT] = "#ffffff"
	bg[PRELIGHT] = "#536f88"

	engine "smooth" {
		fill {
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.3
			shade2 = 0.9
		}

		line {
			style = smooth
			thickness = 1
		}

		check {
			style = clean
			motif = FALSE
			fill {
				style = shaded
				hdirection = fdiagonal
				vdirection = fdiagonal
				shade1 = 1.3
				shade2 = 0.9
			}
		}

		option {
			style = clean
			motif = FALSE
			fill {
				style = shaded
				hdirection = fdiagonal
				vdirection = fdiagonal
				shade1 = 1.3
				shade2 = 0.9
			}
		}

		arrow {
			style = cleanice
			solid = TRUE
		}
	}
}

style "scrollbar" {
	bg[PRELIGHT] = "#536f88"

	GtkRange::trough_border = 0
	GtkRange::slider_width = 15
	GtkRange::stepper_size = 15
	GtkRange::stepper_spacing = 0

	engine "smooth" {
		fill {
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.3
			shade2 = 0.9
		}

		line {
			style = smooth
			thickness = 1
		}

		trough {
			fill {
				style = solid
			}
			line {
				style = none
				thickness = 0
			}
		}

		grip {
			#style = mac_buds_in
			style = none
			#line {
			#	style = smooth
			#	thickness = 1
			#}
		}

		arrow {
			style = cleanice
			solid = TRUE
			xpadding = 1
			ypadding = 1
		}
	}
}

style "hscales"  {
	bg[PRELIGHT] = "#536f88"

	GtkRange::trough_border = 0
	GtkRange::slider-width = 15
	GtkScale::slider-length = 10

	engine "smooth" {	
		line {
			style = smooth
			thickness = 1
		}

		fill {
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.3
			shade2 = 0.9
		}

		trough {
			xpadding = 2
			ypadding = 1
			show_value = TRUE
			fill {
				style = solid
			}
		}

		grip {
			#style = mac_buds_in
			style = none
		}

		real_sliders = FALSE
	}
}

style "vscales"  {
	bg[PRELIGHT] = "#536f88"

	GtkRange::trough_border	= 0
	GtkRange::slider-width	= 15
	GtkScale::slider-length	= 10

	engine "smooth" {
		line {
			style = smooth
			thickness = 1
		}

		fill {
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.3
			shade2 = 0.9
		}

		trough {
			xpadding = 1
			ypadding = 2
			show_value = TRUE
			fill {
				style = solid
			}
		}

		grip {
			#style = mac_buds_in
			style = none
		}

		real_sliders = FALSE
	}
}

style "infobar" {
	bg[PRELIGHT] = "#536f88"

	xthickness = 0
	ythickness = 0

	engine "smooth" {
		line {
			style = smooth
			thickness = 0
		}

		fill {
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.3
			shade2 = 0.9
		}

		trough {
			fill {
				style = solid
			}
		}
	}
}

class "*Progress*" style "infobar"
widget_class "*Progress*" style "infobar"
class "*BonoboDockItem" style "handle"
class "*HandleBox" style "handle"
class "*Toolbar" style "toolbar"

class "GtkMenuBar" style "menubar"
widget_class "GtkMenuBar" style "menubar"
class "GtkMenu" style "menu"
class "*MenuItem*" style "menu-item"
widget_class "*MenuItem*" style "menu-item"
class "GtkStatusbar" style "menubar"

class "*Button*" style "button"
widget_class "*Button*" style "button"
class "*OptionMenu*" style "button"
widget_class "*OptionMenu*" style "button"
class "*Button*" style "button"
widget_class "*Button*" style "button"
class "*OptionMenu*" style "button"
widget_class "*OptionMenu*" style "button"
class "*RadioButton*" style "button"
widget_class "*RadioButton*" style "button"
class "*CheckButton*" style "button"
widget_class "*CheckButton*" style "button"

widget_class "*Scrollbar*" style "scrollbar"
class "*Scrollbar*" style "scrollbar"
widget_class "*HScale*" style "hscales"
class "*HScale*" style "hscales"
widget_class "*VScale*" style "vscales"
class "*VScale*" style "vscales"

class "*Paned" style "scrollbar"
widget_class "*Paned" style "scrollbar"

class "GtkTooltips" style "tooltips"
Attached Images
File Type: jpg themewoes.jpg (34.9 KB, 6 views)
__________________
Two levels higher than a newb.
(I can search google)
Dark_Stang is offline   Reply With Quote
Old 02-28-2007   #2 (permalink)
Linux User
 
Dark_Stang's Avatar
 
Join Date: Jun 2006
Location: Around St. Louis
Posts: 280
Send a message via MSN to Dark_Stang
Nobody here makes their own themes?
__________________
Two levels higher than a newb.
(I can search google)
Dark_Stang is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 03:43 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0