You are not logged in.

#1 2008-10-22 10:03:35

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

how to get murrine dust theme to work? (new concept theme for ubuntu)

hello!

i just want to try and install the new concept theme for ubuntu - DustTheme!
but i don't get it to work. it uses the murrine-engine - but when i want to select it via gtk-chtheme or gtk2_prefs it does not sets the colors or anything else. when i hit apply, the standard ugly gtk-theme will be selected.

anyone here who actually uses the theme?

more information:
DustTheme Ubuntu Wiki

installed packages:
gtk-engine-murrine 0.53.1
also tried: gtk-engine-murrine-svn rev 94

please help, thanks...

bye iggy

Last edited by iggy (2008-10-22 10:04:48)


sorry for my bad english smile

Offline

#2 2008-10-22 10:19:17

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

The easiest way is to use the aurora engine version.  It's called "Dust Aurora" from the "Extra GTK Themes 0.2" tarball.  Their main goal for Dust has simply been to be included as the default intrepid theme, so they really haven't put much effort into making the theme easily portable to anything except their specific murrine-svn deb.

Last edited by AD28 (2008-10-22 10:28:52)

Offline

#3 2008-10-22 14:00:38

andrek
Member
From: Poland
Registered: 2007-12-27
Posts: 29

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

There's a difference between the new SVN version of the Murrine engine and the Dust theme - you've got to change "profile" into "style" in theme's gtkrc file.

Offline

#4 2008-10-22 14:31:47

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

andrek wrote:

There's a difference between the new SVN version of the Murrine engine and the Dust theme - you've got to change "profile" into "style" in theme's gtkrc file.

Hrm, I'm not quite sure what you mean.  I don't see "profile" anywhere in the gtkrc - everything seems to be labeled as "style" already.

# Dust theme
# by Rico Sta. Cruz and Ricardo (Kido) Mariano III
# Last rev: Oct 4

# 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:#e4e0d8\nbase_color:#fff\ntext_color:#323232\nselected_bg_color:#996B5C\nselected_fg_color:#fff\ntooltip_bg_color:#ebeab8\ntooltip_fg_color:#323232"
gtk_color_scheme = "fg_color:#323232\nbg_color:#D9D4CC\nbase_color:#fff\ntext_color:#323232\nselected_bg_color:#996B5C\nselected_fg_color:#fff\ntooltip_bg_color:#ebeab8\ntooltip_fg_color:#323232"

include "scrollbars/scrollbar.rc"

