Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-10-11 13:37:58

infinite
Member
Registered: 2015-11-03
Posts: 91

Theme replaced by the default

Hi,

I created a fork from thinice back in trusty which works fine then, but when i select it with "xfce4-appearance-settings" on ubuntu xenial , its replaced by "Raleigh" :
The Selection stay on my theme but the changes are those of Raleigh .
It does that only for this theme ; i don't get it :?

Does it work on others systems ?

style "default"
{
  GtkOptionMenu::indicator_spacing = { 3, 2, 1, 1 }
  GtkEntry::progress-border = { 1, 1, 1, 1 }

  #GtkRange Style Properties
  GtkRange::slider_width = 20
  GtkRange::stepper_size = 25
  GtkRange::trough-side-details = 1 
  GtkRange::trough-under-steppers = 0 
#------------------------------------------------------

  #GtkScrollbar Style Properties
  #GtkScrollbar::fixed-slider-length = 1 
  GtkScrollbar::min_slider_length = 200 
  GtkScrollbar::has-secondary-forward-stepper = 1 
  GtkScrollbar::has-secondary-backward-stepper = 1 
#------------------------------------------------------------------

  GtkCheckButton::indicator_size = 10
  GtkCheckMenuItem::indicator_size = 10
  GtkButton::default_border = { 0, 0, 0, 0 }


  fg[SELECTED]      = "#433C3C" #title window active_text_color 
  fg[INSENSITIVE]   = "#B63939" #title window inactive_text_color 

  fg[NORMAL]        = "#000000" #menu window button active & inactive text color
				#desktop label icon color
 				
  fg[ACTIVE]        = "#000000" #panel bouton active label color
				#menu bouton selected label color

  fg[PRELIGHT]      = "#000000" #panel menu bouton prelight label color
				#app menu bottons background color if none 

  bg[SELECTED]      = "#BF3876" #workspace plugin panel background color

  base[PRELIGHT]    = "#FF0000" #icon prelight color in menu parameters

  text[INSENSITIVE] = "#F971CF" #xfce4-panel ,add elements: notify zone label color

  base[INSENSITIVE] = "#9AFF00" #background insensitive color in keybord settings (text zone)

  bg[NORMAL]        = "#DC5F47" #normal fg scrollbar color
				#window active & inactive title bg color 
				#border_color
				#menu window color

  bg[ACTIVE]        = "#BF3876" #background scrollbar color
				#panel menu bouton selected background color

  bg[PRELIGHT]      = "#FF0000" #prelight scrollbar color
				#panel menu bouton prelight background color
				

  bg[INSENSITIVE]   = "#DC5F47" #background bouton up-down srollbar color
				#background xfce4-panel preference boutons

  base[NORMAL]      = "#DC5F47" #major color&background color in entrys

  text[ACTIVE]      = "#000000" #text foreground prelight color ,appear first with whisker&appifinder #do @fg_color(active) 
  base[ACTIVE]      = "#BF3876" #text background prelight color #do @bg_color(active)

  text[NORMAL]      = "#FFFFFF"
  text[SELECTED]    = "#FFFFFF"  
  base[SELECTED]    = "#4A348E" #background text selected color 

  text[PRELIGHT]    = "#00FF83" #prelight foreground on bouton select panel of xfce4-panel preference


 #font_name = "Sans 12"
 engine "thinice"
  {
    # Do you want the scrollbar handles rectangular or a bit shaped?
    rect_scrollbar = FALSE

    # The following variables are semi-generic, can be applied to
    # different widget classes etc..

    # Mark type 1 is used on scrollbar handles, handleboxes etc
    # Can be: NOTHING, SLASH, INVSLASH, DOT, INVDOT
    mark_type1 = SLASH

    # Mark type 2 is used on scrollbar buttons
    # Can be: NOTHING, SLASH, INVSLASH, DOT, INVDOT, ARROW
    mark_type2 = ARROW

    # How to draw paned stuff
    # Can be: NONE, SOME (currently 5), FULL
    paned_dots = SOME
  }

}

style "tooltips" {
  bg[NORMAL] = "#EEE1B3"
  fg[NORMAL] = "#000000"
}

style "progress-bar" {
  bg[PRELIGHT] = "#336699"
  fg[PRELIGHT] = "#FFFFFF"
  bg[NORMAL]   = "#C1C1CC"
}

style "menu-item" {
  bg[PRELIGHT]   = "#000000" #xfce appmenu background color
  fg[PRELIGHT]   = "#FFFFFF"
  base[PRELIGHT] = "#336699" #Where exactly can we see it ??
  text[PRELIGHT] = "#FFFFFF" #Where exactly can we see it ??
}

style "entry" {
  bg[SELECTED] = "#0034FF"
  fg[SELECTED] = "#000000"
}

class "GtkWidget" style "default"
widget "gtk-tooltip*" style "tooltips"
class "GtkProgressBar" style "progress-bar"
class "*MenuItem*" style "menu-item"
class "GtkEntry" style "entry"
widget_class "*MenuItem*" style "menu-item"
widget_class "*.GtkAccelMenuItem.*" style "menu-item"
widget_class "*.GtkRadioMenuItem.*" style "menu-item"
widget_class "*.GtkCheckMenuItem.*" style "menu-item"
widget_class "*.GtkImageMenuItem.*" style "menu-item"
widget_class "*.GtkSeparatorMenuItem.*" style "menu-item"
widget_class "*.GtkRadioMenuItem.*" style "menu-item"

Offline

#2 2016-10-11 14:10:46

onkelho
Member
Registered: 2010-07-28
Posts: 21

Re: Theme replaced by the default

Have you edit the index.theme in /usr/share/theme/thinice/... ?
Otherwise set the first line on your posting to  ->    style "thinice"
and on bottom of this > class "GtkWidget" style "thinice"

test it, i not knowing enough

Last edited by onkelho (2016-10-11 14:12:48)

Offline

#3 2016-10-11 15:00:12

infinite
Member
Registered: 2015-11-03
Posts: 91

Re: Theme replaced by the default

thnaks but ,

That doesn't explain that it worked on trusty and not now , so :
tested & didn't work

Offline

#4 2016-10-11 15:24:51

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Theme replaced by the default

Your theme works fine here. I created a ~/.themes/ThinIce_modded/gtk-2.0/gtkrc file with the content from your first post.

Do you have anything in ~/.gtkrc-2.0 that might be taking precedence or interfering?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2016-10-11 15:58:53

infinite
Member
Registered: 2015-11-03
Posts: 91

Re: Theme replaced by the default

Ah , i had a ~/.local/share/themes folder with the same dir theme .
Works fine after solving this .

Last edited by infinite (2016-10-11 16:05:12)

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 545.09 KiB (Peak: 546.37 KiB) ]