GTK Theme Menu Border or Alternative
I've been looking and looking and everything dead-ends with regards to this topic. Does anyone know of a way to put borders on the menu items for gtk themes?
I'm currently using Openbox as my WM and utilizing LXApperance and Openbox Themes for GUI.
Trouble I'm having is there is no way to put a border around the menus in the gtk theme. So all the menus that rely on that theme are showing up white with no border making them terribly difficult to use.
Does anyone have a work around for this or at least a way I can make these menus black with white text?
Any help is greatly appreciated :)
lessthanjake wrote:
FF is broken.
Imo not wort it customizing you theme for broken applications. It's like webpages and IE, if it is readable you should be happy
EDIT:
The theme looks promissing!! Seems like FF messes up "hover"-padding in the drop-down menu as well.
One could expect the mozilla group to fix things like that, I tested my theme on FF2 and the address bar acts the same.. but what do I know, and haven't even filed a bug report to them so I'll just keep my mouth shut. Oh well, just have to get used to it until they fix it I gues
Thanks for the comment, and yes, the padding seems to be out of balance as well. Didn't see it until now.
Similar Messages
-
Gtk Theme - Lack of Sepators makes it unuseable
hi!
i installed this really nice gtk-theme 'Elegant Brit' (http://www.gnome-look.org/content/show. … tent=74553) yesterday. it looks great, but has a big problem (in my eyes): there are no separators in the menu and in some applications. and this makes it unuseable for me. does anybody know how to fix this?
this is the gtkrc file:
# Elegant Brit by fmrbpensador (AKA What is in a name?)
# Mod of Elegant one, by Dzakusek, and Black and White, by Lyrae
# Inspired by the colors of GlossyFall, by Crimesaucer
include "panel.rc"
#include "menubar.rc"
include "menubar-black.rc"
gtk-icon-sizes = "panel-menu=24,24:panel=16,16:gtk-button=16,16:gtk-large-toolbar=24,24"
gtk-button-images = 1
gtk-menu-images = 1
gtk-panel-images = 0
style "default"
GtkWidget::interior_focus = 7
GtkWidget::focus_padding = 0
GtkButton::default_border = { 0, 0, 0, 0 }
GtkButton::default_outside_border = { 0, 0, 0, 0 }
GtkRange::trough_border = 0
GtkRange::slider_width = 15
GtkRange::stepper_size = 15
GtkVScale::slider_length = 11
GtkVScale::slider_width = 21
GtkHScale::slider_length = 11
GtkHScale::slider_width = 21
GtkPaned::handle_size = 6
GtkScrollbar::min_slider_length = 50
GtkCheckButton::indicator_size = 12
GtkCheckButton::indicator_spacing = 3
GtkMenuBar::internal_padding = 1
GtkOptionMenu::indicator_size = { 15, 8 }
GtkOptionMenu::indicator_spacing = { 8, 2, 0, 0 }
GtkStatusbar::shadow_type = GTK_SHADOW_NONE
GtkSpinButton::shadow_type = GTK_SHADOW_NONE
xthickness = 2
ythickness = 2
fg[NORMAL] = "#262729" # Metacity and mouseover, Most text
fg[ACTIVE] = "#262729"
fg[PRELIGHT] = "#FFFFFF"
fg[SELECTED] = "#FFFFFF"
fg[INSENSITIVE] = "#808080776c58"
bg[NORMAL] = "#FAFAFA" # Normal Background
bg[ACTIVE] = "#FAFAFA" # Mouseclicking, Tabs, active window list
bg[PRELIGHT] = "#FAFAFA" # Expand prelight bg
bg[SELECTED] = "#262729"
bg[INSENSITIVE] = "#FAFAFA"
base[NORMAL] = "#FAFAFA" # Background, most
base[ACTIVE] = "#e04613" # Menu active item in inactive window
base[PRELIGHT] = "#FAFAFA"
base[INSENSITIVE] = "#FAFAFA" # Inactive Entry bg
base[SELECTED] = "#e04613" # Menu active item in active window
text[NORMAL] = "#262729" # Text in window, arrows
text[INSENSITIVE] = "#262729" # Insensitive arrows
text[SELECTED] = "#FFFFFF" # Active text in active window
text[ACTIVE] = "#FFFFFF" # Active text in inactive window
text[PRELIGHT] = "#FFFFFF" # Text on Mouseover
engine "pixmap"
image
function = HANDLE
recolorable = TRUE
overlay_file = "Panel/handle-v.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
image
function = HANDLE
recolorable = TRUE
overlay_file = "Panel/handle-h.png"
overlay_stretch = FALSE
orientation = VERTICAL
####################### SHADOWS ############################x
image
function = SHADOW
shadow = IN
recolorable = FALSE
file = "Shadows/shadow-in.png"
border = { 3, 3, 2, 2 }
stretch = TRUE
image
function = SHADOW
shadow = OUT
recolorable = TRUE
file = "Shadows/shadow-out.png"
stretch = TRUE
image
function = SHADOW
shadow = ETCHED_IN
recolorable = TRUE
file = "Frame-Gap/frame1.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
image
function = SHADOW
shadow = ETCHED_OUT
recolorable = TRUE
file = "Shadows/shadow-none.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
image
function = SHADOW_GAP
recolorable = TRUE
file = "Frame-Gap/frame1.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
gap_start_file = "Frame-Gap/frame-gap-start.png"
gap_start_border = { 2, 0, 2, 0 }
gap_end_file = "Frame-Gap/frame-gap-end.png"
gap_end_border = { 0, 2, 2, 0 }
gap_side = TOP
image
function = VLINE
recolorable = TRUE
file = "Lines/line-v.png"
border = { 1, 1, 0, 0 }
stretch = TRUE
image
function = HLINE
recolorable = TRUE
file = "Lines/line-h.png"
border = { 0, 0, 1, 1 }
stretch = TRUE
# focus
image
function = FOCUS
recolorable = TRUE
file = "Others/focus.png"
border = { 6, 0, 6, 0 }
stretch = TRUE
# arrows
image
function = ARROW
recolorable = TRUE
overlay_file = "Arrows/arrow-up.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = UP
image
function = ARROW
state = NORMAL
recolorable = TRUE
overlay_file = "Arrows/arrow-down.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = DOWN
image
function = ARROW
state = PRELIGHT
recolorable = TRUE
overlay_file = "Arrows/arrow-down-prelight.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = DOWN
image
function = ARROW
state = ACTIVE
recolorable = TRUE
overlay_file = "Arrows/arrow-down-pressed.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = DOWN
image
function = ARROW
state = INSENSITIVE
recolorable = TRUE
overlay_file = "Arrows/arrow-down-insens.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = DOWN
image
function = ARROW
recolorable = TRUE
overlay_file = "Arrows/arrow-left.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = LEFT
image
function = ARROW
recolorable = TRUE
overlay_file = "Arrows/arrow-right.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
arrow_direction = RIGHT
image
function = BOX
recolorable = TRUE
file = "Others/null.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
class "GtkWidget" style "default"
style "inactivetext"
engine "mist"
widget_class "*.<GtkLabel>" style "inactivetext"
widget_class "*.<GtkCellLayout>" style "inactivetext"
#widget_class "*.<Combo>" style "inactivetext"
style "inactivetext2"
fg[NORMAL] = "#16778f"
fg[PRELIGHT] = "#6c9eab"
text[PRELIGHT] = "#6c9eab"
engine "mist"
widget_class "*.<GtkMenuItem>.*" style "inactivetext2"
#################### BUTTONS #######################
style "button" = "default"
engine "pixmap"
image
function = BOX
detail = "buttondefault"
recolorable = TRUE
file = "Buttons/button-default.png"
border = {4, 4, 4, 4}
stretch = TRUE
image
function = BOX
state = PRELIGHT
recolorable = TRUE
file = "Buttons/button-prelight.png"
border = { 4, 4, 4, 4 }
stretch = TRUE
image
function = BOX
state = ACTIVE
file = "Buttons/button-pressed.png"
border = { 4, 4, 4, 4 }
stretch = TRUE
image
function = BOX
state = INSENSITIVE
file = "Buttons/button-insensitive.png"
border = { 4, 4, 4, 4 }
stretch = TRUE
image
function = BOX
file = "Buttons/button-normal.png"
border = { 4, 4, 4, 4 }
stretch = TRUE
style "checkradiobutton" {
engine "pixmap" {
image
function = FLAT_BOX
recolorable = TRUE
file = "Check-Radio/highlight.png"
border = { 2, 5, 2, 5 }
stretch = TRUE
class "GtkRadioButton" style "checkradiobutton"
class "GtkCheckButton" style "checkradiobutton"
style "optionmenu" = "default"
engine "pixmap"
image
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "Combo/combo-prelight.png"
border = { 5, 5, 5, 5}
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = NORMAL
file = "Combo/combo-normal.png"
border = { 5, 5, 5, 5}
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = ACTIVE
file = "Combo/combo-pressed.png"
border = { 5, 5, 5, 5}
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = INSENSITIVE
file = "Combo/combo-inactive.png"
border = { 5, 5, 5, 5}
stretch = TRUE
image
function = TAB
state = INSENSITIVE
recolorable = TRUE
overlay_file = "Combo/combo-arrow-insens.png"
overlay_stretch = FALSE
image
function = TAB
recolorable = TRUE
state = NORMAL
overlay_file = "Combo/combo-arrow.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
image
function = TAB
recolorable = TRUE
state = PRELIGHT
overlay_file = "Combo/combo-arrow-prelight.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
widget_class "*Combo*" style "optionmenu"
style "radiobutton" = "default"
engine "pixmap"
image
function = OPTION
recolorable = TRUE
state = NORMAL
shadow = OUT
overlay_file = "Check-Radio/option1.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = PRELIGHT
shadow = OUT
overlay_file = "Check-Radio/option3.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = ACTIVE
shadow = OUT
overlay_file = "Check-Radio/option3.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = INSENSITIVE
shadow = OUT
overlay_file = "Check-Radio/option1.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = NORMAL
shadow = IN
overlay_file = "Check-Radio/option2.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = PRELIGHT
shadow = IN
overlay_file = "Check-Radio/option4.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = ACTIVE
shadow = IN
overlay_file = "Check-Radio/option4.png"
overlay_stretch = FALSE
image
function = OPTION
recolorable = TRUE
state = INSENSITIVE
shadow = IN
overlay_file = "Check-Radio/option1.png"
overlay_stretch = FALSE
image
function = FLAT_BOX
recolorable = TRUE
stretch = TRUE
file = "Check-Radio/checklight.png"
border = { 2, 2, 2, 2 }
style "checkbutton" = "default"
engine "pixmap"
image
function = CHECK
recolorable = TRUE
state = NORMAL
shadow = OUT
overlay_file = "Check-Radio/check1.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = PRELIGHT
shadow = OUT
overlay_file = "Check-Radio/check3.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = ACTIVE
shadow = OUT
overlay_file = "Check-Radio/check3.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = INSENSITIVE
shadow = OUT
overlay_file = "Check-Radio/check1.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = NORMAL
shadow = IN
overlay_file = "Check-Radio/check2.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = PRELIGHT
shadow = IN
overlay_file = "Check-Radio/check4.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = ACTIVE
shadow = IN
overlay_file = "Check-Radio/check4.png"
overlay_stretch = FALSE
image
function = CHECK
recolorable = TRUE
state = INSENSITIVE
shadow = IN
overlay_file = "Check-Radio/check1.png"
overlay_stretch = FALSE
image
function = FLAT_BOX
recolorable = TRUE
stretch = TRUE
file = "Check-Radio/checklight.png"
border = { 2, 2, 2, 2 }
####################### ENTRY #####################xx
style "entry" = "default"
xthickness = 3
ythickness = 2
GtkWidget::interior_focus = 0
engine "pixmap"
image
function = FOCUS
recolorable = TRUE
file = "Shadows/entry-shadow-in.png"
border = { 3,3,3,3 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
shadow = IN
state = NORMAL
file = "Shadows/entry-shadow-in.png"
border = { 3,3,3,3 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
shadow = OUT
state = NORMAL
file = "Shadows/text-entry.png"
border = { 3,3,3,3 }
stretch = TRUE
image
function = SHADOW
detail = "entry"
shadow = IN
recolorable = FALSE
file = "Shadows/text-entry.png"
border = { 3,3,3,3 }
stretch = TRUE
################x SPINBUTTONS ################
style "spinbutton" = "default"
xthickness = 3
ythickness = 1
GtkWidget::interior_focus = 0
engine "pixmap"
image
function = ARROW
############################# UP ######################xx
image
function = BOX
state = NORMAL
detail = "spinbutton_up"
recolorable = TRUE
file = "Spin/spin-up-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-up.png"
overlay_stretch = FALSE
image
function = BOX
state = PRELIGHT
detail = "spinbutton_up"
recolorable = TRUE
file = "Spin/spin-up-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-up-prelight.png"
overlay_stretch = FALSE
image
function = BOX
state = INSENSITIVE
detail = "spinbutton_up"
recolorable = TRUE
file = "Spin/spin-up-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-up-disable.png"
overlay_stretch = FALSE
image
function = BOX
state = ACTIVE
detail = "spinbutton_up"
recolorable = TRUE
file = "Spin/spin-up-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
########################x DOWN ########################
image
function = BOX
state = NORMAL
detail = "spinbutton_down"
recolorable = TRUE
file = "Spin/spin-down-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-down.png"
overlay_stretch = FALSE
image
function = BOX
state = PRELIGHT
detail = "spinbutton_down"
recolorable = TRUE
file = "Spin/spin-down-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-down-prelight.png"
overlay_stretch = FALSE
image
function = BOX
state = INSENSITIVE
detail = "spinbutton_down"
recolorable = TRUE
file = "Spin/spin-down-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-down-disable.png"
overlay_stretch = FALSE
image
function = BOX
state = ACTIVE
detail = "spinbutton_down"
recolorable = TRUE
file = "Spin/spin-down-bg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
overlay_file = "Spin/arrow-down-prelight.png"
overlay_stretch = FALSE
########################## SPIN ENTRY ###########################
image
function = FOCUS
recolorable = TRUE
file = "Spin/text-entry-focus.png"
border = { 3,3,3,3 }
stretch = TRUE
image
function = SHADOW
detail = "entry"
shadow = IN
recolorable = FALSE
file = "Spin/text-entry.png"
border = { 3,3,3,3 }
stretch = TRUE
############################# SCROLLBAR ####################
style "scrollbar" = "default"
engine "pixmap"
image
function = BOX
recolorable = TRUE
detail = "trough"
file = "Scrollbars/trough-scrollbar-horiz.png"
border = { 19, 19, 2, 2 }
stretch = TRUE
orientation = HORIZONTAL
image
function = BOX
recolorable = TRUE
detail = "trough"
file = "Scrollbars/trough-scrollbar-vert.png"
border = { 2, 2, 19, 19 }
stretch = TRUE
orientation = VERTICAL
###########x SLIDERS ##################x
image
function = SLIDER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/slider-horiz.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = HORIZONTAL
image
function = SLIDER
recolorable = TRUE
state = ACTIVE
shadow = IN
file = "Scrollbars/slider-horiz.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = HORIZONTAL
image
function = SLIDER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/slider-horiz-prelight.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = HORIZONTAL
image
function = SLIDER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/slider-horiz-insens.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = HORIZONTAL
#############x verticals################xx
image
function = SLIDER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/slider-vert.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = VERTICAL
image
function = SLIDER
recolorable = TRUE
state = ACTIVE
shadow = IN
file = "Scrollbars/slider-vert.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = VERTICAL
image
function = SLIDER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/slider-vert-prelight.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = VERTICAL
image
function = SLIDER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/slider-vert-insens.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = VERTICAL
###########x END SLIDERS ##################x
########### Steppers ######################
#### UP #######
image
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-up.png"
stretch = TRUE
arrow_direction = UP
image
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-up-prelight.png"
stretch = TRUE
arrow_direction = UP
image
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-up-prelight.png"
stretch = TRUE
arrow_direction = UP
image
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-up-insens.png"
stretch = TRUE
arrow_direction = UP
######### DOWN ############
image
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-down.png"
stretch = TRUE
arrow_direction = DOWN
image
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-down-prelight.png"
stretch = TRUE
arrow_direction = DOWN
image
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-down-prelight.png"
stretch = TRUE
arrow_direction = DOWN
image
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-down-insens.png"
stretch = TRUE
arrow_direction = DOWN
############ RIGHT ################
image
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-right.png"
stretch = TRUE
arrow_direction = RIGHT
image
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-right-prelight.png"
stretch = TRUE
arrow_direction = RIGHT
image
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-right-prelight.png"
stretch = TRUE
arrow_direction = RIGHT
image
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-right-insens.png"
stretch = TRUE
arrow_direction = RIGHT
############### LEFT ###################
image
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-left.png"
stretch = TRUE
arrow_direction = LEFT
image
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-left-prelight.png"
stretch = TRUE
arrow_direction = LEFT
image
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-left-prelight.png"
stretch = TRUE
arrow_direction = LEFT
image
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-left-insens.png"
stretch = TRUE
arrow_direction = LEFT
##################### PROGRESSBAR ###################x
style "progressbar" {
fg[PRELIGHT] = "#FAFAFA"
xthickness = 1
ythickness = 1
engine "pixmap"
image
function = BOX
detail = "trough"
file = "ProgressBar/trough-progressbar-horiz.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
image
function = BOX
detail = "bar"
file = "ProgressBar/progressbar-horiz.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = HORIZONTAL
image
function = BOX
detail = "bar"
file = "ProgressBar/progressbar-vert.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
orientation = VERTICAL
############################# RANGE #######################
style "range" = "default"
engine "pixmap"
image
function = BOX
recolorable = TRUE
detail = "trough"
file = "Range/trough-horizontal.png"
border = { 10, 10, 1, 19 }
stretch = TRUE
orientation = HORIZONTAL
image
function = BOX
recolorable = TRUE
detail = "trough"
file = "Range/trough-vertical.png"
border = { 0, 19, 10, 10 }
stretch = TRUE
orientation = VERTICAL
############### the sliders ###############
image
function = SLIDER
recolorable = TRUE
state = NORMAL
file = "Range/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
overlay_file = "Range/slider-horiz.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
image
function = SLIDER
recolorable = TRUE
state = PRELIGHT
file = "Range/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
overlay_file = "Range/slider-horiz-prelight.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
image
function = SLIDER
recolorable = TRUE
state = INSENSITIVE
file = "Range/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
overlay_file = "Range/slider-horiz.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
######################### VERTICAL ###########################
image
function = SLIDER
recolorable = TRUE
state = NORMAL
file = "Range/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
overlay_file = "Range/slider-vert.png"
overlay_stretch = FALSE
orientation = VERTICAL
image
function = SLIDER
recolorable = TRUE
state = PRELIGHT
file = "Range/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
overlay_file = "Range/slider-vert-prelight.png"
overlay_stretch = FALSE
orientation = VERTICAL
image
function = SLIDER
recolorable = TRUE
state = INSENSITIVE
file = "Range/null.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
overlay_file = "Range/slider-vert.png"
overlay_stretch = FALSE
orientation = VERTICAL
################### TOOLBAR ###########################
style "toolbar"
engine "pixmap"
image
function = BOX
file = "Others/null.png"
border = { 4, 4, 4, 4}
stretch = TRUE
widget_class "*BonoboDockItem" style "toolbar"
class "*BonoboDockItem" style "toolbar"
widget_class "*HandleBox" style "toolbar"
class "*HandleBox" style "toolbar"
widget_class "*Toolbar" style "toolbar"
class "*Toolbar" style "toolbar"
##################### TOOLBAR BUTTONS ###############################
style "toolbuttons" = "default"
xthickness = 1
ythickness = 1
GtkWidget::focus_padding = 2
engine "pixmap" {
image
function = BOX
recolorable = TRUE
state = NORMAL
file = "Toolbar/toolbutton-normal.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "Toolbar/toolbutton-prelight.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = ACTIVE
file = "Toolbar/toolbutton-pressed.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = INSENSITIVE
file = "Toolbar/toolbutton-normal.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
widget_class "*Tool*GtkToggleButton" style "toolbuttons"
widget_class "*Tool*GtkButton" style "toolbuttons"
################### PANEL GRAPHICS #################################
################### MENU #################################
style "menu" = "default"
xthickness = 2
ythickness = 1
engine "pixmap"
image
function = BOX
recolorable = TRUE
detail = "menu"
file = "Menu-Menubar/menu.png"
border = { 34, 3, 3, 3 }
stretch = TRUE
########################### Menuitem #############################
style "menuitem" = "default"
xthickness = 1
fg[PRELIGHT] = "#FFFFFF"
engine "pixmap"
image
function = BOX
recolorable = TRUE
file = "Menu-Menubar/menuitem.png"
border = { 10, 10, 10, 10 }
stretch = TRUE
image
function = ARROW
recolorable = TRUE
state = NORMAL
overlay_file = "Arrows/arrow-right-norm.png"
overlay_stretch = FALSE
arrow_direction = RIGHT
image
function = ARROW
recolorable = TRUE
state = PRELIGHT
overlay_file = "Arrows/arrow-right-prelight.png"
overlay_stretch = FALSE
arrow_direction = RIGHT
style "tearoffmenuitem" = "menuitem"
engine "pixmap"
image
function = ARROW
file = "Arrows/arrow-left.png"
stretch = TRUE
arrow_direction = LEFT
style "notebook" = "default"
xthickness = 2
ythickness = 2
engine "pixmap"
image
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-bottom.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = TOP
image
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-top.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = BOTTOM
image
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-left.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = RIGHT
image
function = EXTENSION
recolorable = TRUE
state = ACTIVE
file = "Tabs/tab-right.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = LEFT
image
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-top-active.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = BOTTOM
image
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-bottom-active.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = TOP
image
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-left-active.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = RIGHT
image
function = EXTENSION
recolorable = TRUE
file = "Tabs/tab-right-active.png"
border = { 4,4,4,4}
stretch = TRUE
gap_side = LEFT
# How to draw boxes with a gap on one side (ie the page of a notebook)
image
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-top.png"
gap_border = { 5, 5, 5, 5 }
gap_start_file = "Others/null.png"
gap_start_border = { 0, 0, 0, 0 }
gap_end_file = "Others/null.png"
gap_end_border = { 0, 0, 0, 0 }
gap_side = TOP
image
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-bottom.png"
gap_border = { 5, 5, 5, 5 }
gap_start_file = "Others/null.png"
gap_start_border = { 0, 0, 0, 0 }
gap_end_file = "Others/null.png"
gap_end_border = { 0, 0, 0, 0 }
gap_side = BOTTOM
image
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-left.png"
gap_border = { 5, 5, 5, 5 }
gap_start_file = "Others/null.png"
gap_start_border = { 0, 0, 0, 0 }
gap_end_file = "Others/null.png"
gap_end_border = { 0, 0, 0, 0 }
gap_side = LEFT
image
function = BOX_GAP
recolorable = TRUE
file = "Tabs/notebook.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
gap_file = "Tabs/gap-right.png"
gap_border = { 5, 5, 5, 5 }
gap_start_file = "Others/null.png"
gap_start_border = { 0, 0, 0, 0 }
gap_end_file = "Others/null.png"
gap_end_border = { 0, 0, 0, 0 }
gap_side = RIGHT
# How to draw the box of a notebook when it isnt attached to a tab
image
function = BOX
recolorable = TRUE
file = "Tabs/notebook.png"
border = { 6,6,6,6 }
stretch = TRUE
style "tooltips" = "default"
bg[NORMAL] = "#FAFAFA"
##################### RULER ##################
style "ruler" = "default"
engine "pixmap"
image
function = BOX
recolorable = TRUE
detail = "vruler"
file = "Others/ruler.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
detail = "hruler"
file = "Others/ruler.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
################# HANDLES ###################x
style "handlebox" = "default"
engine "pixmap"
image
function = HANDLE
recolorable = TRUE
overlay_file = "Others/null.png"
# overlay_file = "Handles/handle-v.png"
overlay_stretch = FALSE
orientation = VERTICAL
image
function = HANDLE
overlay_file = "Others/null.png"
# overlay_file = "Handles/handle-h.png"
overlay_stretch = FALSE
orientation = HORIZONTAL
style "flat" = "default"
engine "pixmap"
image
function = SHADOW
style "layout" = "default"
engine "pixmap"
image
function = SHADOW
detail = "entry"
shadow = IN
recolorable = FALSE
file = "Shadows/text.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
image
function = BOX
detail = "button"
state = NORMAL
file = "Buttons/button-normal.png"
recolorable = TRUE
border = { 2, 3, 2, 3 }
stretch = TRUE
##################### STATUSBAR ###############################
style "statusbar" = "default"
# xthickness = 1
# ythickness = 1
engine "pixmap"
image
function = RESIZE_GRIP
recolorable = TRUE
#state = NORMAL
detail = "statusbar"
overlay_file = "Handles/resize-grip.png"
overlay_border = {0,0,0,0 }
overlay_stretch = FALSE
##################### LISTHEADERS ###################x
style "list-header"
#Comment out the ythickness setting below for thicker column headers.
#ythickness = 0
GtkTreeView::odd_row_color = "#F0F0F0"
GtkTreeView::even_row_color = "#FAFAFA"
# fg[NORMAL] = "#FAFAFA"
# text[NORMAL] = "#FAFAFA"
engine "pixmap"
#This image is used to draw the headers of columns in list views when they are
#not selected.
image
function = BOX
recolorable = TRUE
state = NORMAL
file = "ListHeaders/list_header.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
#This image is used to draw the column headers in list views when they are
#clicked.
image
function = BOX
recolorable = TRUE
state = PRELIGHT
file = "ListHeaders/list_header-prelight.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
#Does this do anything?
image
function = BOX
recolorable = TRUE
state = ACTIVE
file = "ListHeaders/list_header-pressed.png"
border = { 2, 2, 2, 2}
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = SELECTED
file = "ListHeaders/list_header-prelight.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
image
function = BOX
recolorable = TRUE
state = INSENSITIVE
file = "ListHeaders/list_header-insens.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
widget_class "*List" style "list-header"
widget_class "*GtkTree*" style "list-header"
widget_class "*GtkCList*" style "list-header"
#widget_class "*Tree*" style "list-header"
# This prevents Sodipodi from crashing while opening the
# Object-Style dialog.
style "unstyle"
engine ""
# recognizable pressed toggle buttons
# SPIcons seem to erase the background first. That's why I can't use
# the button style.
style "SPbutton"
engine "pixmap"
image
function = BOX
shadow = IN
recolorable = TRUE
file = "Shadows/shadow-out.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
image
function = BOX
style "theme-etree" = "list-header"
bg[ACTIVE] = "#47494d"
# widget styles
class "GtkButton" style "button"
class "GtkRadioButton" style "radiobutton"
class "GtkRadioMenuItem" style "radiobutton"
class "GtkCheckButton" style "checkbutton"
class "GtkCheckMenuItem" style "checkbutton"
class "GtkOptionMenu" style "optionmenu"
class "GtkCombo*" style "optionmenu"
class "*Font*" style "optionmenu"
class "GtkEntry" style "entry"
class "GtkOldEditable" style "entry"
class "GtkSpinButton" style "spinbutton"
class "GtkRuler" style "ruler"
class "GtkScrollbar" style "scrollbar"
class "GtkStatusbar" style "statusbar"
class "GtkProgressBar" style "progressbar"
class "GtkRange" style "range"
class "GtkMenu" style "menu"
class "GtkMenuBar*" style "menubar"
widget_class "*MenuBar.*" style "menubar"
widget_class "*.<MenuItem>." style "menuitem"
class "GtkMenuItem" style "menuitem"
class "GtkTearoffMenuItem" style "menuitem"
class "GtkNotebook" style "notebook"
class "GtkToolbar" style "flat"
class "GtkHandleBox" style "handlebox"
class "GtkEventBox" style "flat"
class "GtkPaned" style "handlebox"
class "GtkLayout" style "layout"
class "SPButton" style "SPbutton"
widget "gtk-tooltips" style "tooltips"
# prevent Sodipodi from crashing
class "SPColorSlider" style "unstyle"
# Evolution fix
widget_class "*.ETree*" style "theme-etree"
thank you!There is a page on the Wiki specifically to address this issue: https://wiki.archlinux.org/index.php/Un … plications
Please search before posting. -
GTK theme, FF buttons problem
Hello,
I recently moved to Macchiato gtk theme, which is very nice. Sadly it has a problem with Firefox/Thunderbird buttons that I'm unable to fix. Explained by images:
no mouse over button:
(if you look closer, you'll see that text is barely visible, but bg/fg colors are almost same)
mouse over button:
I tried playing with gtkrc, no luck. I'm using gtk-engine-murrine svn as of Feb 26.
Help please.
gtkrc for convenience
# Macchiato
# by Jesse L. Kay
# Last revision: 29 December 2008
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#323232\nbg_color:#D3CAAA\nbase_color:#DED4B3\ntext_color:#323232\nselected_bg_color:#9C9478\nselected_fg_color:#fff\ntooltip_bg_color:#ebeab8\ntooltip_fg_color:#323232"
style "murrine-default"
# Style Properties
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
GtkButton ::default-border = { 0, 0, 0, 0 }
GtkCheckButton ::indicator-size = 14
GtkPaned ::handle-size = 6
GtkRange ::trough-border = 1
GtkRange ::slider-width = 8
GtkRange ::stepper-size = 13
GtkScale ::slider-length = 14
GtkScale ::slider-width = 8
GtkScale ::stepper-size = 13
GtkScale ::trough-side-details = 0
GtkScrollbar ::min-slider-length = 30
GtkMenuBar ::internal-padding = 0
GtkExpander ::expander-size = 16
GtkToolbar ::internal-padding = 1
GtkTreeView ::expander-size = 12
GtkTreeView ::vertical-separator = 0
GtkOptionMenu ::indicator-size = 0
GtkMenu ::horizontal-padding = 0
GtkMenu ::vertical-padding = 0
GtkScrolledWindow::scrollbar-spacing = 3
GtkNotebook::tab-curvature = 3
GtkNotebook::tab-overlap = 4
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
#WnckTasklist ::fade-loop-time = 5.0
#WnckTasklist ::fade-opacity = 0.7
xthickness = 1
ythickness = 1
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
fg[ACTIVE] = shade (0.60, @fg_color) #pidgin tabs, unselected tabs
bg[NORMAL] = @bg_color
bg[ACTIVE] = shade (0.60, @bg_color)
bg[PRELIGHT] = shade (0.6, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = shade (1.03,@bg_color)
base[NORMAL] = @base_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = @bg_color
base[ACTIVE] = @selected_bg_color
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = @text_color
text[ACTIVE] = @text_color
# window background
bg_pixmap[NORMAL] = "window-bg.png"
engine "murrine"
animation = TRUE # FALSE = disabled, TRUE = enabled
colorize_scrollbar = TRUE # FALSE = disabled, TRUE = enabled
contrast = 0.8 # 0.8 for less contrast, more than 1.0 for more contrast on borders
glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
gradient_shades = {1.09,1.01,1.01,0.9} # default: {1.1,1.0,1.0,1.1}
gradients = TRUE # FALSE = disabled, TRUE = enabled
highlight_ratio = 1.0 # set highlight amount for buttons or widgets
lightborder_ratio = 1.3 # sets lightborder amount for buttons or widgets
lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides
listviewheaderstyle = 2 # 0 = flat, 1 = glassy, 2 = raised
listviewstyle = 1 # 0 = nothing, 1 = dotted
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menuitemstyle =0 # 0 = flat, 1 = glassy, 2 = striped
menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow
rgba = TRUE # FALSE = disabled, TRUE = enabled
roundness = 0 # 0 = squared, 1 = old default, more will increase roundness
scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
sliderstyle = 0 # 0 = nothing added, 1 = handles
stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
# style = MURRINE # engine style options: CANDIDO, CLEARLOOKS, MIST, MURRINE, NODOKA
toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
style "murrine-wide"
xthickness = 2
ythickness = 2
style "murrine-wider"
xthickness = 3
ythickness = 3
style "murrine-dark"
bg[NORMAL] = shade(0.2,@bg_color)
bg[SELECTED] = shade(0.9,@selected_bg_color)
bg[PRELIGHT] = shade (0.5, @selected_bg_color)
bg[ACTIVE] = mix (0.5, @selected_bg_color, shade(0.2,@bg_color))
bg[INSENSITIVE] = shade(0.2,@bg_color)
fg[NORMAL] = mix (0.9, '#ffffef', @fg_color)
fg[PRELIGHT] = mix (0.8, '#ffffef', @fg_color)
fg[SELECTED] = mix (0.8, '#ffffef', @fg_color)
fg[ACTIVE] = mix (0.8, '#ffffef', @fg_color)
fg[INSENSITIVE] = mix (0.9, '#ffffef', @fg_color)
style "murrine-button"
xthickness = 3
ythickness = 3
text[NORMAL] = "#000000"
text[PRELIGHT] = shade (0.20, @bg_color)
text[ACTIVE] = "#000000"
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.20, @bg_color)
bg[ACTIVE] = @bg_color
fg[NORMAL] = @bg_color
style "murrine-toolbar" = "murrine-dark"
bg[SELECTED] = "#363330"
bg[NORMAL] = "#363330"
bg[PRELIGHT] = "#363330"
bg[ACTIVE] = "#363330"
engine "murrine"{
gradient_shades = {1.0,0.9,0.9,0.75}
profile = MURRINE
style "murrine-notebook-bg" = "murrine-default"
bg[NORMAL] = shade (1.05, @bg_color)
bg[ACTIVE] = shade (0.95, @bg_color)
xthickness = 2
style "murrine-notebook" = "murrine-notebook-bg"
xthickness = 2
style "murrine-tasklist"
xthickness = 3
ythickness = 3
style "murrine-panel" = "murrine-dark" {
xthickness = 3
ythickness = 3
bg[NORMAL] = "#4D453F"
bg[PRELIGHT] = shade (0.5, @bg_color)
bg[ACTIVE] = "#45413E"
fg[NORMAL] = @bg_color
fg[PRELIGHT] = @bg_color
fg[ACTIVE] = @bg_color
engine "murrine" {
roundness = 1
rgba = TRUE
highlight_ratio = 1.0
reliefstyle = 2
contrast = 0.8
style "murrine-menu" = "murrine-dark"
xthickness = 3
ythickness = 3
bg[NORMAL] = "#363330"
text[NORMAL] = @bg_color
text[PRELIGHT] = @selected_fg_color
style "murrine-menu-item" = "murrine-dark"
xthickness = 3
ythickness = 3
bg[NORMAL] = "#363330"
engine "murrine" {
roundness = 0
contrast = 0.2
style "murrine-separator-menu-item"
GtkSeparatorMenuItem::horizontal-padding = 0
GtkWidget::wide-separators = 1
GtkWidget::separator-width = 1
GtkWidget::separator-height = 1
xthickness = 1
ythickness = 0
style "murrine-treeview"
# Based on the default style so that the colors from the button
# style are overriden again.
style "murrine-treeview-header" = "murrine-button"
xthickness = 2
ythickness = 1
GtkWidget::focus-line-width = 0
engine "murrine" {
# SZ07: This is added to tell the theme how to color checkmarks and radio items that are not in menus.
style "murrine-radiocheck" = "murrine-default"
text[NORMAL] = shade (1.15, @bg_color) # Color for checks/radio items.
text[PRELIGHT] = @selected_fg_color # Color for selected checks/radio items.
engine "murrine"{
style "murrine-tooltips"
xthickness = 4
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
style "murrine-progressbar"
xthickness = 1
ythickness = 1
fg[PRELIGHT] = @selected_fg_color
bg[SELECTED] = "#9C9478"
style "murrine-comboboxentry"
style "murrine-spinbutton"
style "murrine-scale"
bg[PRELIGHT] = shade(0.9,@bg_color)
style "murrine-hscale" = "murrine-scale"
style "murrine-vscale" = "murrine-scale"
style "murrine-scrollbar"
bg[NORMAL] = shade (1.0, @bg_color)
engine "murrine" {
#highlight_ratio = 1.3
scrollbar_color = "#9C9478"
#glazestyle = 0
roundness = 1
rgba = FALSE
GtkRange ::trough-border = 3
style "murrine-hscrollbar" = "murrine-scrollbar"
style "murrine-vscrollbar" = "murrine-scrollbar"
style "murrine-menubar" = "murrine-dark"
bg[NORMAL] = "#363330"
engine "murrine"{
gradient_shades = {1.0,0.9,0.9,0.75}
style "murrine-frame"
#Uncomment for dark statusbars. Breaks some apps.
bg[ACTIVE] = shade(0.2,@bg_color)
fg[NORMAL] = mix (1.5, @fg_color, '#ffffff')
fg[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
style "murrine-frame-title" = "murrine-frame"
fg[NORMAL] = lighter (@fg_color)
style "murrine-nautilus-location"
bg[NORMAL] = mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
# Matches
# murrine default style is applied to every widget
class "GtkWidget" style "murrine-default"
# Increase the x/ythickness in some widgets
class "GtkRange" style "murrine-default"
class "GtkFrame" style "murrine-frame"
class "GtkSeparator" style "murrine-wide"
class "GtkEntry" style "murrine-wider"
class "GtkStatusbar" style "murrine-default"
class "GtkToolbar" style "murrine-toolbar"
class "GtkMenuBar" style:highest "murrine-menubar"
class "*HandleBox" style "murrine-toolbar"
widget_class "*HandleBox" style "murrine-toolbar"
class "GtkSpinButton" style "murrine-spinbutton"
class "GtkScale" style "murrine-scale"
class "GtkVScale" style "murrine-vscale"
class "GtkHScale" style "murrine-hscale"
class "GtkScrollbar" style "murrine-scrollbar"
class "GtkVScrollbar" style "murrine-vscrollbar"
class "GtkHScrollbar" style "murrine-hscrollbar"
class "GtkButton" style "murrine-button"
class "GtkRadioButton*" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
class "GtkCheckButton" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
# General matching following, the order is choosen so that the right styles override each other
# eg. progressbar needs to be more important then the menu match.
widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
widget_class "*<GtkStatusbar>*" style "murrine-wider"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>" style "murrine-notebook"
widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
widget_class "*<GtkMenu>*" style "murrine-menu"
widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
widget_class "*<GtkFrame>" style "murrine-frame"
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
widget_class "*<GtkStatusbar>*" style "murrine-wider"
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*<GtkToolbar>.*" style "murrine-toolbar"
#Panel
widget "*PanelWidget*" style "murrine-panel"
widget "*PanelApplet*" style "murrine-panel"
widget "*fast-user-switch*" style "murrine-panel" # Workaround for Fast User Switch applet
class "PanelApp*" style "murrine-panel"
class "PanelToplevel*" style "murrine-panel"
#The panel menubar
widget_class "*Panel*<GtkMenuBar>*" style:highest "murrine-panel"
# The window of the tooltip is called "gtk-tooltip"
widget "gtk-tooltip*" style "murrine-tooltips"
# Special cases and work arounds
# Fixes toolbars inside frames. Will be overridden later.
style "murrine-toolbar-flat" = "murrine-default"
xthickness = 3
ythickness = 3
engine "murrine"
toolbarstyle = 0
widget_class "*.*.*.*.*.*Toolbar*" style "murrine-toolbar-flat"
widget_class "*.*.*.*.*.*HandleBox*" style "murrine-toolbar-flat"
#Undo for Epiphany (FIXME find a better way to do this)
#widget_class "*EphyToolbar*" style "pixmap-toolbar"
#widget_class "*EphyToolbar*.*.*.*" style "murrine-toolbar"
# Workarounds for Evolution
widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
#Firefox isn't nice to dark themes, so unset the dark stuff.
#widget "MozillaGtkWidget*Toolbar*" style "murrine-default"
#widget "MozillaGtkWidget*Frame*" style "murrine-default"
#Thunderbird too. But since Thunderbird uses the same theming engine as FF2, things are worse for us.
# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
style "murrine-text-is-fg-color-workaround"
text[NORMAL] = @fg_color
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_color)
widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround"
style "murrine-text-is-fg-color-workaround-dark"
#Make it work with this theme!
text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
widget_class "*Toolbar*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround-dark"
style "murrine-menuitem-text-is-fg-color-workaround"
#text[NORMAL] = @fg_color
#text[PRELIGHT] = @selected_fg_color
#text[SELECTED] = @selected_fg_color
#text[ACTIVE] = @fg_color
#text[INSENSITIVE] = darker (@bg_color)
#Make it work with this theme!
text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "murrine-fg-is-text-color-workaround"
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
#Rhythmbox toolbar near the search entry. Use default + wide so that it doesn't turn dark.
style "murrine-rhythmbox-header" = "murrine-default"
xthickness = 3
ythickness = 3
engine "murrine" {
widget "*RBSourceHeader*" style:highest "murrine-rhythmbox-header"
widget "*HeaderToolbar*" style:highest "murrine-rhythmbox-header"
widget "*FooterToolbar*" style:highest "murrine-rhythmbox-header"
widget "*swt*toolbar*" style "murrine-default"
#Evolution toolbar
style "murrine-evo-new-button-workaround" = "murrine-dark"
engine "murrine"
toolbarstyle = 0
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
# RSC: Fix for CPU frequency applet
style "applet-text" = "murrine-panel"
fg[NORMAL] = @bg_color
widget_class "*CPUFreqApplet*" style:highest "applet-text"Hello,
I recently moved to Macchiato gtk theme, which is very nice. Sadly it has a problem with Firefox/Thunderbird buttons that I'm unable to fix. Explained by images:
no mouse over button:
(if you look closer, you'll see that text is barely visible, but bg/fg colors are almost same)
mouse over button:
I tried playing with gtkrc, no luck. I'm using gtk-engine-murrine svn as of Feb 26.
Help please.
gtkrc for convenience
# Macchiato
# by Jesse L. Kay
# Last revision: 29 December 2008
# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#323232\nbg_color:#D3CAAA\nbase_color:#DED4B3\ntext_color:#323232\nselected_bg_color:#9C9478\nselected_fg_color:#fff\ntooltip_bg_color:#ebeab8\ntooltip_fg_color:#323232"
style "murrine-default"
# Style Properties
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
GtkButton ::default-border = { 0, 0, 0, 0 }
GtkCheckButton ::indicator-size = 14
GtkPaned ::handle-size = 6
GtkRange ::trough-border = 1
GtkRange ::slider-width = 8
GtkRange ::stepper-size = 13
GtkScale ::slider-length = 14
GtkScale ::slider-width = 8
GtkScale ::stepper-size = 13
GtkScale ::trough-side-details = 0
GtkScrollbar ::min-slider-length = 30
GtkMenuBar ::internal-padding = 0
GtkExpander ::expander-size = 16
GtkToolbar ::internal-padding = 1
GtkTreeView ::expander-size = 12
GtkTreeView ::vertical-separator = 0
GtkOptionMenu ::indicator-size = 0
GtkMenu ::horizontal-padding = 0
GtkMenu ::vertical-padding = 0
GtkScrolledWindow::scrollbar-spacing = 3
GtkNotebook::tab-curvature = 3
GtkNotebook::tab-overlap = 4
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
WnckTasklist ::fade-overlay-rect = 0
#WnckTasklist ::fade-loop-time = 5.0
#WnckTasklist ::fade-opacity = 0.7
xthickness = 1
ythickness = 1
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
fg[ACTIVE] = shade (0.60, @fg_color) #pidgin tabs, unselected tabs
bg[NORMAL] = @bg_color
bg[ACTIVE] = shade (0.60, @bg_color)
bg[PRELIGHT] = shade (0.6, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = shade (1.03,@bg_color)
base[NORMAL] = @base_color
base[PRELIGHT] = @base_color
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = @bg_color
base[ACTIVE] = @selected_bg_color
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = @text_color
text[ACTIVE] = @text_color
# window background
bg_pixmap[NORMAL] = "window-bg.png"
engine "murrine"
animation = TRUE # FALSE = disabled, TRUE = enabled
colorize_scrollbar = TRUE # FALSE = disabled, TRUE = enabled
contrast = 0.8 # 0.8 for less contrast, more than 1.0 for more contrast on borders
glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
gradient_shades = {1.09,1.01,1.01,0.9} # default: {1.1,1.0,1.0,1.1}
gradients = TRUE # FALSE = disabled, TRUE = enabled
highlight_ratio = 1.0 # set highlight amount for buttons or widgets
lightborder_ratio = 1.3 # sets lightborder amount for buttons or widgets
lightborderstyle = 1 # 0 = lightborder on top side, 1 = lightborder on all sides
listviewheaderstyle = 2 # 0 = flat, 1 = glassy, 2 = raised
listviewstyle = 1 # 0 = nothing, 1 = dotted
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menuitemstyle =0 # 0 = flat, 1 = glassy, 2 = striped
menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow
rgba = TRUE # FALSE = disabled, TRUE = enabled
roundness = 0 # 0 = squared, 1 = old default, more will increase roundness
scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
sliderstyle = 0 # 0 = nothing added, 1 = handles
stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
# style = MURRINE # engine style options: CANDIDO, CLEARLOOKS, MIST, MURRINE, NODOKA
toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
style "murrine-wide"
xthickness = 2
ythickness = 2
style "murrine-wider"
xthickness = 3
ythickness = 3
style "murrine-dark"
bg[NORMAL] = shade(0.2,@bg_color)
bg[SELECTED] = shade(0.9,@selected_bg_color)
bg[PRELIGHT] = shade (0.5, @selected_bg_color)
bg[ACTIVE] = mix (0.5, @selected_bg_color, shade(0.2,@bg_color))
bg[INSENSITIVE] = shade(0.2,@bg_color)
fg[NORMAL] = mix (0.9, '#ffffef', @fg_color)
fg[PRELIGHT] = mix (0.8, '#ffffef', @fg_color)
fg[SELECTED] = mix (0.8, '#ffffef', @fg_color)
fg[ACTIVE] = mix (0.8, '#ffffef', @fg_color)
fg[INSENSITIVE] = mix (0.9, '#ffffef', @fg_color)
style "murrine-button"
xthickness = 3
ythickness = 3
text[NORMAL] = "#000000"
text[PRELIGHT] = shade (0.20, @bg_color)
text[ACTIVE] = "#000000"
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.20, @bg_color)
bg[ACTIVE] = @bg_color
fg[NORMAL] = @bg_color
style "murrine-toolbar" = "murrine-dark"
bg[SELECTED] = "#363330"
bg[NORMAL] = "#363330"
bg[PRELIGHT] = "#363330"
bg[ACTIVE] = "#363330"
engine "murrine"{
gradient_shades = {1.0,0.9,0.9,0.75}
profile = MURRINE
style "murrine-notebook-bg" = "murrine-default"
bg[NORMAL] = shade (1.05, @bg_color)
bg[ACTIVE] = shade (0.95, @bg_color)
xthickness = 2
style "murrine-notebook" = "murrine-notebook-bg"
xthickness = 2
style "murrine-tasklist"
xthickness = 3
ythickness = 3
style "murrine-panel" = "murrine-dark" {
xthickness = 3
ythickness = 3
bg[NORMAL] = "#4D453F"
bg[PRELIGHT] = shade (0.5, @bg_color)
bg[ACTIVE] = "#45413E"
fg[NORMAL] = @bg_color
fg[PRELIGHT] = @bg_color
fg[ACTIVE] = @bg_color
engine "murrine" {
roundness = 1
rgba = TRUE
highlight_ratio = 1.0
reliefstyle = 2
contrast = 0.8
style "murrine-menu" = "murrine-dark"
xthickness = 3
ythickness = 3
bg[NORMAL] = "#363330"
text[NORMAL] = @bg_color
text[PRELIGHT] = @selected_fg_color
style "murrine-menu-item" = "murrine-dark"
xthickness = 3
ythickness = 3
bg[NORMAL] = "#363330"
engine "murrine" {
roundness = 0
contrast = 0.2
style "murrine-separator-menu-item"
GtkSeparatorMenuItem::horizontal-padding = 0
GtkWidget::wide-separators = 1
GtkWidget::separator-width = 1
GtkWidget::separator-height = 1
xthickness = 1
ythickness = 0
style "murrine-treeview"
# Based on the default style so that the colors from the button
# style are overriden again.
style "murrine-treeview-header" = "murrine-button"
xthickness = 2
ythickness = 1
GtkWidget::focus-line-width = 0
engine "murrine" {
# SZ07: This is added to tell the theme how to color checkmarks and radio items that are not in menus.
style "murrine-radiocheck" = "murrine-default"
text[NORMAL] = shade (1.15, @bg_color) # Color for checks/radio items.
text[PRELIGHT] = @selected_fg_color # Color for selected checks/radio items.
engine "murrine"{
style "murrine-tooltips"
xthickness = 4
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
style "murrine-progressbar"
xthickness = 1
ythickness = 1
fg[PRELIGHT] = @selected_fg_color
bg[SELECTED] = "#9C9478"
style "murrine-comboboxentry"
style "murrine-spinbutton"
style "murrine-scale"
bg[PRELIGHT] = shade(0.9,@bg_color)
style "murrine-hscale" = "murrine-scale"
style "murrine-vscale" = "murrine-scale"
style "murrine-scrollbar"
bg[NORMAL] = shade (1.0, @bg_color)
engine "murrine" {
#highlight_ratio = 1.3
scrollbar_color = "#9C9478"
#glazestyle = 0
roundness = 1
rgba = FALSE
GtkRange ::trough-border = 3
style "murrine-hscrollbar" = "murrine-scrollbar"
style "murrine-vscrollbar" = "murrine-scrollbar"
style "murrine-menubar" = "murrine-dark"
bg[NORMAL] = "#363330"
engine "murrine"{
gradient_shades = {1.0,0.9,0.9,0.75}
style "murrine-frame"
#Uncomment for dark statusbars. Breaks some apps.
bg[ACTIVE] = shade(0.2,@bg_color)
fg[NORMAL] = mix (1.5, @fg_color, '#ffffff')
fg[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
style "murrine-frame-title" = "murrine-frame"
fg[NORMAL] = lighter (@fg_color)
style "murrine-nautilus-location"
bg[NORMAL] = mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
# Matches
# murrine default style is applied to every widget
class "GtkWidget" style "murrine-default"
# Increase the x/ythickness in some widgets
class "GtkRange" style "murrine-default"
class "GtkFrame" style "murrine-frame"
class "GtkSeparator" style "murrine-wide"
class "GtkEntry" style "murrine-wider"
class "GtkStatusbar" style "murrine-default"
class "GtkToolbar" style "murrine-toolbar"
class "GtkMenuBar" style:highest "murrine-menubar"
class "*HandleBox" style "murrine-toolbar"
widget_class "*HandleBox" style "murrine-toolbar"
class "GtkSpinButton" style "murrine-spinbutton"
class "GtkScale" style "murrine-scale"
class "GtkVScale" style "murrine-vscale"
class "GtkHScale" style "murrine-hscale"
class "GtkScrollbar" style "murrine-scrollbar"
class "GtkVScrollbar" style "murrine-vscrollbar"
class "GtkHScrollbar" style "murrine-hscrollbar"
class "GtkButton" style "murrine-button"
class "GtkRadioButton*" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
class "GtkCheckButton" style "murrine-radiocheck" # SZ07: Added for the checkmarks/radio
# General matching following, the order is choosen so that the right styles override each other
# eg. progressbar needs to be more important then the menu match.
widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
widget_class "*<GtkStatusbar>*" style "murrine-wider"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>" style "murrine-notebook"
widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
widget_class "*<GtkMenu>*" style "murrine-menu"
widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
widget_class "*<GtkFrame>" style "murrine-frame"
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
widget_class "*<GtkStatusbar>*" style "murrine-wider"
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*<GtkToolbar>.*" style "murrine-toolbar"
#Panel
widget "*PanelWidget*" style "murrine-panel"
widget "*PanelApplet*" style "murrine-panel"
widget "*fast-user-switch*" style "murrine-panel" # Workaround for Fast User Switch applet
class "PanelApp*" style "murrine-panel"
class "PanelToplevel*" style "murrine-panel"
#The panel menubar
widget_class "*Panel*<GtkMenuBar>*" style:highest "murrine-panel"
# The window of the tooltip is called "gtk-tooltip"
widget "gtk-tooltip*" style "murrine-tooltips"
# Special cases and work arounds
# Fixes toolbars inside frames. Will be overridden later.
style "murrine-toolbar-flat" = "murrine-default"
xthickness = 3
ythickness = 3
engine "murrine"
toolbarstyle = 0
widget_class "*.*.*.*.*.*Toolbar*" style "murrine-toolbar-flat"
widget_class "*.*.*.*.*.*HandleBox*" style "murrine-toolbar-flat"
#Undo for Epiphany (FIXME find a better way to do this)
#widget_class "*EphyToolbar*" style "pixmap-toolbar"
#widget_class "*EphyToolbar*.*.*.*" style "murrine-toolbar"
# Workarounds for Evolution
widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
#Firefox isn't nice to dark themes, so unset the dark stuff.
#widget "MozillaGtkWidget*Toolbar*" style "murrine-default"
#widget "MozillaGtkWidget*Frame*" style "murrine-default"
#Thunderbird too. But since Thunderbird uses the same theming engine as FF2, things are worse for us.
# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
style "murrine-text-is-fg-color-workaround"
text[NORMAL] = @fg_color
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_color)
widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround"
style "murrine-text-is-fg-color-workaround-dark"
#Make it work with this theme!
text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
widget_class "*Toolbar*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround-dark"
style "murrine-menuitem-text-is-fg-color-workaround"
#text[NORMAL] = @fg_color
#text[PRELIGHT] = @selected_fg_color
#text[SELECTED] = @selected_fg_color
#text[ACTIVE] = @fg_color
#text[INSENSITIVE] = darker (@bg_color)
#Make it work with this theme!
text[NORMAL] = mix (1.5, @fg_color, '#ffffff')
text[PRELIGHT] = mix (1.4, @fg_color, '#ffffff')
widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
style "murrine-fg-is-text-color-workaround"
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
#Rhythmbox toolbar near the search entry. Use default + wide so that it doesn't turn dark.
style "murrine-rhythmbox-header" = "murrine-default"
xthickness = 3
ythickness = 3
engine "murrine" {
widget "*RBSourceHeader*" style:highest "murrine-rhythmbox-header"
widget "*HeaderToolbar*" style:highest "murrine-rhythmbox-header"
widget "*FooterToolbar*" style:highest "murrine-rhythmbox-header"
widget "*swt*toolbar*" style "murrine-default"
#Evolution toolbar
style "murrine-evo-new-button-workaround" = "murrine-dark"
engine "murrine"
toolbarstyle = 0
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"
# RSC: Fix for CPU frequency applet
style "applet-text" = "murrine-panel"
fg[NORMAL] = @bg_color
widget_class "*CPUFreqApplet*" style:highest "applet-text" -
NPE on JInternalFrame. init on GTK LNF with some GTK themes
Hi!
I has updated my Ubuntu system (from 9 to 10) and new GTK themes were added to it. Now if some themes are used the application throws NPE on creating JInernalFrame. Currently I noticed it happens with 'Ambiance' theme, but it works with 'Clearity' theme.
Also once I saw such error message in log:
Exception in Metacity for theme "Clearlooks": Variable "Bmin`max`height" not defined
It happens on OpenJDK 1.6.0_18 and HotSpot 1.6.0_20 also.
I suppose the problem may be like this:
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6425949]
The only way which I see is not to use GTK LnF at all.
java.lang.NullPointerException
at com.sun.java.swing.plaf.gtk.Metacity.getInt(Unknown Source)
at com.sun.java.swing.plaf.gtk.Metacity.calculateButtonSize(Unknown Source)
at com.sun.java.swing.plaf.gtk.Metacity$TitlePaneLayout.minimumLayoutSize(Unknown Source)
at com.sun.java.swing.plaf.gtk.Metacity$TitlePaneLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at javax.swing.plaf.basic.BasicDesktopIconUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JInternalFrame$JDesktopIcon.updateUI(Unknown Source)
at javax.swing.JInternalFrame$JDesktopIcon.<init>(Unknown Source)
at javax.swing.JInternalFrame.<init>(Unknown Source)
<some my code which creates an object of subclass JInternalFrame>
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)Edited by: Electriq2 on Jun 29, 2010 4:22 AMThat one indeed was the 1 pixel border bug.
I have now solved this, atleast partially I believe. I am now using ArchSimple theme, which I modified to have 2px borders and better colors for my taste.
Compositions are still not working, and I do not know why. I have multiple monitors and I am using twinview instead of Xinerama and it should work with it - atleast that is what wiki says if I have not missed anything. The networkmanager menu is still a bit weird looking, but atleast it is not that ugly anymore. Below is a screenshot from current state:
http://dl.dropbox.com/u/27198869/images … 1%3A54.png
I will mark this as solved now, even though there are still some minor issues which I think do not belong to this thread, but I will list them below anyway if someone knows something about them. I have not found answers for these:
- GTK checkbox enabled state is way too light. It is hard to see if it is enabled or not. I can not find any docs about it.
- GTK combobox, when I click it open, list background is black and text is black. Only the hovered text is visible. No docs about this either.
- Compositions still not working. But that is not really the most important feature I need. I can live without it.
- My menus are themed as white on black, but some menus are still black on grey (or white). But I can live with it. -
Tialing window managers (dwm) and gtk themes
Is it posable to use GTK themes with tialing window managers?, i.e. to make firefox less ugly.
Also would it be posable to combine a tialing window manager with a pannel aplication, i.e. gnome-pannel. to make a more productive desktop expiriance?
I like tialing aplications (Blender), but sofar the tialing window managers I have tryed(wmii and dwm) dont seem terably useable. I am looking for somwthing that works more like Blender, create tiles by hovering the mouse over a border, right click, split. this prosess would be folowed in reverce to get rid of a tile. currantly running aplications can be assighned to a tile from a drop down list in the corner. aplications started from eather a terminal, or a auto hiding pannel at the top of the screen, which also displays system infomation.
Are there any DE's like this, or should i start coding one
Last edited by Hessiess (2008-07-22 20:34:02)rson451 wrote:As for the rest, I've never used Blender so I have no clue what you are talking about.
In Blender to subdivide the main window you right click on the border between two windows and select "Split Area" from the context menu, then you move the mouse to the place you want to split and click. If you start from a horizontal border you make a vertical split, and if you start from a vertical border you make a horizontal split. To remove a division you select "Join Areas" from the same context menu, and then click the window you want to remove. Windows have a sort of menu/status bar, and it has a popup menu from which you can select any of the "programs" (3d view, text editor, preferences, &c) that are part of Blender. Window borders can be dragged for resizing, of course.
And no, I don't know of any WM that works like this. The closest is probably StumpWM or Ratpoison—you divide and join windows in the same way, but it's keyboard controlled: "^t s" makes a horizontal split, "^t S" is vertical, and there's keystrokes for entering resize mode and removing a division as well. The keystrokes are fine for creating and deleting windows (and even better if you rebind them to use the 0, 1, 2, 3 keys like Emacs), but resizing is a pain. -
KDE4 Quirk Fixes: Desktop Servicemenus & GTK Themes
Since I have spent quite some time with frustration trying to get kde 4.2 to work properly, I finally solved 2 of my most annoying problems. I figured this might help someone else out, so it couldn't hurt to post. Note that both of these are rather hackish solutions, but until better ways come about, they work just fine for me and probably will for you. I'm not sure which of these are caused by actual bugs as opposed to something I don't understand yet, so I will hold off on reporting them until I'm sure.
Servicemenus:
If you've noticed that you -can't- unzip/unrar/untar for some reason ONLY on the desktop (presumably in folderview as well, since the desktop is just a folderview plugin of sorts), I seem to have figured out why and how to work around it. I noticed at random that somehow my Root Actions Servicemenu was working, which no right click menus had been before. I was baffled. In looking around for a solution with the hope of getting my others to work, I removed the ark* servicemenus from /usr/share/kde4/services/ServiceMenus/ (the kdemod4 servicemenus folder. it may be diff for normal kde4) and installed extract-compress-servicemenu-kde4 from AUR. Good news -- on logging out and in, i had a compress menu on right click. Buuuuuuuut...no extract. Which renders it virtually useless for me. After all sorts of looking around, comparing, trial and error, it seems that (confirmed by doing it to 4 different non-working servicemenus) the argument %F is not accepted in 4.2 servicemenus on the desktop/folderview and they just don't show up at all. Replacing %F with %U in the servicemenus and logging out and in.. magic! Being able to extract files without manually opening konqueror or Ark, via right click! With the desktop backend and easy servicemenus working, the desktop is finally useful again. YAY. I confirmed this by doing the same thing to 4 different previously-not-working servicemenus, which had been converted from KDE3 via this:
#sudo cp /opt/kde/share/apps/konqueror/servicemenus/* /usr/share/kde4/services/ServiceMenus/ use this line to copy from kdemod3 dir to kdemod4 dir
#copy your other servicemenus to the corresponding dir above
cd /usr/share/kde4/services/ServiceMenus/ #for kdemod4
sudo sed -i "s/\[Desktop Entry\]/\[Desktop Entry\]\nType=Service/" *
sudo sed -i "s/ServiceTypes\=/ServiceTypes\=KonqPopupMenu\/Plugin\,/" *
This helpful botch of a previously good script (tweaked to fit my system, pathetically hardcoded to take from kdemod3 and give to kdemod4) was taken from here:
http://www.kde-look.org/content/show.ph … tent=80131
SO:
1) Convert the servicemenu from kde3 if it's not a kde4 one already with the above stuff.
2) Replace %F with %U. Another argument may suffice. Note that this could possibly screw stuff up if you attempt to do multiple files, but as a workaround, at least it makes things work!
3) log out and in
GTK Themes:
It seems that systemsettings->appearance->colors->options->apply colors to non-kde4 apps screws up the colors on the system for gtk apps. Gtk-qt-engine didn't work for me whatsoever (ended in an ugly flat theme) when installed and activated in systemsettings/appearance with qtcurve-kde4, and gtk-kde4 turned the text green and screwed up some things. I couldn't fix the former, but disabling what seems to be the logical setting to use in the settings manager seems to fix the text problems, and somehow they were the colors they should have been.
Alternatively, use identical (qtcurve or oxygen) themes on gnome/gtk and kde4/qt and use lxappearance as said in the wiki to set them to be the same, using the color disabling given above.
Last edited by FrozenFox (2009-02-01 10:51:11)Hi, I'm working on this issue also, over at Chakra CCR.
Here is what I figured out so far:
Problem:
1. awn-settings is searching for the icons of its gui.
2. If one of them is missing, it tries to substitute it with the icon named "gtk-missing-image"
3. If it doesn't find this neither, the error happens and awn-settings won't start.
All this happens in /usr/share/avant-window-navigator/awn-settings/awnClass.py lines 1017 - 1047
As soon as I substituted both occurences of "gtk-missing-image" with "folder" (or any random kde icon) there, it works.
When you open awn-settings then, you'll see, that "Task-Manager" and "Advanced" have the folder as their icon.
The according errors in the commandline are:
Could not locate the following icon: gtk-execute
Could not locate the following icon: gtk-properties
Now for a kde-version of awn, all we have to figure out is
1. where those two icons get called (through the "safe_load_icon()" method) and replace their names with their kde equivalents.
2. Maybe replace the fallback icon with something more meaningfull than "folder"
Last edited by Caldazar (2012-06-21 16:49:48) -
[Solved] Some GTK themes seem to only partially theme (black boxes)
An example is Aurora, but I'd say 50% of what I have is giving me the same problem.
There are no error messages, but the gnome-menu and panels have black rectangles where you'd expect different shades of color/gradients.
Has aurora meant to have a black gnome-menu, or is something broken? Why do some themes work and others don't? Why are there no error messages?
As far as I know I've installed all of the gtk themes. Are there any configuration options I can play with?
Edit:
lol, I fixed it seconds after posting this!
I was missing: http://www.archlinux.org/packages/extra … es-extras/
(everything else had been downloaded)
Last edited by Bedtimes (2009-10-05 16:43:37)Some applications simply don't use the "usual" graphical toolkits, but their own. Chromium, LibreOffice, Firefox and Thunderbird are classical examples of this. While Firefox's and LibreOffice's integration with GTK is nowadays more than decent, you'll have to install [or create yourself] a specific theme for Chromium. I can't tell about Thunderbird as I don't use it.
In Chromium, if you choose "Preferences → personal preferences → use GTK theme", you might get a good result either way, so try it if you still haven't.
Last edited by olorian (2012-03-17 11:56:04) -
[SOLVED] Distorted fonts in oxygen-gtk theme
I have install oxygen-gtk2 theme along with gtk-kde4.
When my desktop effects are ON I am seeing distorted fonts in drop down menu's of gtk applications.
They become normal when I move mouse on them. Also they appear normal when desktop effects are OFF.
No other theme have any issue.
Can anyone help me in solving this ?
Versons:
oxygen-gtk2 : 1.2.5-1
gtk-kde4 : 0.9.5b-2
Screen Shots:
Last edited by girish_patel (2012-07-13 17:25:46)I have "Intel(R) Graphics Media Accelerator HD".
I don't have flash video player running. This issue is consistent even without running anything else.
And It is not visible in kde application or with other gtk themes.
It comes only with oxygen-gtk, with kde desktop effects activated, only in gtk applications, only for text in pop-up menus.
Even other texts in those application are normal.
Is anybody else facing same issue in this combination ? -
[SOLVED] KDE's Plasma doesn't take GTK theme
I use the latest stable KDE 4.3.4 on my desktop machine and am trying to achieve a uniform look between my QT and GTK apps. QTcurve is nice and renders 90% correct, but still not all the apps take it like I would want them to. For example: tabs in GIMP and Firefox don't have hover effects etc.
Anyway, on gnome I always like Shiki-Brave GTK theme (http://gnome-look.org/content/show.php/ … tent=86717) + window border and also QT apps look stunning with the theme imho. So I set this as my GTK theme and chose GTK+ as my QT theme. All QT apps take it as it should, but when right-clicking apps in the task manager or icons in the panels, I see that the menus don't take the GTK colors and widgets. Also when clicking the plasma icon in the right corner and choosing Desktop Settings give me a window with other GTK-like widgets but they don't fit in with my Shiki theme at all.
For a test I also tried other GTK themes, even based on other GTK engines like Murrine, but they all give the same problem. Rebooting doesn't help either.
Hopefully the problem is clear, if not I can provide screenshots (tonight, I'm at work now ). Please feel free to test it on your own machine, it doesn't break anything. Maybe it is solved in KDE 4.4 (beta) or with QT 4.6 but I'm not sure about that...
Last edited by ulukai (2010-01-06 09:38:42)ulukai wrote:
I use the latest stable KDE 4.3.4 on my desktop machine and am trying to achieve a uniform look between my QT and GTK apps. QTcurve is nice and renders 90% correct, but still not all the apps take it like I would want them to. For example: tabs in GIMP and Firefox don't have hover effects etc.
Anyway, on gnome I always like Shiki-Brave GTK theme (http://gnome-look.org/content/show.php/ … tent=86717) + window border and also QT apps look stunning with the theme imho. So I set this as my GTK theme and chose GTK+ as my QT theme. All QT apps take it as it should, but when right-clicking apps in the task manager or icons in the panels, I see that the menus don't take the GTK colors and widgets. Also when clicking the plasma icon in the right corner and choosing Desktop Settings give me a window with other GTK-like widgets but they don't fit in with my Shiki theme at all.
For a test I also tried other GTK themes, even based on other GTK engines like Murrine, but they all give the same problem. Rebooting doesn't help either.
Hopefully the problem is clear, if not I can provide screenshots (tonight, I'm at work now ). Please feel free to test it on your own machine, it doesn't break anything. Maybe it is solved in KDE 4.4 (beta) or with QT 4.6 but I'm not sure about that...
who said plasma uses your qt theme? because it does not and never will. you have to create your own plasma theme to match your qt/gtk one. -
Setting the GTK theme for Chromium
Hello,
Apparently my Chromium installation does not correctly follow my GTK theme settings although it should according to the Chromium settings. There I defined that Chromium should use my GTK theme.
Screenshot of the settings in Chromium and Gnome Tweak Tool: http://i.imgur.com/LK1a4fd.png
Screenshot of how Chromium looks like: http://i.imgur.com/xL6Qi3y.png
Look at the buttons of the context menu for example. They do not look like as if they would follow the GTK theme.
Any ideas are appreciated.Toggling between classic and GTK theme does not make any difference.
[orschiro@thinkpad ~]$ cat ~/.gtkrc-2.0
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="Zukitwo"
gtk-icon-theme-name="Faenza-Dark"
gtk-font-name="Droid Sans 10"
gtk-cursor-theme-name="Adwaita"
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"
gtk-color-scheme="tooltip_fg_color:#000000\nlink_color:#08c\nbase_color:#F7F7F7\nselected_fg_color:#f5f5f5\ntext_color:#2c2c2c\nbg_color_dark:#3f3f3f\ntext_color_dark:#FFF\nbg_color:#d4d4d4\ntooltip_bg_color:#F5F5B5\nselected_bg_color:#6699CC\nfg_color:#2c2c2c\n"
include "/home/orschiro/.gtkrc-2.0.mine"
[orschiro@thinkpad ~]$ cat ~/.gtkrc.mine
cat: /home/orschiro/.gtkrc.mine: No such file or directory
Why does it not exist? Is it not created by one of the theme choosing apps?
[orschiro@thinkpad ~]$ ls ~/.config/gtk-2.0
total 4
-rw-r--r-- 1 orschiro users 292 Sep 16 19:06 gtkfilechooser.ini -
Conky matches GTK theme (concept)
Concept:
Conky executes a script every X seconds.
The executed script checks to see if the GTK theme has changed.
The script reads the GTK theme and finds FG and BG colours.
The script performs a sed command on the conkyrc to alter text to the new FG colour as defined by the GTK theme.
The script uses Imigmagik to change the background image used by conky (or sed to alter the background colour used by conky if used).
....well I'll try to make it, but can't promise anythingHmmmmm...Nice idea, maybe.
I use it in transparent mode though, so i don't know. It would be more useful to just not clash with the wallpaper
Personally i'm using conky's predefined colour variables and just have a handful of colour schemes that i manually switch to in .conkyrc whenever it clashes with my wallpaper. Not too much trouble and one script less running..
Eg:
# Colour Scheme 1 - light brown
#default_color D9D4CC # Default color and border colour
#default_outline_color black # Default outline colour
#default_shade_color black # Default shading colour and border's shading colour
#color1 D9D4CC # headers
#color2 A89B85 # labels
# Colour Scheme 2 - light blue
default_color CCD4D9 # Default color and border colour
default_outline_color black # Default outline colour
default_shade_color black # Default shading colour and border's shading colour
color1 CCD4D9 # headers
color2 95ABB8 # labels -
[Solved] Problem with GTK+ themes (some of the applications look ugly)
Hey everyone,
I just switched to Arch and have problems with getting the GTK+ themes to work. Some applications (i.e. pcmanfm, firefox) use the theme I set with lxappearance and other like transmission still look ugly. Any ideas what am I doing wrong?
Screenshot: http://s18.postimage.org/pz339bje1/screen.jpg
greets
Last edited by uns1gn3d (2013-02-01 16:32:52)Another possibility is that you have the correct theme but don't have the associated theme engine installed. Poke around the themes a bit:
For a GTK2 theme: in the "theme/gtk-2.0/gtkrc" file look for the line that says "engine" and a name. Make sure you have that name installed.
For a GTK3 theme: in the "theme/gtk-3.0/gtk.css" file also look for "engine" and the name. Also make sure that engine is installed.
Themes are almost always in "/usr/share/themes/theme_name"
The files you look for to see which engine a theme uses may be in different files than the ones specified above, poke around in the files. The file that specifies the engine will be a text file so you can look at them using "less" or an alternative.
Last edited by headkase (2013-02-01 15:41:21) -
I hate to trouble the the forum with this question, particularly so since I directed it to the package's developer about a week ago and have not received the courtesy of an answer.
Am I correct to assume that in using gtk-theme-switch to set fonts that, once set, the same font is then used for all applications employing gtk-2? Looking at the program's little interface, I can't see how one might use it on, say, one program, then another one and so on. Precisely how is this thing used anyway?
jlowellRdsArts,
Thanks for your reply.
I do not use a desktop environment, rather I use a WM and launch all applications from the WM's menu. If I understand you, when you say "It sets the 'base font' other GTK+2 apps use", you're saying that if I use gtk-theme-switch to set lucida 12, for example, the tool bar and menu fonts in all gtk+2 applications would be set to lucida 12 thereafter. Am I right about that?
jlowell -
How to change gtk theme dialog box button appearance when using tab?
Hi,
I'm using candido as my gtk theme and have noticed that when a dialog box pops up (Yes / No), it is extremely difficult to tell which option is highlighted. How do I change this appearance? I searched through the gtkrc and even used gimp to manipulate the images used via trial and error to see if I found one that worked. Can someone familiar with gtk themes tell me which gtkrc or image to alter to affect this appearance?
I use tab to select my option a ton and hate not being able to tell what I'm looking at.
For reference,
- here is the current look (can you tell which one is highlighted? It's "Cancel" -- just slightly bigger or a fine line around it) LINK
- here is the gtkrc if that helps? LINK
For one more point of clarification, I'm not talking about the button appearance on mouseover. I have identified that the button-prelight.png file changes that. I specifically am talking purely about a dialog popping up and then using the tab key alone to highlight through the options. I really like this theme, but this one thing drives me crazy. This appearance changes when I select different themes with lxappearance, so I've narrowed it down to being a gtk-theme issue, not my openbox theme or icon set.
Many thanks!
Last edited by jwhendy (2011-02-02 18:11:10)HI,
Debug the program after you press the CANCEL button , you will get where the conrol is flowing , And instead of using
Leave to screen '910' use Leave to screen 0.
Regards,
Madhukar Shetty -
Need some help with editing my GTK theme...
I'm editing the colors in my GTK theme...I'm using a theme that uses images for a bunch of the elements (Dyne for GTK 3...Only editing the GTK 2 part of it for now). I'm almost done, but I can't figure out how to get rid of this line in the below image...I've tried everything I can think of.
Any ideas?Unia wrote:Can you send me the theme? I'm certainly no master themer, but I'm willing to give it go for you.
Okay...Thanks. I uploaded it here...It's a zip file because there seems to be a problem with making tars for me right now for some reason.
http://www.filedropper.com/dynedark
Maybe you are looking for
-
Windows doesn´t recognize ipod error 1415
iPod prior Mac recognized now intended for Windows can´t be updated, it shows error 1415, When I connect this windows xp Averatec shows there is a new device, but then it fails to recognize it. some help please, Thank you
-
Mac no longer recognizes external disk
I have an external disk that I reformatted in FAT32 as I share it with an old PC while I am doing file transfer from PC to Mac. This worked fine for a week and then today all of a sudden the Mac told me I should nt remove the external disk ( I had nt
-
2009 macbook running slow after installing 2011 microsoft office, skype won't work either
Daughter just installed microsoft office 2011 ( her college sells it to students for $15.00 & you can use it for 4 years) on her 2 year old macbook. Computer is now running very slow and she isn't able to skype either. She got rid of her old micros
-
I have a 20G iPod and the BMW installed connector, which has always worked fine in the past. Since I downloaded the newest version of iTunes and the iPod update, the car and the iPod do not recognize one another. I have everything set correctly with
-
Ok my computer crashed everytime I connected my Zen Touch. It had worked great before for many years. but ok. I decided it probably was the Firmware so I restarted my MP3-player in recovery mode and deleted the firmware. guess what? I couldn't reinst