style "murrine-default"
{
    ########
    # Style Properties
    ########
    GtkScrolledWindow ::scrollbar-spacing = 3
    GtkScrolledWindow ::scrollbar-within-bevel = 1
    
    GtkButton      ::child-displacement-x = 1
    GtkButton      ::child-displacement-y = 1
    GtkButton      ::default-border       = { 0, 0, 0, 0 }
    GtkButton      ::focus-padding        = 0
    GtkCheckButton ::indicator-size       = 14

    GtkPaned       ::handle-size          = 6

    GtkRange       ::trough-border        = 0
    GtkRange       ::slider-width         = 15
    GtkRange       ::stepper-size         = 15

    GtkScale       ::slider-length        = 20
    GtkScale       ::trough-side-details  = 0    # 0 = thin slider, >0 = thick slider
    GtkScrollbar   ::min-slider-length    = 30

    GtkMenuBar     ::internal-padding     = 0
    GtkExpander    ::expander-size        = 16
    GtkToolbar     ::internal-padding     = 1
    GtkTreeView    ::expander-size        = 14
    GtkTreeView    ::vertical-separator   = 0
    
    GtkMenu        ::horizontal-padding   = 0
    GtkMenu        ::vertical-padding     = 0
    WnckTasklist   ::fade-overlay-rect    = 0
    
    xthickness = 1
    ythickness = 1

    fg[NORMAL]        = @fg_color
    fg[PRELIGHT]      = @fg_color
    fg[SELECTED]      = @selected_fg_color
    fg[ACTIVE]        = @fg_color
    fg[INSENSITIVE]   = darker (@bg_color)

    bg[NORMAL]        = @bg_color
    bg[PRELIGHT]      = shade (1.02, @bg_color)
    bg[SELECTED]      = @selected_bg_color
    bg[INSENSITIVE]   = @bg_color
    bg[ACTIVE]        = shade (0.9, @bg_color)

    base[NORMAL]      = @base_color
    base[PRELIGHT]    = shade (0.95, @bg_color)
    base[ACTIVE]      = shade (0.9, @selected_bg_color)
    base[SELECTED]    = @selected_bg_color
    base[INSENSITIVE] = @bg_color

    text[NORMAL]      = @text_color
    text[PRELIGHT]    = @text_color
    text[ACTIVE]      = @selected_fg_color
    text[SELECTED]    = @selected_fg_color
    text[INSENSITIVE] = darker (@bg_color)

    engine "murrine" 
    {
        animation           = TRUE  # FALSE = disabled, TRUE = enabled
        colorize_scrollbar  = TRUE  # FALSE = disabled, TRUE = enabled
        contrast            = 1.0   # 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.1,1.0,1.0,0.87} # 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.0   # sets lightborder amount for buttons or widgets
        lightborderstyle    = 0     # 0 = lightborder on top side, 1 = lightborder on all sides
        listviewheaderstyle = 1     # 0 = flat, 1 = glassy, 2 = raised
        listviewstyle       = 0     # 0 = nothing, 1 = dotted
        menubaritemstyle    = 0     # 0 = menuitem look, 1 = button look
        menubarstyle        = 1     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
        menuitemstyle       = 1     # 0 = flat, 1 = glassy, 2 = striped
        menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
        reliefstyle        = 2     # 0 = flat, 1 = inset, 2 = shadow
        rgba            = FALSE  # FALSE = disabled, TRUE = enabled
        roundness           = 2     # 0 = squared, 1 = old default, more will increase roundness
        scrollbarstyle      = 2     # 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.24,@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.7,  '#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.4,  '#ffffef', @fg_color)    
}

style "murrine-button"
{
    xthickness   = 3
    ythickness   = 3

    bg[NORMAL]   = shade (1.2, @bg_color)
    bg[PRELIGHT] = shade (0.9, @bg_color) #mix(0.82,shade (1.3, @bg_color),@selected_bg_color)
    bg[ACTIVE]   = shade (0.85, @bg_color)
    
    # SZ07: button engine changed to clearlooks.
    # Change back to murrine to get the old dotted focus ring.
    engine "clearlooks" {
        contrast = 1.0
        radius = 2.0
        style = GUMMY
        reliefstyle = 1
    }
}

style "murrine-toolbar" = "murrine-default"
{
    xthickness = 4
    ythickness = 3
    
    bg[NORMAL]       = shade(0.88,@bg_color)
    bg[PRELIGHT]     = shade(0.88,@bg_color)
    bg[ACTIVE]       = shade(0.88,@bg_color)
    bg[SELECTED]     = shade(0.88,@bg_color)
    bg[INSENSITIVE]  = shade(0.88,@bg_color)
    
    fg[NORMAL] = @text_color
    fg[PRELIGHT] = @text_color
    fg[SELECTED] = @text_color
    fg[ACTIVE] = @text_color
    fg[INSENSITIVE] = @text_color
    
    fg[NORMAL] = @text_color
    text[NORMAL] = @text_color
    #engine "murrine" {
    #    gradient_shades = {1.1,1.0,1.0,0.85}
    #}
    
    engine "pixmap"
    {
        image {
              function = BOX
              file = "toolbar_light.png"
              border = {1,1,1,1}
          }
          image {
              function                = HANDLE
              overlay_file            = "handlebox.png"
              overlay_stretch     = FALSE
              orientation            = HORIZONTAL
        }
        image {
              function                = HANDLE
              overlay_file            = "handlebox.png"
              overlay_stretch     = FALSE
              orientation            = VERTICAL
        }
    }
}

style "murrine-toolbar-item" = "murrine-toolbar"
{

    bg[NORMAL]   = shade(0.88,@bg_color)
    bg[PRELIGHT] = shade(1.1,@bg_color)
    bg[ACTIVE]   = shade(0.6,@bg_color)
    
    fg[INSENSITIVE] = shade(0.6,@bg_color)
    
    fg[ACTIVE] = @selected_fg_color
    text[ACTIVE] = @selected_fg_color
    
    engine "clearlooks" {
        contrast = 1.0
        radius = 2.0
        style = GUMMY
        reliefstyle = 1
    }
}
style "murrine-toolbar-sep" = "murrine-toolbar-item"
{
    bg[NORMAL] = shade(0.5, @bg_color)
}

style "murrine-dark-toolbar" = "murrine-dark"
{    
    xthickness = 6
    bg[PRELIGHT] =  mix (0.3, @selected_bg_color, shade(0.2,@bg_color))
    bg[SELECTED] =  mix (0.3, @selected_bg_color, shade(0.2,@bg_color))
    bg[ACTIVE] =  mix (0.5, @selected_bg_color, shade(0.2,@bg_color))
    
    engine "murrine"{
        gradient_shades = {1.3,1.1,1.1,0.9}
        style = MURRINE
    }
}
style "murrine-dark-toolbar-sep" = "murrine-dark-toolbar"
 { xthickness = 2 }


style "pixmap-dark-toolbar" = "murrine-dark-toolbar"
{
    # To-do: make the toolbar recolorable, possibly without using pixmaps
    # We only like this because of the top line, anyway.
    engine "pixmap"{
        image {
              function = BOX
              file = "toolbar_o.png"
              border = {1,1,1,1}
          }
          image
        {
              function                = HANDLE
              overlay_file            = "handlebox.png"
              overlay_stretch     = FALSE
              orientation            = HORIZONTAL
            }
            image
        {
              function                = HANDLE
              overlay_file            = "handlebox.png"
              overlay_stretch     = FALSE
              orientation            = VERTICAL
            }
    }
}

style "murrine-notebook-bg" = "murrine-default"
{
    bg[NORMAL] = shade (1.05, @bg_color)
    bg[SELECTED]   = shade (1.05, @bg_color)
    xthickness = 2
}

style "murrine-notebook" = "murrine-notebook-bg"
{
    xthickness = 2
}

style "murrine-tasklist"
{
    xthickness = 3
    ythickness = 3
}

style "murrine-panel" = "murrine-dark" {
    bg[NORMAL] = shade (0.15, @bg_color)
    engine "murrine" {
    }
}

style "murrine-menu" = "murrine-dark"
{
    xthickness = 0
    ythickness = 2

    bg[NORMAL] = shade (0.15, @bg_color)
    text[NORMAL] = @bg_color
    text[PRELIGHT]    = @selected_fg_color
}

style "murrine-menu-item" = "murrine-dark"
{
    xthickness = 0
    ythickness = 3
    
    engine "murrine" {
        roundness = 0
        contrast = 0.2
        gradient_shades = {1.0,0.9,0.9,0.7}
    }
}

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-default"
{
    xthickness = 2
    ythickness = 1

    bg[NORMAL] = shade(0.9, @bg_color)
    bg[PRELIGHT] = shade(1.0, @bg_color)
    bg[ACTIVE] = shade(0.8, @bg_color)
    
    GtkWidget::focus-line-width = 0
    
    engine "murrine" {
        gradient_shades     = {1.3,1.0,1.0,1.1}
        style = MURRINE
        contrast = 0.5
        glazestyle = 1
        listviewheaderstyle = 1
    }
}

# 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

    engine "murrine"
    {
        style    = NODOKA
        #I want my shiny progressbar!
        #gradient_shades     = {1.3,1.1,0.9,1.0}
    }
}

