Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-10-02 19:16:01

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

[Solved] Looking for the code of the Raleigh theme

Would like to practice on personalizing some aspects of my desktop and I found that the Raleigh theme would be best to practice on. Copied the theme fies to my ~/.themes folder, but noticed that the gtkrc file is empty except the message that # This theme is the default theme if no other theme is selected.

I assume it's embedded somewhere, my question is where? and can I copy it to my personal themes folder?

Last edited by ineuw (2016-11-06 18:31:15)


Linux Mint Cinnamon 21.3

Offline

#2 2016-10-02 20:32:02

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [Solved] Looking for the code of the Raleigh theme

I wonder if this is it: /usr/share/themes/Xfce/gtk-2.0/gtkrc


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#3 2016-10-02 20:37:50

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: [Solved] Looking for the code of the Raleigh theme

Thanks Jerry3904, unfortunately /usr/share/themes/Xfce does not exist in my setup


Linux Mint Cinnamon 21.3

Offline

#4 2016-10-02 20:53:13

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [Solved] Looking for the code of the Raleigh theme

Here are the file contents:

# Created July 2006
# Modified Dec. 2006
# Modified Jan. 2007
# Modified Jul. 2008 for xfce 4.6
# Modified Feb. 2009 for xfce 4.6
# Olivier Fourdan <fourdan@xfce.org>
# Released under the GPL license

style "default"
{
    GtkWidget::focus-line-width                  = 1
    GtkWidget::focus_padding                     = 0
    GtkWidget::interior_focus                    = 0
    GtkWidget::internal_padding                  = 0

    GtkButton::child_displacement_x              = 0
    GtkButton::child_displacement_y              = 1
    GtkButton::default_border                    = {0, 0, 0, 0}
    GtkButton::default_outside_border            = {0, 0, 0, 0}
    GtkButton::focus-line-pattern                = "\0"

    GtkButtonBox::child_internal_pad_x           = 0
    GtkButtonBox::child_internal_pad_y           = 0
    GtkButtonBox::child_min_heigth               = 0
    GtkButtonBox::child_min_width                = 0

    GtkCheckButton::indicator_size               = 12
    GtkCheckButton::focus-line-pattern           = "\1\1"

    GtkEntry::focus-line-pattern                 = "\0"

    GtkRadioButton::indicator_size               = 12
    GtkRadioButton::focus-line-pattern           = "\1\1"

    GtkExpander::expander-size                   = 11
    GtkExpander::expander_spacing                = 0

    GtkMenuBar::internal-padding                 = 0

    GtkMenu::horizontal-padding                  = 0
    GtkMenu::vertical-padding                    = 0

    GtkMenuItem::internal_padding                = 2
    GtkMenuItem::selected_shadow_type            = etched-in

    GtkOptionMenu::indicator_size                = {0, 0}
    GtkOptionMenu::indicator_spacing             = {0, 0, 0, 0}

    GtkPaned::handle_full_size                   = 1
    GtkPaned::handle_size                        = 3

    GtkRange::slider_width                       = 15
    GtkRange::stepper_size                       = 15
    GtkRange::stepper_spacing                    = 0
    GtkRange::stepper_spacing                    = 0
    GtkRange::trough_border                      = 0
    GtkRange::trough-border                      = 0

    GtkScale::trough-side-details                = 1
    GtkScale::value_spacing                      = 0

    GtkScrollbar::has_backward_stepper           = 1
    GtkScrollbar::min_slider_length              = 20

    GtkScrolledWindow::scrollbar_spacing         = 0

    GtkTextView::focus-line-pattern              = "\0"

    GtkToolbar::internal-padding                 = 0
    GtkToolbar::space-size                       = 10
    GtkTreeView::expander-size                   = 11

    GtkTreeView::horizontal-separator            = 0
    GtkTreeView::vertical-separator              = 0

    ExoIconBar::focus_padding                    = 1

    xthickness = 2
    ythickness = 2

    base[ACTIVE]      = "#d9d7d6"
    base[INSENSITIVE] = "#eeeeec"
    base[NORMAL]      = "#ffffff"
    base[PRELIGHT]    = "#eeeeec"
    base[SELECTED]    = "#bad8ff"

    bg[ACTIVE]        = "#d9d7d6"
    bg[INSENSITIVE]   = "#eeeeec"
    bg[NORMAL]        = "#eeeeec"
    bg[PRELIGHT]      = "#eeeeec"
    bg[SELECTED]      = "#d9d7d6"

    fg[ACTIVE]        = "#000000"
    fg[INSENSITIVE]   = "#888a85"
    fg[NORMAL]        = "#101010"
    fg[PRELIGHT]      = "#101010"
    fg[SELECTED]      = "#000000"

    text[ACTIVE]      = "#101010"
    text[INSENSITIVE] = "#101010"
    text[NORMAL]      = "#101010"
    text[PRELIGHT]    = "#101010"
    text[SELECTED]    = "#101010"

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = plain
        }
    }
}

style "gradient" = "default"
{
    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.10
            shade_end = 0.90
        }
    }
}

style "menu" = "gradient"
{
    bg[PRELIGHT]      = "#cce2ff"
    bg[INSENSITIVE]   = "#fafaf7"
    bg[NORMAL]        = "#fafaf7"
    fg[ACTIVE]        = "#101010"
    fg[PRELIGHT]      = "#101010"
    fg[SELECTED]      = "#101010"
    text[PRELIGHT]    = "#101010"

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = plain
            orientation = vertical
            shade_start = 1.10
            shade_end = 0.90
        }
    }
}

style "menuitem" = "menu"
{
    xthickness = 1
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = plain
            orientation = vertical
            shade_start = 0.90
            shade_end = 1.10
        }
    }
}

