two Color Themes

The standard theme switcher of LXDE - http://wiki.lxde.org/en/LXAppearance
lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

two Color Themes

Postby lodger » Mon Apr 28, 2014 10:23 am

Hello,
since I switched from F18 to F20 a strange thing happened:
although I have set a black Color Theme, some GTK programs (eg. pcmanfm, liferea, UGET) starts with gray colors theme.

why? I can not understand where it takes this gray theme...

my theme:
Image

gray theme:
Image

Thanks.
Last edited by lodger on Thu May 01, 2014 12:01 pm, edited 1 time in total.

drooly
Posts: 591
Joined: Mon Apr 08, 2013 6:45 am

Re: two Color Theme

Postby drooly » Mon Apr 28, 2014 6:24 pm

the gray theme is a non-theme.
the theme you chose is most probably a gtk3 only theme, and the applications you mentioned are gtk2 (at least pcmanfm is).
take a look inside your current themes folder and compare to other themes, it should become apparent (they should be in /usr/share/themes or ~/.themes).

lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: two Color Theme

Postby lodger » Thu May 01, 2014 11:36 am

drooly wrote:the gray theme is a non-theme.
the theme you chose is most probably a gtk3 only theme, and the applications you mentioned are gtk2 (at least pcmanfm is).
take a look inside your current themes folder and compare to other themes, it should become apparent (they should be in /usr/share/themes or ~/.themes).


thanks for reply.
I use Clearlooks theme. I tried to change theme but the problem remains.

Code: Select all