style "pixmap-statusbar" = "murrine-default"
{
    ythickness = 3
    xthickness = 3

    engine "pixmap"
    {
        image
        {
            function = RESIZE_GRIP
            recolorable = TRUE
            detail = "statusbar"
            overlay_file = "statusgrip.png"
            overlay_border = {0,0,0,0}
            overlay_stretch = TRUE
        }
        image
    {
       function            = SHADOW
       shadow            = IN
       file                = "blank.png"
    }
    image
    {
       function            = SHADOW
       shadow            = OUT
       file                = "blank.png"
    }
    image
    {
       function        = SHADOW
       shadow            = ETCHED_IN
       file                = "blank.png"    
    }
    image
    {
       function        = SHADOW
       shadow            = ETCHED_OUT
       file                = "blank.png"
    }
    }
}

style "murrine-comboboxentry" 
{
}

style "murrine-spinbutton"
{
}

style "murrine-scale"
{
    bg[PRELIGHT] = shade(0.9,@bg_color)
    engine "murrine"{
        gradient_shades     = {1.3,1.1,0.9,1.0}
    }
}

style "murrine-hscale" = "murrine-scale"
{
}

style "murrine-vscale" = "murrine-scale"
{
}


style "murrine-scrollbar"
{
    bg[ACTIVE] = "#fff"
    bg[NORMAL] = @bg_color
    bg[PRELIGHT] = shade(0.9,@bg_color)
    engine "murrine"{
        gradient_shades = {1.1,1.0,1.0,0.9}
        contrast = 1.4
    }
}