style "menubar" = "menu"
{
    xthickness = 1
    ythickness = 2

    bg[INSENSITIVE]   = "#eeeeec"
    bg[NORMAL]        = "#eeeeec"

    engine "xfce"
    {
        smooth_edge = true
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.00
            shade_end = 0.90
        }
    }
}

style "pager" = "gradient"
{
    xthickness = 0
    ythickness = 0

    bg[SELECTED]      = "#5e98e3"
    fg[SELECTED]      = "#ffffff"

    engine "xfce"
    {
        smooth_edge = true
    }
}

style "button" = "default"
{
    bg[ACTIVE]        = "#d9d7d6"
    bg[NORMAL]        = "#eeeeec"
    bg[PRELIGHT]      = "#cce2ff"
    bg[SELECTED]      = "#4e627d"

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

    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.10
            shade_end = 0.90
        }
    }
}

style "notebook" = "default"
{
    xthickness = 1
    ythickness = 1

    bg[ACTIVE]        = "#e8e8e6"
    bg[NORMAL]        = "#ffffff"
    fg[NORMAL]        = "#101010"
}

style "scrollbar" = "default"
{
    bg[ACTIVE]        = "#e8e8e6"
    bg[NORMAL]        = "#d9d7d6"
    bg[PRELIGHT]      = "#cce2ff"

    engine "xfce"
    {
        smooth_edge = true
        grip_style = handle
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.10
            shade_end = 0.90
        }
    }
}

style "scale" = "scrollbar"
{
    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.10
            shade_end = 0.90
        }
    }
}

style "progress" = "gradient"
{
    xthickness = 0
    ythickness = 0

    bg[ACTIVE]        = "#d9d7d6"
    bg[NORMAL]        = "#e8e8e6"
    bg[PRELIGHT]      = "#cce2ff"

    fg[PRELIGHT]      = "#4e9a06"

    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.10
            shade_end = 0.90
        }
    }
}

style "handlebox" = "default"
{
    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = plain
        }
    }
}

style "tooltips" = "default"
{
    bg[NORMAL] = "#ffffdf"
    fg[NORMAL] = "#101010"
}

style "rox" = "default"
{
    bg[ACTIVE] = "#ffffff"
    bg[NORMAL] = "#ffffff"
}

style "titlebar" = "default"
{
    bg[SELECTED]      = "#1a2738"
    fg[SELECTED]      = "#ffffff"
    bg[INSENSITIVE]   = "#eeeeec"
    fg[INSENSITIVE]   = "#888a85"
}


widget_class "*"                   style "default"

widget_class "*GtkTree*"           style "gradient"
class "*GtkTree*"                  style "gradient"
widget_class "*GtkCTree*"          style "gradient"
class "*GtkCTree*"                 style "gradient"
widget_class "*GtkList*"           style "gradient"
class "*GtkList*"                  style "gradient"
widget_class "*GtkCList*"          style "gradient"
class "*GtkCList*"                 style "gradient"
widget_class "*Entry*"             style "gradient"
class "*Entry*"                    style "gradient"
widget_class "*Text*"              style "gradient"
class "*Text*"                     style "gradient"
widget_class "*Pager*"             style "pager"
class "*Pager*"                    style "pager"

widget_class "*Menu*"              style "menu"
#class "*Menu*"                     style "menu"

widget_class "*MenuItem*"          style "menuitem"
class "*MenuItem*"                 style "menuitem"

widget_class "*BonoboDockItem"     style "menubar"
class "*BonoboDockItem"            style "menubar"
widget_class "*ToolBar"            style "menubar"
class "*ToolBar"                   style "menubar"
widget_class "*MenuBar*"           style "menubar"
class "*MenuBar*"                  style "menubar"

widget_class "*HandleBox*"         style "handlebox"

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

widget_class "*.GtkNotebook"       style "notebook"
class "*.GtkNotebook"              style "notebook"

widget_class "*GtkVScrollbar*"     style "scrollbar"
class "*GtkVScrollbar*"            style "scrollbar"
widget_class "*GtkHScrollbar*"     style "scrollbar"
class "*GtkHScrollbar*"            style "scrollbar"

widget_class "*GtkHScale*"         style "scale"
class "*GtkHScale*"                style "scale"
widget_class "*GtkVScale*"         style "scale"
class "*GtkVScale*"                style "scale"

widget_class "*GtkProgress*"       style "progress"
class "*GtkProgress*"              style "progress"

widget "gtk-tooltip*"              style "tooltips"

widget_class "*.Collection"        style "rox"

widget "xfwm"                      style "titlebar"
widget "xfwm4-tabwin*"             style "titlebar"
class "MetaFrames"                 style "titlebar"
widget_class "MetaFrames"          style "titlebar"

MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#5 2016-10-02 20:55:56

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: [Solved] Looking for the code of the Raleigh theme

Jerry3904, this is very kind of you. Thanks


Linux Mint Cinnamon 21.3

Offline

#6 2016-10-02 23:35:29

Jerry3904
Member
Registered: 2013-11-09
Posts: 863

Re: [Solved] Looking for the code of the Raleigh theme

No guarantee that that is it, just following the logic of that little message...


MX-23 (based on Debian Stable) with our flagship Xfce 4.18.

Offline

#7 2016-11-06 18:30:48

ineuw
Member
From: Québec, Canada
Registered: 2015-11-24
Posts: 98

Re: [Solved] Looking for the code of the Raleigh theme

Jerry3904, apologize fr this late response. This file seems to be the basic fallback file in case there are no other. Was interesting to fool around with it. :-)


Linux Mint Cinnamon 21.3

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.014 seconds, 7 queries executed - Memory usage: 586.88 KiB (Peak: 603.72 KiB) ]