# ll -A /usr/share/themes
totale 768
drwxr-xr-x. 3 root root 4096  4 ago  2013 Adept
drwxr-xr-x. 6 root root 4096 26 apr 21.06 Adwaita
drwxr-xr-x. 6 root root 4096  9 feb  2013 Adwaita777
drwxr-xr-x. 3 root root 4096  3 ago  2013 AgingGorilla
drwxr-xr-x. 3 root root 4096  4 ago  2013 Agua
drwxr-xr-x. 3 root root 4096  4 ago  2013 Agualemon
drwxr-xr-x. 5 root root 4096 15 set  2013 Albatross
drwxr-xr-x. 3 root root 4096 31 gen  2013 Aldabra
drwxr-xr-x. 3 root root 4096  4 ago  2013 Alternate
drwxr-xr-x. 3 root root 4096 15 ago  2013 Artwiz-boxed
drwxr-xr-x. 4 root root 4096  4 ago  2013 Atlanta
drwxr-xr-x. 3 root root 4096  4 ago  2013 Atlanta2
drwxr-xr-x. 3 root root 4096  4 ago  2013 B5
drwxr-xr-x. 3 root root 4096  4 ago  2013 B6
drwxr-xr-x. 3 root root 4096  4 ago  2013 Basix
drwxr-xr-x. 3 root root 4096  4 ago  2013 BBS
drwxr-xr-x. 3 root root 4096 15 ago  2013 Bear2
drwxr-xr-x. 3 root root 4096  4 ago  2013 Beastie
drwxr-xr-x. 3 root root 4096  4 ago  2013 Biz
drwxr-xr-x. 3 root root 4096  4 ago  2013 Blackwall
drwxr-xr-x. 5 root root 4096  1 ott  2013 Bluebird
drwxr-xr-x. 3 root root 4096  3 ago  2013 Bright
drwxr-xr-x. 3 root root 4096  4 ago  2013 Buzz
drwxr-xr-x. 5 root root 4096 26 apr 21.02 Clearlooks
drwxr-xr-x. 3 root root 4096 15 ago  2013 Clearlooks-3.4
drwxr-xr-x. 4 root root 4096  3 ago  2013 ClearlooksClassic
drwxr-xr-x. 3 root root 4096 15 ago  2013 Clearlooks-Olive
drwxr-xr-x. 3 root root 4096 13 nov 21.30 ClearlooksRe
drwxr-xr-x. 3 root root 4096  4 ago  2013 Coldsteel
drwxr-xr-x. 3 root root 4096  4 ago  2013 Coolclean
drwxr-xr-x. 5 root root 4096  3 ago  2013 Crux
drwxr-xr-x. 3 root root 4096  4 ago  2013 Cruxish
drwxr-xr-x. 3 root root 4096  4 ago  2013 Curve
drwxr-xr-x. 3 root root 4096  4 ago  2013 Daloa
drwxr-xr-x. 7 root root 4096  4 ago  2013 Default
drwxr-xr-x. 3 root root 4096  4 ago  2013 Default-4.0
drwxr-xr-x. 3 root root 4096  4 ago  2013 Default-4.2
drwxr-xr-x. 3 root root 4096  4 ago  2013 Default-4.4
drwxr-xr-x. 3 root root 4096  4 ago  2013 Default-4.6
drwxr-xr-x. 3 root root 4096  4 ago  2013 Default-4.8
drwxr-xr-x. 3 root root 4096  4 ago  2013 Defcon-IV
drwxr-xr-x. 3 root root 4096 13 nov 21.30 Dopple
drwxr-xr-x. 3 root root 4096 13 nov 21.30 Dopple-Left
drwxr-xr-x. 3 root root 4096 13 nov 21.30 DustBlue
drwxr-xr-x. 3 root root 4096  4 ago  2013 Eazel-blue
drwxr-xr-x. 3 root root 4096  4 ago  2013 Elberg
drwxr-xr-x. 4 root root 4096 11 nov 18.15 Emacs
drwxr-xr-x. 3 root root 4096 13 nov 21.30 eOS
drwxr-xr-x. 3 root root 4096 26 apr 21.33 Equinox Evolution
drwxr-xr-x. 4 root root 4096 26 apr 21.33 Equinox Evolution Dawn
drwxr-xr-x. 3 root root 4096 26 apr 21.33 Equinox Evolution Dawn Squared
drwxr-xr-x. 4 root root 4096 26 apr 21.33 Equinox Evolution Dusk
drwxr-xr-x. 3 root root 4096 26 apr 21.33 Equinox Evolution Light
drwxr-xr-x. 4 root root 4096 26 apr 21.33 Equinox Evolution Midnight
drwxr-xr-x. 3 root root 4096 26 apr 21.33 Equinox Evolution Rounded
drwxr-xr-x. 3 root root 4096 26 apr 21.33 Equinox Evolution Squared
drwxr-xr-x. 3 root root 4096  3 ago  2013 Esco
drwxr-xr-x. 3 root root 4096  4 ago  2013 Exocet
drwxr-xr-x. 3 root root 4096  4 ago  2013 Fbx
drwxr-xr-x. 3 root root 4096  4 ago  2013 G2
drwxr-xr-x. 3 root root 4096  4 ago  2013 Galaxy
drwxr-xr-x. 3 root root 4096  4 ago  2013 Gaudy
drwxr-xr-x. 3 root root 4096  4 ago  2013 Gelly
drwxr-xr-x. 4 root root 4096 26 apr 21.02 Glider
drwxr-xr-x. 4 root root 4096 26 apr 21.02 Glossy
drwxr-xr-x. 3 root root 4096  4 ago  2013 Gnububble
drwxr-xr-x. 3 root root 4096  4 ago  2013 Gorilla
drwxr-xr-x. 7 root root 4096 30 mar 20.28 Greybird
drwxr-xr-x. 3 root root 4096  4 ago  2013 Gtk
drwxr-xr-x. 5 root root 4096 26 apr 21.06 HighContrast
drwxr-xr-x. 3 root root 4096  4 ago  2013 Iceg
drwxr-xr-x. 3 root root 4096  3 ago  2013 Industrial
drwxr-xr-x. 3 root root 4096  4 ago  2013 Kde
drwxr-xr-x. 3 root root 4096  4 ago  2013 Kde1
drwxr-xr-x. 3 root root 4096  4 ago  2013 Keramik
drwxr-xr-x. 3 root root 4096  4 ago  2013 Kindaker
drwxr-xr-x. 3 root root 4096  4 ago  2013 Kleanux
drwxr-xr-x. 3 root root 4096  4 ago  2013 Kokodi
drwxr-xr-x. 3 root root 4096  4 ago  2013 Koynacity
drwxr-xr-x. 3 root root 4096  4 ago  2013 Linea
drwxr-xr-x. 3 root root 4096  4 ago  2013 LineArt
drwxr-xr-x. 3 root root 4096  4 ago  2013 Meenee
drwxr-xr-x. 4 root root 4096  4 ago  2013 Metabox
drwxr-xr-x. 3 root root 4096  4 ago  2013 Microcurve
drwxr-xr-x. 3 root root 4096  4 ago  2013 Microdeck
drwxr-xr-x. 3 root root 4096  4 ago  2013 Microdeck2
drwxr-xr-x. 3 root root 4096  4 ago  2013 Microdeck3
drwxr-xr-x. 3 root root 4096  4 ago  2013 Microgui
drwxr-xr-x. 3 root root 4096 15 ago  2013 Mikachu
drwxr-xr-x. 4 root root 4096 26 apr 21.02 Mist
drwxr-xr-x. 3 root root 4096  4 ago  2013 Mofit
drwxr-xr-x. 3 root root 4096  4 ago  2013 Moheli
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaAquaIsh
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaCandy
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaCappuccino
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaEalm
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaFancyCandy
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaGilouche
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaLoveGray
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaNeoGraphite
drwxr-xr-x. 3 root root 4096 20 apr 20.26 MurrinaVerdeOlivo
drwxr-xr-x. 3 root root 4096 15 ago  2013 Natura
drwxr-xr-x. 3 root root 4096  4 ago  2013 Next
drwxr-xr-x. 5 root root 4096 26 apr 21.16 Nodoka
drwxr-xr-x. 3 root root 4096 15 ago  2013 Onyx
drwxr-xr-x. 3 root root 4096 15 ago  2013 Onyx-Citrus
drwxr-xr-x. 3 root root 4096  4 ago  2013 Ops
drwxr-xr-x. 3 root root 4096  4 ago  2013 Opta
drwxr-xr-x. 3 root root 4096 15 ago  2013 Orang
drwxr-xr-x. 3 root root 4096  4 ago  2013 Oroborus
drwxr-xr-x. 4 root root 4096 10 apr 15.03 oxygen-gtk
drwxr-xr-x. 3 root root 4096  4 ago  2013 Perl
drwxr-xr-x. 3 root root 4096  4 ago  2013 Pills
drwxr-xr-x. 3 root root 4096  4 ago  2013 Piranha
drwxr-xr-x. 3 root root 4096  4 ago  2013 Platinum
drwxr-xr-x. 3 root root 4096  4 ago  2013 Prune
drwxr-xr-x. 3 root root 4096  4 ago  2013 Quiet-purple
drwxr-xr-x. 3 root root 4096  4 ago  2013 Quinx
drwxr-xr-x. 3 root root 4096  4 ago  2013 R9X
drwxr-xr-x. 3 root root 4096 11 nov 18.15 Raleigh
drwxr-xr-x. 3 root root 4096  4 ago  2013 Redmond
drwxr-xr-x. 3 root root 4096  4 ago  2013 RedmondXP
drwxr-xr-x. 3 root root 4096  4 ago  2013 Retro
drwxr-xr-x. 3 root root 4096  4 ago  2013 Sassandra
drwxr-xr-x. 3 root root 4096  4 ago  2013 Silverado
drwxr-xr-x. 4 root root 4096  3 ago  2013 Simple
drwxr-xr-x. 3 root root 4096  4 ago  2013 Slick
drwxr-xr-x. 3 root root 4096  4 ago  2013 Slimline
drwxr-xr-x. 3 root root 4096  4 ago  2013 Smallscreen
drwxr-xr-x. 3 root root 4096  4 ago  2013 Smoke
drwxr-xr-x. 3 root root 4096  4 ago  2013 Smoothwall
drwxr-xr-x. 3 root root 4096 13 nov 21.30 Spidey
drwxr-xr-x. 3 root root 4096 13 nov 21.30 Spidey-Left
drwxr-xr-x. 3 root root 4096 13 nov 21.30 Splint
drwxr-xr-x. 3 root root 4096 13 nov 21.30 Splint-Left
drwxr-xr-x. 3 root root 4096  4 ago  2013 Stoneage
drwxr-xr-x. 3 root root 4096  4 ago  2013 Symphony
drwxr-xr-x. 3 root root 4096  4 ago  2013 Synthetic
drwxr-xr-x. 3 root root 4096 15 ago  2013 Syscrash
drwxr-xr-x. 3 root root 4096  4 ago  2013 Tabs
drwxr-xr-x. 3 root root 4096  4 ago  2013 Tgc
drwxr-xr-x. 3 root root 4096  4 ago  2013 Tgc-large
drwxr-xr-x. 3 root root 4096  4 ago  2013 Therapy
drwxr-xr-x. 3 root root 4096  3 ago  2013 ThinIce
drwxr-xr-x. 3 root root 4096  4 ago  2013 Today
drwxr-xr-x. 3 root root 4096  4 ago  2013 Totem
drwxr-xr-x. 3 root root 4096  4 ago  2013 Trench
drwxr-xr-x. 3 root root 4096  4 ago  2013 Triviality
drwxr-xr-x. 3 root root 4096  4 ago  2013 Tubular
drwxr-xr-x. 3 root root 4096  4 ago  2013 TUX
drwxr-xr-x. 3 root root 4096  4 ago  2013 Tyrex
drwxr-xr-x. 3 root root 4096  4 ago  2013 Variation
drwxr-xr-x. 3 root root 4096  4 ago  2013 Wallis
drwxr-xr-x. 3 root root 4096  4 ago  2013 Waza
drwxr-xr-x. 3 root root 4096  4 ago  2013 Wildbush
drwxr-xr-x. 3 root root 4096 11 feb  2013 Win2-7
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7Basic
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7Darth-Vader
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7Murrine-Aero
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7Murrine-AeroBlack
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7Murrine-AeroBlue
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7Murrine-AeroPink
drwxr-xr-x. 3 root root 4096 11 feb  2013 Win2-7Original
drwxr-xr-x. 4 root root 4096 11 feb  2013 Win2-7(Pixmap)
drwxr-xr-x. 4 root root 4096 13 nov 21.30 WinMe
drwxr-xr-x. 3 root root 4096 11 feb  2013 WLM9
drwxr-xr-x. 3 root root 4096 11 feb  2013 WLM9Black
drwxr-xr-x. 3 root root 4096 11 feb  2013 WLM9Green
drwxr-xr-x. 3 root root 4096 11 feb  2013 WLM9Human
drwxr-xr-x. 3 root root 4096 11 feb  2013 WLM9Pink
drwxr-xr-x. 3 root root 4096 11 feb  2013 WLM9Purple
drwxr-xr-x. 5 root root 4096  4 ago  2013 Xfce
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-4.0
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-4.2
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-4.4
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-4.6
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-b5
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-basic
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-cadmium
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-curve
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-dawn
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-dusk
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-kde2
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-kolors
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-light
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-orange
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-redmondxp
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-saltlake
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-smooth
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-stellar
drwxr-xr-x. 4 root root 4096  3 ago  2013 Xfce-winter
drwxr-xr-x. 3 root root 4096  4 ago  2013 ZOMG-PONIES!