style "murrine-hscrollbar" = "murrine-scrollbar"
{
}

style "murrine-vscrollbar" = "murrine-scrollbar"
{
}

style "murrine-menubar" = "murrine-dark"
{
    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 "pixmap-statusbar"
class "GtkMenuBar"   style:highest "murrine-menubar"

# Toolbar default: dark
#class "*HandleBox" style "pixmap-dark-toolbar"
#class "GtkToolbar"   style "pixmap-dark-toolbar" 
#widget_class "*HandleBox" style "pixmap-dark-toolbar"
#widget_class "*<GtkToolbar>.*"   style "murrine-dark-toolbar"

# Toolbar default: light
class "*HandleBox" style "murrine-toolbar"
class "GtkToolbar"   style "murrine-toolbar" 
widget_class "*HandleBox" style "murrine-toolbar"
widget_class "*<GtkToolbar>.*"   style "murrine-toolbar-item"

# Place this fix far above so overrides work better
# Affects: gedit sidebar, GCstar, meld
style "murrine-toolbar-flat" 
{
    engine "murrine"
    {
        toolbarstyle = 0
    }
}

widget_class "*.*.*.*.*.*Toolbar*"    style "murrine-toolbar-flat"
widget_class "*.*.*.*.*.*HandleBox*"    style "murrine-toolbar-flat"

#
# Toolbar exceptions:
# Browser-type and viewer-type applications get a dark toolbar.
# Everything below the toolbar for these apps are the content. This will make
# a separation on function (toolbar) and content (client area).
#

# 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')
}

#  Nautilus toolbar: dark
widget_class "*Nautilus*Toolbar*" style "pixmap-dark-toolbar"
widget_class "*Nautilus*Tool*GtkButton" style "murrine-dark-toolbar"
widget_class "*Nautilus*Tool*.*.*" style "murrine-dark-toolbar"
widget_class "*Nautilus*Tool*GtkToggleButton" style "murrine-dark-toolbar"
widget_class "*Nautilus*Tool*Separator*" style "murrine-dark-toolbar-sep"
widget_class "*Nautilus*Tool*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"

# Evince/EOG: dark
widget_class "*EggEditable*Toolbar*" style "pixmap-dark-toolbar"
widget_class "*EggEditable*Toolbar*.*.*.*" style "murrine-dark-toolbar"
widget_class "*EggEditable*Tool*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"

widget "*fullscreen-toolbar" style "pixmap-dark-toolbar"
widget "*fullscreen-toolbar.*" style "murrine-dark-toolbar"

# Epiphany: dark
widget_class "*EphyToolbar*" style "pixmap-dark-toolbar"
widget_class "*EphyToolbar*.*.*.*" style "murrine-dark-toolbar"
widget_class "*EphyTool*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"

# F-Spot(?): dark
widget_class "*Spot*Toolbar*" style "pixmap-dark-toolbar"
widget_class "*Spot*Toolbar*.*.*.*" style "murrine-dark-toolbar"
widget_class "*Spot*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"
 
# Gedit: Dark
widget_class "*edit*Toolbar*"   style "pixmap-dark-toolbar" 
widget_class "*edit*Toolbar*.*"   style "murrine-dark-toolbar" 
widget_class "*edit*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"

# Brasero: Dark
widget_class "*rasero*Toolbar*"   style "pixmap-dark-toolbar" 
widget_class "*rasero*Toolbar*.*"   style "murrine-dark-toolbar" 
widget_class "*rasero*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"

#gThumb: dark
widget_class "*Gth*Toolbar*"   style "pixmap-dark-toolbar" 
widget_class "*Gth*Toolbar*.*"   style "murrine-dark-toolbar" 
widget_class "*Gth*Toolbar*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround-dark"
widget_class "*GthFull*"   style "pixmap-dark-toolbar" #Doesn't work

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

#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
###################################################

# 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.

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"

