Lxapperance fails to change GTK+ theme [WORKAROUND]

Hello all.
First time using Arch Linux, and it's a pretty awesome distro.
Just installed lxde and when trying to change the GTK+ theme using lxapperance, the window flickers, but the theme remains with the standard "unthemed" appearence.  I have tried rezlooks and cillop-midnite and neither display.
Anybody else have this problem?
Last edited by w23 (2009-12-22 22:38:41)

Thought it was just me.
I too had some weirdness with the new version of lxappearance. I did some checking and here is what I found out. Luckily I had a complete backup copy of my directory and found lxappearance wasn't creating ~/.gtkrc-2.0 correctly. When you change themes in lxappearance it's supposed to dynamically change this file and it wasn't for some reason. Mine turned out to be blank. When I went back to an old copy and pasted that info back into the new ~/.gtkrc-2.0 everything worked again. I reinstalled and now it seems to be changing  the way it's supposed too. Still getting massive error messages like you though.
You can manually change themes without lxappearance by creating and hand editing ~/.gtkrc-2.0. You must log out and back in for the changes to take effect although if I remember right there was a command you could type to regenerate gtk and change without having to log-out first but I can't remember what it was.
Since I have lxappearance installed (and as the comment says) further customization must be done in ~/.gtkrc-2.0.mine as the original ~/.gtkrc-2.0 is overwritten each time you change a theme in lxappearance.
Here's a copy of my ~/.gtkrc-2.0 for reference.
Also here is a explanation of what ~/.gtkrc-2.0 does (in case your interested).
http://linux.byexamples.com/archives/23 … ktop-user/
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine
gtk-theme-name="MurrineGlow Gray"
gtk-icon-theme-name="hicolor"
gtk-font-name="Sans 10"
gtk-toolbar-style=2
gtk-cursor-theme-name="(null)"
gtk-cursor-theme-size=16
include "/root/.gtkrc-2.0.mine"
Don't know if this helps but I hope.