Code: Select all

$ ll -A .themes
totale 4
drwxr-xr-x. 3 Pippo pippo 4096 21 gen 14.41 obtheme


Code: Select all

$ ll -A /usr/share/themes/Clearlooks
totale 20
drwxr-xr-x. 2 root root 4096 26 apr 21.00 gtk-2.0
-rw-r--r--. 1 root root 5980  3 ago  2013 index.theme
drwxr-xr-x. 2 root root 4096 26 apr 21.02 metacity-1
drwxr-xr-x. 2 root root 4096 26 apr 21.02 openbox-3

$ ll -A /usr/share/themes/Clearlooks/gtk-2.0
totale 12
-rw-r--r--. 1 root root 11457  3 ago  2013 gtkrc



Code: Select all

$ cat /usr/share/themes/Clearlooks/gtk-2.0/gtkrc

# Please keep this gtkrc in sync with the other ones from Clearlooks based themes.

gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#86ABD9\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#EDECEB\ntooltip_bg_color:#E7F3FD"

gtk-auto-mnemonics = 1

style "default" {
   xthickness = 1
   ythickness = 1

   #######################
   # Style Properties
   #######################
   GtkButton::child-displacement-x = 1
   GtkButton::child-displacement-y = 1
   GtkButton::default-border = { 0, 0, 0, 0 }
   GtkButton::image-spacing = 4
   GtkToolButton::icon-spacing = 4

   GtkCheckButton::indicator-size = 14

   GtkEntry::invisible-char = 0x2022

   GtkPaned::handle-size = 6

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

   GtkScale::slider-length = 23
   GtkScale::trough-side-details = 1

   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
   # The following line hints to gecko (and possibly other appliations)
   # that the entry should be drawn transparently on the canvas.
   # Without this, gecko will fill in the background of the entry.
   GtkEntry::honors-transparent-bg-hint = 1

   GtkEntry::progress-border = { 2, 2, 2, 2 }

   ####################
   # Color Definitions
   ####################
   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)

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

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

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

   engine "clearlooks" {
      colorize_scrollbar = TRUE
      reliefstyle = 1
      menubarstyle = 2
      toolbarstyle = 1
      animation = FALSE
      radius = 3.0
      style = GUMMY

      # Set a hint to disable backward compatibility fallbacks.
      hint = "use-hints"
   }
}