style "murrine-evo-new-button-workaround" 
{
    engine "murrine"
    {
        toolbarstyle = 0
    }
}

widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-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 "*swt*toolbar*"    style "murrine-default"

# RSC: Fix for CPU frequency applet
style "applet-text" = "murrine-panel"
{
    fg[NORMAL] = @bg_color
}

widget_class "*CPUFreqApplet*" style:highest "applet-text"

style "murrine-dialog" = "murrine-dark"
{
    bg[NORMAL] = mix(0.4, @selected_bg_color, shade(0.7, @bg_color))
    fg[NORMAL] = shade(0.5, @fg_color)
    text[NORMAL] = shade(0.5, @text_color)
}
style "murrine-dialog-button" = "murrine-dark"
{
    bg[NORMAL] = shade(0.15, @bg_color)
    bg[PRELIGHT] = shade(0.18, @bg_color)
}

# Dialog boxes...?
# widget_class "*Dialog*" style "murrine-dialog"
# widget_class "*Dialog*.*" style "murrine-dialog"
# widget_class "*Dialog*.*Button*" style "murrine-dialog-button"

Offline

#5 2008-10-22 17:46:51

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Did you install the murrine SVN from AUR? That's the one you need.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#6 2008-10-22 18:11:51

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Yes, and it looks like the OP did as well.

As I mentioned earlier, the theme is designed to work with Wimer's PPA deb package specifically.  People have brought up the fact that this is a gtk theme, and as such should be developed to be compatible with gtk in general and not just 1 specific murrine-svn deb package.  Rico's response has basically been along the lines of "sorry but our goals are just within intrepid and to take ubuntu's aesthetics in a new direction."

There may be a way to get the murrine Dust to work in Arch, which is what the OP is asking, but from what I've read/tried it's not as simple just installing murrine-svn from AUR. Dust Aurora is the easiest workaround that I've found.

Last edited by AD28 (2008-10-22 18:34:46)

Offline

#7 2008-10-22 19:56:00

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Ah, I ran into this problem myself. You gotta check out an older version of murrine-svn back from September. I used one from September 1st which is the first revision when the first murrine-svn Ubuntu Dust was released.

Change the following lines in the PKGBUILD:

  if [ -d $_svnmod/.svn ]; then
    (cd $_svnmod && svn up -r {2008-09-01})
  else
    svn co $_svntrunk --config-dir ./ -r {2008-09-01} $_svnmod
  fi

Then update your $pkgver field to '52' for this version, and execute a 'makepkg --holdver'. This version of murrine-svn will work with Ubuntu Dust. I think there are probably newer revisions of murrine-svn that will work, but I was too lazy to find exactly when the theme-breaking change was introduced smile


Arch on a Thinkpad T400s

Offline

#8 2008-10-23 02:54:00

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

mintcoffee wrote:

This version of murrine-svn will work with Ubuntu Dust. I think there are probably newer revisions of murrine-svn that will work, but I was too lazy to find exactly when the theme-breaking change was introduced smile

Works like a charm, thanks wink

Offline

#9 2008-10-23 03:59:55

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

I realized it's probably easier to just change the $pkgver to 52 (without modifying the build script), then use 'makepkg --holdver'.

But then, I wouldn't have explained where the 52 came from smile

Last edited by mintcoffee (2008-10-23 04:01:19)


Arch on a Thinkpad T400s

Offline

#10 2008-10-24 16:03:38

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

So I had some time today and found the problem with the theme. As andrek said the change was with the "style" attribute to "profile".

Here's a patch to fix the default Dust theme to work with the latest murrine-svn.

http://www.woggie.net/files/dust-gtk-en … -svn.patch


Arch on a Thinkpad T400s

Offline

#11 2008-10-24 16:43:57

AD28
Member
Registered: 2008-09-16
Posts: 161

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Ah that makes sense.. I figured "change profile into style" was a typo and that "change style into profile" was what he meant, but a global s/style/profile/ replacement didn't work, so I figured it wasn't a typo.  It looks like you replaced "style" with "profile" inside the engine{} blocks only.

Offline

#12 2008-10-24 19:12:41

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

AD28 wrote:

Ah that makes sense.. I figured "change profile into style" was a typo and that "change style into profile" was what he meant, but a global s/style/profile/ replacement didn't work, so I figured it wasn't a typo.  It looks like you replaced "style" with "profile" inside the engine{} blocks only.