Similar Messages

  • 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

  • Openbox Themes in gtk-theme-switch

    I've got a little problem with gtk-theme-switch, both Openbox, and gtk-theme-switch expect their respective themes to be in ~/.themes, obconf can tell the difference, and doesn't show those that won't work, gtk-theme-switch, however, shows all my Openbox themes, which it won't work with.
    I would be really grateful if someone could provide me with a solution, or of necessary, an alternate program to change GTK themes in a pure Openbox environment.

    It has two commands, switch, for old GTK1.x themes, and switch2 for GTK2 themes.
    I'll try gtk-chtheme and see if it makes any difference.
    Yep, gtk-chtheme doesn't show my Openbox themes, thanks.
    Last edited by Jaejae (2008-05-24 07:54:46)

  • Firefox dark gtk theme fix??

    The buttons are now visible as I installed a widgets fix from the Ubuntu forums, but the text boxes are all way too dark and text is black. I can barely read what I'm typing right now, hehe. Anyone got a fix?
    I've used the forms.css and html.css replacements from dark theme packs for a long time but they don't seem to work now. Have copied them all over to /opt/firefox3-bin/res/, same as before but no luck. I'm using FF 3 Beta 4.

    userChrome.css is partly used e.g. to hide parts of the gui
    but I was talking about userContent.css, which can still be used for overrides to change pages (as long as they contain !important)
    this is how Stylish works, and does affect FF3.
    Anyway, by changing GTK theme to a more recent/complete one, which can be edited for colour if you want, I now have white text on grey background in text entry forms/boxes and buttons with white text. It's one of the Murrina Dark Pack on gnome-look from you screenshot I guess you have murrine, so you could have a look. I have it looking basically the same as the old theme but with ff looking right.
    also, couldn't find the font as just caps, could you upload it?

  • GTK theme changing [SOLVED]

    Hi! I recently shifted to openbox. Whenever I'm trying to change my themes [which I've extracted in ~/.themes ]
    through switch2 or gtk-chtheme I get "Segmentation fault" and the theme remains the default ugly one.
    Please help.
    Last edited by sHyLoCk (2009-07-06 13:14:00)

    arkham wrote:Try lxappereance.
    I get this:
    > lxappearance
    (lxappearance:6127): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    (lxappearance:6143): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
    Do I need to edit something? I put my custon icon in gtkrc-2.0
    gtk-icon-theme-name = "MaXo-ReMix"
    and it works fine.
    Also I have tried with gtk2_prefs and it changes the "preview" window perfectly, and when I click "apply" it says: Will overwrite ~/.gtkrc-2.0 , I click yes, but the theme doesn't change. Also the .gtkrc-2.0 file contains the same things I had written.

  • How can I change my GTK theme?

    Im using KDE.
    And I wan't to change my GTK theme. What do I do?

    Gustavo wrote:
    arox1 wrote:How can I change icons used in GTK apps without instaling Gnome control center?
    I have this line in my ~/.gtkrc-2.0
    include "/home/gustavo/.gtkrc.mine"
    and my .gtkrc.mine has this:
    gtk-font-name = "Bitstream 8"
    gtk-icon-theme-name = "nuoveXT-1.6"
    All my icon themes are in ~/.icons
    Thank you

  • [solved] Fluxbox + LXappearance gtk theme not changing in certain prog

    I'm using fluxbox with LXappearance, which is working great, except that gedit and empathy don't change their gtk theme. All the other programs on my computer do change to the theme I pick in LXappearance. Does anyone know if there is a reason for this? (maybe its gnome or ubuntu related?)
    Its not a huge deal, but the behavior is sorta weird. I don't get any error messages or anything either.
    Last edited by Meskarune (2011-05-13 12:11:53)

    Those programs appear to be set to use GTK 3 themes now, which seem not to be compatible with GTK 2 themes (and vice-versa). I had the same problem, so had to specify a theme in .config/gtk-3.0/settings.ini but of course it's still not a match for the apps that use the GTK 2 theme instead.

  • How to make gtk theme change right now by edit the .gtkrc.2.0

    Hi guys, I edit the ~/.gtkrc-2.0 and want the gtk theme can be
    refreshed right now like the lxappearance .
    Is there one command can refresh the gtk theme ?
    thanks for your help!

    Hi guys, I edit the ~/.gtkrc-2.0 and want the gtk theme can be
    refreshed right now like the lxappearance .
    Is there one command can refresh the gtk theme ?
    thanks for your help!

  • 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"

  • Xfce4 Does Not change icon theme

    Hi arch community,
       I have installed xfce4, Liking it. But when I wanted to change the icons, I wanted to  use the Cheser icon theme, so I followed the instuctions here:
    http://docs.xfce.org/xfce/xfce4-settings/appearance
    Under the icon section.
    I could not change the icon theme, but I could change everything else such as fonts and gtk theme.
    Here's what I have tried:
    -Deleting ~/.config directory
    -Log out, then back in.
    -Changing the permissions of ~/.icons to username
    -Rebooted
    EDIT:
    This was somehow solved by a hard reboot,because the logon manager failed to work,I think the cleanup removed/corruped one of the files, then changed my icons!
    Call me crazy, but that's how I did it.
    Last edited by Ahad12 (2013-08-02 15:29:29)

    I am having the exact same problem. It is even worse because it has happened to me in class before.
    The other day, after coming to class I opened up my MBP from sleep intending to work on some things for class. As a general practice I hit the mute key as soon as I open the Mac. This always worked well with my Powerbook. However the system did not mute and the connection noises from iChat played out. This upset the teacher who glared at me for the rest of the class.
    This is not an isolated incident either. I have had the tool bar and the translucent icon disagree a number of times.
    I have found that if I hit the mute key twice it will generally correct the problem. But it is annoying. I hope someone at Apple is listening (in more than one way it would seem)
    Macbook Pro   Mac OS X (10.4.6)  

  • [SOLVED] Fluxbox and gtk theme

    I have a problem with fluxbox. Some programs using gtk themes (e.g. spacefm, audacious) have ugly grayish 'redmond' look. I have tried to follow this how-to:
    http://wiki.fluxbox.org/index.php?title … gtk_themes
    and also tried to switch theme with lxapperance and gtk-chtheme. No success. The gtk-chtheme shows a correct theme, so within the preview the theme is fine. However, it won't change the appearance of other windows. Some other programs like firefox or thunderbird change the theme.
    I have also tried to compile spacefm with gtk3 support and use adwaita theme. Again I got the ugly look. In other desktop managers, e.g. lxdm both spacefm and audacious look as expected.
    Last edited by kmiernik (2013-05-15 11:23:25)

    Thanks guys! It must have been something in the .config/gtk-3.0 folder. Once I removed it and created settings.ini like this one:
    [Settings]
    gtk-theme-name = Adwaita
    gtk-icon-theme-name = Tango
    gtk-fallback-icon-theme = gnome
    gtk-font-name = Sans 8
    gtk-auto-mnemonics = 1
    gtk-visible-focus = automatic
    I can have a normal appearance of gtk3 applications. Interesting thing is that this is exactly the same settings file I have tried before. Probably something else in the folder was overriding the theme.
    Last edited by kmiernik (2013-05-15 11:24:06)

  • Openbox Theme from GTK theme [beta]

    Something like this surely exists, here is my version..
    Creates an Openbox Theme from your chosen GTK Theme ... ..in 1), 2), 3)...
    1) you need to launch your theme changing from a script like this (instead of calling your GTK switcher directly)
    #!/bin/bash
    # call your gtk theme switcher and as it quits create a matching openbox theme
    # command for gtk theme switcher
    lxappearance
    # path to auto openbox theme generator script
    ~/bin/auto-openbox-theme
    # launch obconf (so you can select the newly made theme)
    obconf
    exit
    2) For that to work you also need this next script in ~/bin/auto-openbox-theme and made executable
    #!/bin/bash
    # Looks for the current GTK theme and automatically creates a matching Openbox theme
    # The script fails on themes not following the Clearlooks convention..
    # ..future improvements will account for this - for now the script politely fails on such themes.
    # function used to see if script is generating empty results from GTK it can't handle yet
    function emptycheck {
    if [ -s $myfile ]
    then
    echo "$myfile has data."
    else
    echo "$myfile is empty."
    xmessage "Sorry this gtk is not handled yet. You should not select the generated Openbox Theme this time."
    exit
    fi
    # main script #
    # copy ~/.gtkrc-2.0 to a new file and remove all data except theme name line (!d = don't delete)
    sed /gtk-theme-name/!d ~/.gtkrc-2.0 > ~/.gtk-match-openbox-info
    # remove string before gtk theme name and return info to this file (-i)
    sed -i s/gtk-theme-name=// ~/.gtk-match-openbox-info
    # strip off all (/g) speach marks (\") and return info to this file (-i)
    sed -i s/\"//g ~/.gtk-match-openbox-info
    # place the theme name in a variable
    mygtktheme=$(cat ~/.gtk-match-openbox-info)
    # copy file called mygtktheme to a new file
    sed /gtk_color_scheme/!d ~/.themes/"$mygtktheme"/gtk-2.0/gtkrc > ~/.gtk-match-openbox-info
    # strip the line down to just colours
    sed -i s/gtk_color_scheme\ =\ \"// ~/.gtk-match-openbox-info
    sed -i s/gtk-color-scheme\ =\ \"// ~/.gtk-match-openbox-info
    sed -i s/fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/base_color\:#// ~/.gtk-match-openbox-info
    sed -i s/text_color\:#// ~/.gtk-match-openbox-info
    sed -i s/selected_bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/selected_fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/tooltip_bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/tooltip_fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/\"//g ~/.gtk-match-openbox-info
    # force \n to be a true line break so colours on individual lines
    sed -i s/\n/\\n/g ~/.gtk-match-openbox-info
    sed -i 's/\\//g' ~/.gtk-match-openbox-info
    # store some colours for use in Openbox theme
    # don't delete (!d) line number n and place it in a text file colournX
    # where X is used later to aid production of Openbox theme
    sed '1!d' ~/.gtk-match-openbox-info > /tmp/colour1V
    sed '2!d' ~/.gtk-match-openbox-info > /tmp/colour2W
    sed '3!d' ~/.gtk-match-openbox-info > /tmp/colour3X
    sed '4!d' ~/.gtk-match-openbox-info > /tmp/colour4Y
    sed '5!d' ~/.gtk-match-openbox-info > /tmp/colour5Z
    # check if we have empty data from unhandled GTK themes
    myfile="/tmp/colour1V"
    emptycheck
    myfile="/tmp/colour2W"
    emptycheck
    myfile="/tmp/colour3X"
    emptycheck
    myfile="/tmp/colour4Y"
    emptycheck
    myfile="/tmp/colour5Z"
    emptycheck
    # hold the above in varibles
    myV=$(cat /tmp/colour1V)
    myW=$(cat /tmp/colour2W)
    myX=$(cat /tmp/colour3X)
    myY=$(cat /tmp/colour4Y)
    myZ=$(cat /tmp/colour5Z)
    # make Openbox theme by replacing VWXYZ in template with colours
    sed s/VVVVVV/$myV/g ~/.themes/obthemetemplate/openbox-3/TEMPLATE > /tmp/obtheme
    sed -i s/WWWWWW/$myW/g /tmp/obtheme
    sed -i s/XXXXXX/$myX/g /tmp/obtheme
    sed -i s/YYYYYY/$myY/g /tmp/obtheme
    sed s/ZZZZZZ/$myZ/g /tmp/obtheme > ~/.themes/obthemetemplate/openbox-3/themerc
    # update rc.xml
    #urxvt -e /usr/bin/obconf
    3) AND you need this folder in your ~/.themes/ folder - download it, extract and copy to ~/.themes
    4) (optional but welcome) Post your fails, post your abusive and constructive criticism, and post your "hey why don't you use this 5million times better version here?"'s
    thanks, bye

    Works fine here. Thanks for the script, it's quite handy and I got at last a nice OB theme witch fits with the murrina chrome gtk theme

  • GDM forgets about which GTK+ theme to use

    I can choose a GTK+ theme in GDM, but it doesn't seem to save that setting. Can anybody confirm that and maybe even give a workaround?

    I seem to suffer from the same problem.
    This is the gui section in /opt/gnome/share/gdm/defaults.conf
    [gui]
    # The specific gtkrc file we use. It should be the full path to the gtkrc that
    # we need. Unless you need a specific gtkrc that doesn't correspond to a
    # specific theme, then just use the GtkTheme key.
    GtkRC=/usr/share/themes/Candido-gPerfect/gtk-2.0/gtkrc
    # The GTK+ theme to use for the GUI.
    #GtkTheme=Default
    # If to allow changing the GTK+ (widget) theme from the greeter. Currently
    # this only affects the standard greeter as the graphical greeter does not yet
    # have this ability.
    #AllowGtkThemeChange=true
    # Comma separated list of themes to allow. These must be the names of the
    # themes installed in the standard locations for gtk themes. You can also
    # specify 'all' to allow all installed themes. These should be just the
    # basenames of the themes such as 'Thinice' or 'LowContrast'.
    #GtkThemesToAllow=all
    I couldn't get it to work by uncommenting GtkTheme, AllowGtkThemeChange and GtkThemesToAllow, so i went the easy route and just added a gtkrc file in 'GtkRC=' as you can see.
    Just pick one.
    find /usr/share/themes/ -iname gtkrc

  • Use a gtk theme for one app and another for the whole system??

    I would like to know if is it possible to use a theme for one application and use another for the remaining of the system? I use OpenBox and I change themes with Lxappearance...
    Thanks,

    Uhh, thanks mauryck for the question and anonymous_user for the answer! I use a very slow gtk theme, and one program suffer from it, but this theme is so beautiful so I dont like to change. Never though about this solution, use a different theme only for this program!
    Sometimes the solution is so simple...

  • [Gnome 3] Change GDM theme

    There was already a discussion about changing the background. Here I mean not the background, but GTK theme (like Adwaita). I tried to launch gnome-tweak-tool under gdm user (Gnome#GDM_Customization in the Wiki), but no GTK applications start there (I get "Could not open display :0" message).
    Is there any way to set the theme via gsettings or any other "console" way? I guess gnome-tweak-tool itself works by modifying dconf, but I could not find dconf registry key where GTK theme is specified (seems that dconf-editor does not yet have search functionality).

    isn't that background changing enough? you simple have to change other options
    gsetting set org.gnome.desktop.interface gtk-theme yourtheme
    gsetting set org.gnome.desktop.interface icon-theme yourtheme
    you only have to add your theme globally or in gdm directory, /var/lib/gdm
    Last edited by wonder (2011-06-02 09:02:41)

Maybe you are looking for

  • Interactive reporting : error while refreshing MSSQL data in Workspace

    Hi all, I recently work with Hyperion and I am facing an issue that makes me crazy. My configuration is simple : - 1 win2003 server with Hyperion Interactive Reporting services and workspace installed (both works properly) - 1 winXP machine with MS S

  • Download windows 8.1 with bing

    hi guys! I installed the windows 10 TP on my HP stream 7, but it didn't work...so I reinstalled the OS (windows 8.1) with a bootable usb because the rollback to the previous build didn't work, too.   can I reinstall the original version of windows 8.

  • Avoiding Logical Loop Error while defaulting values

    Hi Experts, We have a requirement where lets say Attribute A and Attribute B are displayed on the screen, we need to default value for Attribute B to NA if value of Attribute A is set by the user to "XYZ", else whatever value user enters in Attribute

  • Select path with same swatch and apply a new swatch

    I am trying to write a script that will select a line based on a swatch name, apply a new swatch, set the stroke, dash and miter of the line...and then create a new layer, change then name of the layer, and then move the selected items to the newly c

  • Photoshop CS5 Color Picker and Gradient Maps

    I painted a black & white image and put a gradiant map adjustment layer on top to test some colors for the final image. I set the color picker to "current layer" to keep painting on the black & white Background Layer to get the levels right without a