style "wide" {
   xthickness = 2
   ythickness = 2
}

style "wider" {
   xthickness = 3
   ythickness = 3
}

style "entry" {
   xthickness = 3
   ythickness = 3

   bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
   fg[SELECTED] = @text_color

   engine "clearlooks" {
      focus_color = shade (0.65, @selected_bg_color)
   }
}

style "spinbutton" {

   engine "clearlooks" {
      hint = "spinbutton"
   }
}

style "scale" {
   xthickness = 2
   ythickness = 2

   engine "clearlooks" {
      hint = "scale"
   }
}

style "vscale" {

   engine "clearlooks" {
      hint = "vscale"
   }
}

style "hscale" {

   engine "clearlooks" {
      hint = "hscale"
   }
}

style "scrollbar" {
   xthickness = 2
   ythickness = 2

   engine "clearlooks" {
      hint = "scrollbar"
   }
}

style "hscrollbar" {

   engine "clearlooks" {
      hint = "hscrollbar"
   }
}

style "vscrollbar" {

   engine "clearlooks" {
      hint = "vscrollbar"
   }
}

style "notebook_bg" {

   bg[NORMAL]        = shade (1.02, @bg_color)
}

style "button" {
   xthickness = 3
   ythickness = 3

   bg[NORMAL]        = shade (1.04, @bg_color)
   bg[PRELIGHT]      = shade (1.06, @bg_color)
   bg[ACTIVE]        = shade (0.85, @bg_color)
}