Yep, the theme uses the clearlooks engine in several places, which still uses the "style" attribute. So, I only replaced "style" with "profile" with regards to the murrine engine.

Last edited by mintcoffee (2008-10-24 19:12:54)


Arch on a Thinkpad T400s

Offline

#13 2008-10-24 22:07:08

z0phi3l
Member
From: Waterbury CT
Registered: 2007-11-26
Posts: 278

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

OT:

The theme does look mighty nice but imho the original mockup looks even better. Hope it gets done and released at some point in time.

Offline

#14 2008-10-25 15:17:23

Lord Illidan
Member
From: Malta
Registered: 2007-10-25
Posts: 248

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Thanks for the patch!

Offline

#15 2008-10-25 15:58:16

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Lord Illidan wrote:

Thanks for the patch!

Hmm.. looks like Murrine-Glow-{Color} to me smile (which  has the same issues with newer version of murrine)

http://www.gnome-look.org/content/show. … tent=88406


Btw, removing specific style lines from the theme will work too... i got helped in the murrine irc channel with that theme, and it worked nicely with latest murrine-svn

Last edited by Rasi (2008-10-25 15:59:12)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#16 2008-10-25 16:18:12

Lord Illidan
Member
From: Malta
Registered: 2007-10-25
Posts: 248

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Rasi wrote:
Lord Illidan wrote:

Thanks for the patch!

Hmm.. looks like Murrine-Glow-{Color} to me smile (which  has the same issues with newer version of murrine)

http://www.gnome-look.org/content/show. … tent=88406


Btw, removing specific style lines from the theme will work too... i got helped in the murrine irc channel with that theme, and it worked nicely with latest murrine-svn

Yes, it does but the author of the theme you mentioned has updated his theme to account for those issues. I wish the Dust authors would do so, I like their theme a lot.

Offline

#17 2008-10-26 04:07:06

thewayofzen
Member
Registered: 2007-06-10
Posts: 79

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

newbie question

how do i apply this patch...

Offline

#18 2008-10-26 04:17:24

manas
Member
Registered: 2008-10-26
Posts: 7

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

@thewayofzen :

I extracted the patch files, cd ed into the directory containing the patch file and used the command.

patch -p1 -i dust-gtk-engine-murrine-svn.patch /home/<username>/.themes/Dust/gtk-2.0/gtkrc

Offline

#19 2008-11-03 21:14:11

Cimi
Member
From: Padova, Italy
Registered: 2006-01-16
Posts: 301
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Was a shame that ubuntu took a svn snapshot during a week full of developments... in that week I have changed a lot of options of the engine and "style" was renamed to "profile". I have noticed the ubuntu developers of this important change, warning them that a lot of themes will be broken if they were not going to update the package... but as we all know they didn't.

To run dust you must do this change by hand.

Last edited by Cimi (2008-11-03 21:16:57)


Murrine Creator - GNOME Developer

Offline

#20 2008-11-06 10:03:24

kungfoo
Member
Registered: 2006-09-09
Posts: 43

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Is there any way to get this to run using the current version of murrine-svn from aur?

Offline

#21 2008-11-20 19:44:05

smartboyathome
Member
From: $HOME
Registered: 2007-12-23
Posts: 334
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

kungfoo wrote:

Is there any way to get this to run using the current version of murrine-svn from aur?

I got it running just fine after applying the patch posted above (and this is with the latest SVN). I am glad to have this theme back, it is good! Thanks everyone! big_smile

Offline

#22 2009-02-20 22:51:00

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

anyway, there is the package of this theme on AUR
http://aur.archlinux.org/packages.php?ID=22405

Last edited by ilpianista (2009-02-20 22:51:35)

Offline

#23 2009-06-01 10:57:36

cisforcojo
Member
From: China
Registered: 2009-02-01
Posts: 36

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

Patch link is broken. Anyone able to repost it? I'm having troubles with getting the dust theme to work after some recent updates.

Offline

#24 2009-06-01 11:08:35

randomguy
Member
Registered: 2007-06-19
Posts: 101

Re: how to get murrine dust theme to work? (new concept theme for ubuntu)

No need for a patch anymore, it was needed in pre 0.90 times. Dust theme from aur works perfectly with murrine-engine in community........

Offline

Board footer

Powered by FluxBB