VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Xfce themes  (Read 3040 times)

overthere

  • Vectorian
  • ****
  • Posts: 1333
Xfce themes
« on: September 24, 2013, 11:40:17 pm »

Downloaded a few darker themes to try on VL from xfce-look.org, many are very nice but

I could not see the text in the browser

J-Pilot crashes with several, perhaps other applications

the clock color is diminished on the wallpaper

Decided to try creating a simple gtkrc theme, which is harder than I thought.

created this from xfce-charcoal which was like the above but did not crash jpilot. not as nice as the "concrete" theme but a work in progress. I call it xfce-dust-VL

Here is a pic

http://files.myopera.com/dsl-o/albums/550557/xfce-dust-vl7.png

Here is the rc if someone wants to try it or edit further.
Quote
# Dust_00

style "default"
{
    GtkButton::default_border                    = {0, 0, 0, 0}
    GtkButton::default_outside_border            = {0, 0, 0, 0}
    GtkButton::child_displacement_x              = 0
    GtkButton::child_displacement_y              = 1
    GtkButton::default_spacing                   = 4
    GtkButton::focus-padding                     = 0
    GtkCheckButton::indicator_size               = 8
    GtkMenuBar::internal-padding                 = 1
    GtkMenuBar::shadow_type                      = out
    GtkHandleBox::shadow_type                    = out
    GtkMenuItem::selected_shadow_type            = etched-in
    GtkPaned::handle_full_size                   = 1
    GtkPaned::handle_size                        = 4
    GtkRadioButton::indicator_size               = 10
    GtkRange::slider_width                       = 12
    GtkRange::stepper_size                       = 10
    GtkRange::stepper_spacing                    = 0
    GtkRange::trough_border                      = 0
    GtkScrollbar::has_backward_stepper           = 1
    GtkScrollbar::has_secondary_backward_stepper = 0
    GtkScrollbar::min_slider_length              = 10
    GtkToolbar::shadow_type                      = out
    GtkWidget::focus-line-width                  = 1
    GtkWidget::focus_padding                     = 1
    GtkWidget::interior_focus                    = 1
    GtkWidget::internal_padding                  = 2
    GtkEntry::cursor_color                       = "#fcfcfc"
    GtkEntry::secondary_cursor_color             = "#fcfcfc"
    GtkTextView::cursor_color                    = "#fcfcfc"
    GtkTextView::secondary_cursor_color          = "#fcfcfc"
    GtkEntry::cursor_aspect_ratio                = 0.1
    GtkEntry::cursor_aspect_ratio                = 0.1
   
    xthickness             = 1
    ythickness             = 1


    base[ACTIVE]      = "#699dc9"
    base[INSENSITIVE] = "#303030"
    base[NORMAL]      = "#999795"
    base[PRELIGHT]    = "#002849"
    base[SELECTED]    = "#699dc9"

    bg[ACTIVE]        = "#656565"
    bg[INSENSITIVE]   = "#505050"
    bg[NORMAL]        = "#454545"
    bg[PRELIGHT]      = "#909090"
    bg[SELECTED]      = "#C0C0C0"

    fg[ACTIVE]        = "#dadada"
    fg[INSENSITIVE]   = "#151515"
    fg[NORMAL]        = "#ffffff"
    fg[PRELIGHT]      = "#000000"
    fg[SELECTED]      = "#FFFFFF"

    text[ACTIVE]      = "#FFFFFF"
    text[INSENSITIVE] = "#000000"
    text[NORMAL]      = "#000000"
    text[PRELIGHT]    = "#000000"
    text[SELECTED]    = "#FFFFFF"

    engine "xfce"
    {
   smooth_edge = true
        boxfill
        {
            fill_style = plain
        }
    }
}
widget_class "*"                   style "default"

style "menustyle" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*BonoboDockItem"     style "menustyle"
class "*BonoboDockItem"            style "menustyle"
widget_class "*ToolBar"            style "menustyle"
class "*ToolBar"                   style "menustyle"
widget_class "*MenuBar"            style "menustyle"
class "*MenuBar"                   style "menustyle"

