Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
howto:xfwm4_theme [2014/01/09 23:25] – [Button offset and spacing] p0nghowto:xfwm4_theme [2014/01/28 14:13] – [Gtk Color pickup] philipp
Line 112: Line 112:
   * show_app_icon=false //#Shows the menu button//   * show_app_icon=false //#Shows the menu button//
  
-If you doesn't have a menu button, can be used a blank square. Or you cannot use this option.+If you don't have a menu button, you can use a blank square. Or you cannot use this option.
 ===== Gtk Color pickup ==== ===== Gtk Color pickup ====
-As you have no doubt noticed when using Xfwm4's default theme it is possible to make themes "pick-up" gtk theme colours. It's not just running the gimp and draw the buttonsMost themes use a color symbol table. That means the xpm file must be opened and edited by hand.+As you have no doubt noticed when using Xfwm4's default theme, the theme uses the colors of the current Gtk themeColors for an XFWM theme can be defined in the theme's themrc file. If they are not defined there, they are picked up from the current Gtk theme. The following colors are used:
  
-The color symbols are as follow : +^ Name ^ Gtk value ^ Description ^ 
-^ Name ^ Description ^ +| active_text_color          | fg[selected] | Text color on title for active window | 
-| active_text_color  | Text color on title for active window | +| inactive_text_color        | fg[insensitive] | Text color on title for inactive window 
-| inactive_text_color | Text color on title for inactive window | +| active_text_shadow_color   | dark[selected] | Shadow color for active window's title | 
-| active_border_color | Very rarely used usually set to black | +| inactive_text_shadow_color | dark[insensitive] | Shadow color for inactive window's title 
-| inactive_border_color | Idem | +| active_border_color        | fg[normal] | Very rarely used usually set to black | 
-| active_color_1 | Background color for active title | +| inactive_border_color      | fg[normal] | Idem | 
-| active_color_2 | Background color for active window | +| active_color_1             | bg[selected] | Background color for active title | 
-| active_hilight_1 | Lighter color for active title for 3D look | +| active_color_2             | bg[normal] | Background color for active window | 
-| active_hilight_2 | Lighter color for active window | +| active_hilight_1           | light[selected] | Lighter color for active title for 3D look | 
-| active_mid_1 | Slightly darker color for active title | +| active_hilight_2           | light[normal] | Lighter color for active window | 
-| active_mid_2 | Slightly darker color for active window | +| active_mid_1               | mid[selected] | Slightly darker color for active title | 
-| active_shadow_1 | Darker color for active title for 3D look | +| active_mid_2               | mid[normal] | Slightly darker color for active window | 
-| active_shadow_2 | Darker color for active window | +| active_shadow_1            | darkselected[] | Darker color for active title for 3D look | 
-| inactive_color_1 | Background color for inactive title | +| active_shadow_2            | dark[normal] | Darker color for active window | 
-| inactive_color_2 | Background color for inactive window | +| inactive_color_1           | bg[insensitive] | Background color for inactive title | 
-| inactive_hilight_1 | Lighter color for inactive title for 3D look | +| inactive_color_2           | bg[normal] | Background color for inactive window | 
-| inactive_hilight_2 | Lighter color for inactive window | +| inactive_hilight_1         | light[insensitive] | Lighter color for inactive title for 3D look | 
-| inactive_mid_1 | Slightly darker color for inactive title | +| inactive_hilight_2         | light[normal] | Lighter color for inactive window | 
-| inactive_mid_2 | Slightly darker color for inactive window | +| inactive_mid_1             | mid[insensitive] | Slightly darker color for inactive title | 
-| inactive_shadow_1 | Darker color for inactive title for 3D look | +| inactive_mid_2             | mid[normal] | Slightly darker color for inactive window | 
-| inactive_shadow_2 | Darker color for inactive window |+| inactive_shadow_1          | dark[insensitive] | Darker color for inactive title for 3D look | 
 +| inactive_shadow_2          | dark[normal] | Darker color for inactive window |
  
-The symbols get replaced by the actual color values at runtime so that the window borders inherits GTK theme colors automatically. +The Gtk values "fg" and "bg" are defined in the gtkrc file of the current Gtk theme. Please notice that the values "dark", "light" and "mid" can not be defined in the gtkrc but are computed (dark = 0.7 * bg, light = 1.3 * bg, mid = 0.5 * (dark + light)). 
-Xpm file format used natively by xfwm4 is no more than a plain text file that can be edited with your favorite text editor.+The symbols get replaced by the actual color values at runtime so that the window border can inherit Gtk theme colors automatically, unless they are defined in the themerc
 + 
 +To use the defined colors in the XFWM theme, the XPM files have to be edited. Since XPM files are plain text, they can be edited with your favorite text editor.
  
 ===== From Wikipedia, the free encyclopedia. ===== ===== From Wikipedia, the free encyclopedia. =====