# The color is changed by the notebook_bg style, this style
# changes the x/ythickness
style "notebook" {
   xthickness = 3
   ythickness = 3
}

style "statusbar" {

   engine "clearlooks" {
      hint = "statusbar"
   }
}

style "comboboxentry" {

   engine "clearlooks" {
      # Note:
      # If you set the appears-as-list option on comboboxes in the theme,
      # then you should set this hint on the combobox instead.
      hint = "comboboxentry"
   }
}

style "menubar" {

        GtkWidget::window-dragging = 1

   engine "clearlooks" {
      hint = "menubar"
   }
}

style "menu" {
   xthickness = 0
   ythickness = 0

   bg[NORMAL]        = shade (1.08, @bg_color)

   engine "clearlooks" {
      radius = 0.0
   }
}

style "menu_item" {
   xthickness = 2
   ythickness = 3

   fg[PRELIGHT]      = @selected_fg_color
}

# This style is there to modify the separator menu items. The goals are:
# 1. Get a specific height.
# 2. The line should go to the edges (ie. no border at the left/right)
style "separator_menu_item" {
   xthickness = 1
   ythickness = 0

   GtkSeparatorMenuItem::horizontal-padding = 0
   GtkWidget::wide-separators = 1
   GtkWidget::separator-width = 1
   GtkWidget::separator-height = 7
}