style "button" = "default"
{
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
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 "*Tree*"            style "button"
# class "*Tree*"                   style "button"
# widget_class "*GtkScale*"        style "button"
# class "*GtkScale*"               style "button"

style "sbstyle" = "default"
{
    xthickness = 2
    ythickness = 2
    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
widget_class "*Scrollbar*"         style "sbstyle"
class "*Scrollbar*"                style "sbstyle"
widget_class "*GtkScale*"          style "sbstyle"
class "*GtkScale*"                 style "sbstyle"

style "progress" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*GtkProgress*"       style "progress"
class "*GtkProgress*"              style "progress"

style "menuitem" = "default"
{
    xthickness = 1
    ythickness = 2
}

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

style "flat" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*HandleBox"         style "flat"


# This is for the window borders (xfwm4 & metacity)
#
style "titlebar"
{
    bg[SELECTED]      = "#003263"
    fg[SELECTED]      = "#ffffff"
    bg[INSENSITIVE]   = "#002849"
    fg[INSENSITIVE]   = "#9a9ada"
}
widget "xfwm"                      style "titlebar"
class "MetaFrames"                 style "titlebar"
widget_class "MetaFrames"          style "titlebar"
« Last Edit: September 25, 2013, 09:41:44 am by overthere »
Logged
Everything Is Relative

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Xfce themes
« Reply #1 on: September 26, 2013, 08:44:23 am »

That's looking very nice!  ;D
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Xfce themes
« Reply #2 on: September 26, 2013, 05:50:23 pm »

Thanks :)
Logged

overthere

  • Vectorian
  • ****
  • Posts: 1333
Re: Xfce themes
« Reply #3 on: September 28, 2013, 03:39:53 pm »

was useing blendwall window manager style and forgot to color the default. default is changed in this rc as seen here

http://files.myopera.com/dsl-o/albums/550557/DustV7.png

Have lightened the window, darkened the blue to more closely match the default wallpaper.with blendwall seen here

http://files.myopera.com/dsl-o/albums/550557/DustV7b.png

Code: [Select]
# Dust_00

style "default"
{
    GtkButton::default_border                    = {0, 0, 0, 0}
    GtkButton::default_outside_border            = {0, 0, 0, 0}
    GtkButton::child_displacement_x              = 0
    GtkButton::child_displacement_y              = 1
    GtkButton::default_spacing                   = 4
    GtkButton::focus-padding                     = 0
    GtkCheckButton::indicator_size               = 8
    GtkMenuBar::internal-padding                 = 1
    GtkMenuBar::shadow_type                      = out
    GtkHandleBox::shadow_type                    = out
    GtkMenuItem::selected_shadow_type            = etched-in
    GtkPaned::handle_full_size                   = 1
    GtkPaned::handle_size                        = 4
    GtkRadioButton::indicator_size               = 10
    GtkRange::slider_width                       = 12
    GtkRange::stepper_size                       = 10
    GtkRange::stepper_spacing                    = 0
    GtkRange::trough_border                      = 0
    GtkScrollbar::has_backward_stepper           = 1
    GtkScrollbar::has_secondary_backward_stepper = 0
    GtkScrollbar::min_slider_length              = 10
    GtkToolbar::shadow_type                      = out
    GtkWidget::focus-line-width                  = 1
    GtkWidget::focus_padding                     = 1
    GtkWidget::interior_focus                    = 1
    GtkWidget::internal_padding                  = 2
    GtkEntry::cursor_color                       = "#fcfcfc"
    GtkEntry::secondary_cursor_color             = "#fcfcfc"
    GtkTextView::cursor_color                    = "#fcfcfc"
    GtkTextView::secondary_cursor_color          = "#fcfcfc"
    GtkEntry::cursor_aspect_ratio                = 0.1
    GtkEntry::cursor_aspect_ratio                = 0.1
   
    xthickness             = 1
    ythickness             = 1


    base[ACTIVE]      = "#407099"
    base[INSENSITIVE] = "#757575"
    base[NORMAL]      = "#C0C0C0"
    base[PRELIGHT]    = "#757575"
    base[SELECTED]    = "#407099"

    bg[ACTIVE]        = "#656565"
    bg[INSENSITIVE]   = "#505050"
    bg[NORMAL]        = "#454545"
    bg[PRELIGHT]      = "#909090"
    bg[SELECTED]      = "#C0C0C0"

    fg[ACTIVE]        = "#FFFFFF"
    fg[INSENSITIVE]   = "#303030"
    fg[NORMAL]        = "#FFFFFF"
    fg[PRELIGHT]      = "#000000"
    fg[SELECTED]      = "#FFFFFF"

    text[ACTIVE]      = "#FFFFFF"
    text[INSENSITIVE] = "#000000"
    text[NORMAL]      = "#000000"
    text[PRELIGHT]    = "#000000"
    text[SELECTED]    = "#FFFFFF"

    engine "xfce"
    {
smooth_edge = true
        boxfill
        {
            fill_style = plain
        }
    }
}
widget_class "*"                   style "default"

style "menustyle" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*BonoboDockItem"     style "menustyle"
class "*BonoboDockItem"            style "menustyle"
widget_class "*ToolBar"            style "menustyle"
class "*ToolBar"                   style "menustyle"
widget_class "*MenuBar"            style "menustyle"
class "*MenuBar"                   style "menustyle"

style "button" = "default"
{
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
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 "*Tree*"            style "button"
# class "*Tree*"                   style "button"
# widget_class "*GtkScale*"        style "button"
# class "*GtkScale*"               style "button"

style "sbstyle" = "default"
{
    xthickness = 2
    ythickness = 2
    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
widget_class "*Scrollbar*"         style "sbstyle"
class "*Scrollbar*"                style "sbstyle"
widget_class "*GtkScale*"          style "sbstyle"
class "*GtkScale*"                 style "sbstyle"

style "progress" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*GtkProgress*"       style "progress"
class "*GtkProgress*"              style "progress"

style "menuitem" = "default"
{
    xthickness = 1
    ythickness = 2
}

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

style "flat" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*HandleBox"         style "flat"


# This is for the window borders (xfwm4 & metacity)
#
style "titlebar"
{
    bg[SELECTED]      = "#353535"
    fg[SELECTED]      = "#ffffff"
    bg[INSENSITIVE]   = "#454545"
    fg[INSENSITIVE]   = "#000000"
}
widget "xfwm"                      style "titlebar"
class "MetaFrames"                 style "titlebar"
widget_class "MetaFrames"          style "titlebar"

for what it is worth :)
« Last Edit: September 28, 2013, 03:42:55 pm by overthere »
Logged
Everything Is Relative

overthere

  • Vectorian
  • ****
  • Posts: 1333
Re: Xfce themes
« Reply #4 on: September 30, 2013, 01:28:51 pm »

a variation with out the color for those who change the wallpaper

http://files.myopera.com/dsl-o/albums/550557/dark.png

Code: [Select]
# Dust_00

style "default"
{
    GtkButton::default_border                    = {0, 0, 0, 0}
    GtkButton::default_outside_border            = {0, 0, 0, 0}
    GtkButton::child_displacement_x              = 0
    GtkButton::child_displacement_y              = 1
    GtkButton::default_spacing                   = 4
    GtkButton::focus-padding                     = 0
    GtkCheckButton::indicator_size               = 8
    GtkMenuBar::internal-padding                 = 1
    GtkMenuBar::shadow_type                      = out
    GtkHandleBox::shadow_type                    = out
    GtkMenuItem::selected_shadow_type            = etched-in
    GtkPaned::handle_full_size                   = 1
    GtkPaned::handle_size                        = 4
    GtkRadioButton::indicator_size               = 10
    GtkRange::slider_width                       = 12
    GtkRange::stepper_size                       = 10
    GtkRange::stepper_spacing                    = 0
    GtkRange::trough_border                      = 0
    GtkScrollbar::has_backward_stepper           = 1
    GtkScrollbar::has_secondary_backward_stepper = 0
    GtkScrollbar::min_slider_length              = 10
    GtkToolbar::shadow_type                      = out
    GtkWidget::focus-line-width                  = 1
    GtkWidget::focus_padding                     = 1
    GtkWidget::interior_focus                    = 1
    GtkWidget::internal_padding                  = 2
    GtkEntry::cursor_color                       = "#fcfcfc"
    GtkEntry::secondary_cursor_color             = "#fcfcfc"
    GtkTextView::cursor_color                    = "#fcfcfc"
    GtkTextView::secondary_cursor_color          = "#fcfcfc"
    GtkEntry::cursor_aspect_ratio                = 0.1
    GtkEntry::cursor_aspect_ratio                = 0.1
   
    xthickness             = 1
    ythickness             = 1


    base[ACTIVE]      = "#757575"
    base[INSENSITIVE] = "#757575"
    base[NORMAL]      = "#999795"
    base[PRELIGHT]    = "#757575"
    base[SELECTED]    = "#757575"

    bg[ACTIVE]        = "#656565"
    bg[INSENSITIVE]   = "#505050"
    bg[NORMAL]        = "#454545"
    bg[PRELIGHT]      = "#909090"
    bg[SELECTED]      = "#C0C0C0"

    fg[ACTIVE]        = "#FFFFFF"
    fg[INSENSITIVE]   = "#303030"
    fg[NORMAL]        = "#FFFFFF"
    fg[PRELIGHT]      = "#000000"
    fg[SELECTED]      = "#FFFFFF"

    text[ACTIVE]      = "#FFFFFF"
    text[INSENSITIVE] = "#000000"
    text[NORMAL]      = "#000000"
    text[PRELIGHT]    = "#000000"
    text[SELECTED]    = "#FFFFFF"

    engine "xfce"
    {
smooth_edge = true
        boxfill
        {
            fill_style = plain
        }
    }
}
widget_class "*"                   style "default"

style "menustyle" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*BonoboDockItem"     style "menustyle"
class "*BonoboDockItem"            style "menustyle"
widget_class "*ToolBar"            style "menustyle"
class "*ToolBar"                   style "menustyle"
widget_class "*MenuBar"            style "menustyle"
class "*MenuBar"                   style "menustyle"

style "button" = "default"
{
    xthickness = 2
    ythickness = 2

    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = vertical
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
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 "*Tree*"            style "button"
# class "*Tree*"                   style "button"
# widget_class "*GtkScale*"        style "button"
# class "*GtkScale*"               style "button"

style "sbstyle" = "default"
{
    xthickness = 2
    ythickness = 2
    engine "xfce"
    {
        smooth_edge = true
        grip_style = none
        boxfill
        {
            fill_style = gradient
            orientation = automatic
            shade_start = 1.25
            shade_end = 1.00
        }
    }
}
widget_class "*Scrollbar*"         style "sbstyle"
class "*Scrollbar*"                style "sbstyle"
widget_class "*GtkScale*"          style "sbstyle"
class "*GtkScale*"                 style "sbstyle"

style "progress" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*GtkProgress*"       style "progress"
class "*GtkProgress*"              style "progress"

style "menuitem" = "default"
{
    xthickness = 1
    ythickness = 2
}

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

style "flat" = "default"
{
    xthickness = 2
    ythickness = 2
}
widget_class "*HandleBox"         style "flat"


# This is for the window borders (xfwm4 & metacity)
#
style "titlebar"
{
    bg[SELECTED]      = "#353535"
    fg[SELECTED]      = "#ffffff"
    bg[INSENSITIVE]   = "#454545"
    fg[INSENSITIVE]   = "#000000"
}
widget "xfwm"                      style "titlebar"
class "MetaFrames"                 style "titlebar"
widget_class "MetaFrames"          style "titlebar"



« Last Edit: October 01, 2013, 12:17:59 am by overthere »
Logged
Everything Is Relative