style "frame_title" {

   fg[NORMAL]        = lighter (@fg_color)
}

style "treeview" {

   engine "clearlooks" {
      hint = "treeview"
   }
}

# The almost useless progress bar style
style "progressbar" {
   xthickness = 1
   ythickness = 1

   fg[PRELIGHT]      = @selected_fg_color

   engine "clearlooks" {
      # Explicitly set the radius for the progress bars inside menu items.
      radius = 3.0

      hint = "progressbar"
   }
}

# This style is based on the default style, so that the colors from the button
# style are overriden again.
style "treeview_header" = "default" {
   xthickness = 2
   ythickness = 1

   engine "clearlooks" {
      hint = "treeview-header"
   }
}

style "tooltips" {
   xthickness = 8
   ythickness = 4

   GtkWidget::new-tooltip-style = 1

   bg[NORMAL]        = @tooltip_bg_color
   fg[NORMAL]        = @tooltip_fg_color
}

style "nautilus_location" {

   bg[NORMAL]        = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
}

# Wrokaroudn style for places where the text color is used instead of the fg color.
style "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)
}

# Workaround style for menus where the text color is used instead of the fg color.
style "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)
}

# Workaround style for places where the fg color is used instead of the text color.
style "fg_is_text_color_workaround" {

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

# Style to set the toolbar to use a flat style. This is because the "New" button in
# Evolution is not drawn transparent. So if there is a gradient in the background it will
# look really wrong.
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
style "evo_new_button_workaround" {

   engine "clearlooks" {
      toolbarstyle = 0
   }
}


###############################################################################
# The following part of the gtkrc applies the different styles to the widgets.
###############################################################################

# The default style is applied to every widget
class "GtkWidget" style "default"

class "GtkSeparator" style "wide"
class "GtkFrame" style "wide"
class "GtkCalendar" style "wide"
class "GtkEntry" style "entry"

class "GtkSpinButton" style "spinbutton"
class "GtkScale" style "scale"
class "GtkVScale" style "vscale"
class "GtkHScale" style "hscale"
class "GtkScrollbar" style "scrollbar"
class "GtkHScrollbar" style "hscrollbar"
class "GtkVScrollbar" style "vscrollbar"

# General matching follows. The order is choosen so that the right styles override
# each other. EG. progressbar needs to be more important than the menu match.
widget_class "*<GtkNotebook>" style "notebook_bg"
# This is not perfect, it could be done better.
# (That is modify *every* widget in the notebook, and change those back that
# we really don't want changed)
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "notebook_bg"

widget_class "*<GtkButton>" style "button"
widget_class "*<GtkNotebook>" style "notebook"
widget_class "*<GtkStatusbar>*" style "statusbar"

widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
widget_class "*<GtkCombo>*" style "comboboxentry"

widget_class "*<GtkMenuBar>*" style "menubar"
widget_class "*<GtkMenu>*" style "menu"
widget_class "*<GtkMenuItem>*" style "menu_item"
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"

widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
widget_class "*.<GtkTreeView>*" style "treeview"

widget_class "*<GtkProgress>" style "progressbar"

# Treeview headers (and similar stock GTK+ widgets)
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"

# The window of the tooltip is called "gtk-tooltip"
##################################################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
##################################################################
widget "gtk-tooltip*" style "tooltips"

##########################################################################
# Following are special cases and workarounds for issues in applications.
##########################################################################

# Workaround for the evolution ETable (bug #527532)
widget_class "*.<ETable>.<ECanvas>" style "treeview_header"
# Workaround for the evolution ETree
widget_class "*.<ETree>.<ECanvas>" style "treeview_header"

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

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
# This is the part of the workaround that fixes the menus
widget "*.gtk-combobox-popup-menu.*" style "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.
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
# GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
# Nautilus when renaming files, and maybe other places.
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"

# See the documentation of the style.
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"


in /home/myname/ i haven't gtkrc file.
What should I do? please help me.

drooly
Posts: 591
Joined: Mon Apr 08, 2013 6:45 am

Re: two Color Themes

Postby drooly » Thu May 01, 2014 2:50 pm

please use lxappearance to change the theme:
press Alt+F2, type "lxappearance", press Enter.
In lxappearance, in the Widget tab, choose another theme, press apply.
then log out/in.
any difference?
try with different themes.

which programs use the "wrong" theme?
what's the name of the theme you are trying to use and where did you get it and how did you install it?

please also paste the output of:

Code: Select all

ls -al $HOME/.gtk*

lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: two Color Themes

Postby lodger » Thu May 01, 2014 4:43 pm

ok tranks, i have tried. now with oxygen-gtk theme, all gtk programs have the same color theme.
Indeed in the oxygen-gtk folder there are 2 folders ('gtk-2.0' and 'gtk-3.0')

I can't find a good "Clearlooks Theme" for gtk3, then I "solved" copying 'gtk-3.0' folder of 'oxygen-gtk' in 'Clearlooks' folder.

Code: Select all

$ ls -al $HOME/.gtk*
-rw-r--r--. 1 Pippo pippo 474 26 mag  2013 /home/pippo/.gtk-bookmarks

drooly
Posts: 591
Joined: Mon Apr 08, 2013 6:45 am

Re: two Color Themes

Postby drooly » Thu May 01, 2014 5:51 pm

do you understand now what's happening?
is this solved now?

ps: you can find LOADS of gtk themes on gnome-look.org.
you can find themes for openbox (lxde's window manager) on box-look.org.
it's best to find themes that have all 3 folders in the theme folder: gtk2, gtk3 and openbox.
some folks call this a "suite"

lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: two Color Themes

Postby lodger » Fri May 02, 2014 12:21 pm

yes, I "solved". for gtk2 programs i use Clearlooks theme, for gtk3 programs use oxygen-gtk theme.

On gnome-look.org i have downloaded "Clearlooks-Phenix Theme". It works on gtk3 programs, but i want to change the colors. What is the best GUI program for edit GTK3 Themes?

drooly
Posts: 591
Joined: Mon Apr 08, 2013 6:45 am

Re: two Color Themes

Postby drooly » Fri May 02, 2014 2:16 pm

there isn't really.
but you can try gnome-color-chooser, it's a very good app.

it isn't so hard to edit gtk theme files by hand, esp. if you just want to change a few colors.

happy modding!

lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: two Color Themes

Postby lodger » Fri May 02, 2014 6:52 pm

drooly wrote:it isn't so hard to edit gtk theme files by hand, esp. if you just want to change a few colors.


i tried to edit "/gtk-3.0/settings.ini" (of Clearlooks-Phenix Theme) but the colors doesn't changes.

original:

Code: Select all

[Settings]
gtk-color-scheme = "base_color:#ffffff\nbg_color:#edeceb\nfg_color:#000000\nselected_bg_color:#86abd9\nselected_fg_color:#ffffff\ntooltip_bg_color:#f5f5b5\ntooltip_fg_color:#000000\ntext_color:#1a1a1a\nlink_color:#0000ee\nvisited_link_color:#551a8b"
gtk-auto-mnemonics = 0
gtk-visible-focus = automatic




lodger
Posts: 33
Joined: Fri Mar 21, 2014 7:01 pm

Re: two Color Themes

Postby lodger » Tue May 06, 2014 11:14 am

drooly wrote:there isn't really.
but you can try gnome-color-chooser, it's a very good app.
!


I tried "gnome-color-chooser" but it opens only .GNOMECC files. in my themes folder (and in all my PC) I haven't file with that extension.


Return to “LXAppearance”

Who is online

Users browsing this forum: No registered users and 1 guest