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/28 13:50] – Completed color list. Added Gtk color references. philipphowto:xfwm4_theme [2020/08/19 19:27] – change section header name kevinbowen
Line 16: Line 16:
  
     * User's home dir /.themes/theme_name/xfwm4 (e.g.: "/home/joe/.themes/b5/xfwm4")     * User's home dir /.themes/theme_name/xfwm4 (e.g.: "/home/joe/.themes/b5/xfwm4")
-    * System's shared data directory /themes/theme_name/xfwm4 (e.g.: "/usr/share/themes/b5/xfwm4"+    * System's shared data directory /themes/theme_name/xfwm4 controlled by the package manager (e.g.: "/usr/share/themes/b5/xfwm4"
- +    * System's shared data directory /local/themes/theme_name/xfwm4 controlled by the local administrator (e.g.: "/usr/local/share/themes/b5/xfwm4")
- +
 ===== Titlebar decorations ===== ===== Titlebar decorations =====
 As windows can be in either active ((focused)) or inactive ((unfocused)) states for which xfwm4 use pixmaps named accordingly e.g. title-1-active.xpm and title-1-inactive.xpm. As windows can be in either active ((focused)) or inactive ((unfocused)) states for which xfwm4 use pixmaps named accordingly e.g. title-1-active.xpm and title-1-inactive.xpm.
Line 124: Line 122:
 | inactive_border_color      | fg[normal] | Idem | | inactive_border_color      | fg[normal] | Idem |
 | active_color_1             | bg[selected] | Background color for active title | | active_color_1             | bg[selected] | Background color for active title |
-| active_color_2             | bg[normal]  Background color for active window |+| active_color_2             | bg[normal] Background color for active window |
 | active_hilight_1           | light[selected] | Lighter color for active title for 3D look | | active_hilight_1           | light[selected] | Lighter color for active title for 3D look |
 | active_hilight_2           | light[normal] | Lighter color for active window | | active_hilight_2           | light[normal] | Lighter color for active window |
Line 131: Line 129:
 | active_shadow_1            | darkselected[] | Darker color for active title for 3D look | | active_shadow_1            | darkselected[] | Darker color for active title for 3D look |
 | active_shadow_2            | dark[normal] | Darker color for active window | | active_shadow_2            | dark[normal] | Darker color for active window |
-| inactive_color_1           | bg[insensitive]  Background color for inactive title | +| inactive_color_1           | bg[insensitive] Background color for inactive title | 
-| inactive_color_2           | bg[normal]  Background color for inactive window |+| inactive_color_2           | bg[normal] Background color for inactive window |
 | inactive_hilight_1         | light[insensitive] | Lighter color for inactive title for 3D look | | inactive_hilight_1         | light[insensitive] | Lighter color for inactive title for 3D look |
 | inactive_hilight_2         | light[normal] | Lighter color for inactive window | | inactive_hilight_2         | light[normal] | Lighter color for inactive window |
Line 145: Line 143:
 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. 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. =====+===== XPM (X PixMap) format =====
 XPM (X PixMap) is an ASCII image format used by the X Window System. It was created in 1989 by Daniel Dardailler and Colas Nahaboo working in Inria Laboratories, France, and was later enhanced by Arnaud Le Hors. It is intended primarily for creating icons, and supports transparent color. It has a simple structure, deriving from the earlier XBM syntax. It can be created and manipulated using any text editor and can be included in a C language file. XPM (X PixMap) is an ASCII image format used by the X Window System. It was created in 1989 by Daniel Dardailler and Colas Nahaboo working in Inria Laboratories, France, and was later enhanced by Arnaud Le Hors. It is intended primarily for creating icons, and supports transparent color. It has a simple structure, deriving from the earlier XBM syntax. It can be created and manipulated using any text editor and can be included in a C language file.
  
Line 222: Line 220:
  
 ===== Xfwm 4.2 new functionality ===== ===== Xfwm 4.2 new functionality =====
-As simple as it is, the color symbol replacement table of the XPM format is not powerfull enough to achive the nice color gradients seen in most recent themes.+As simple as it is, the color symbol replacement table of the XPM format is not powerfull enough to achieve the nice color gradients seen in most recent themes.
  
 Xfwm 4.2 includes yet another functionality that gives real nice result while being still compatible with the previous theme format: It composes the final image from the XPM file and it colors replacement table, and another PNG file with transparency, if present. Xfwm 4.2 includes yet another functionality that gives real nice result while being still compatible with the previous theme format: It composes the final image from the XPM file and it colors replacement table, and another PNG file with transparency, if present.
Line 238: Line 236:
  
 ===== Conclusion ===== ===== Conclusion =====
-I hope this small "how-to" for creating themes for xfwm4 will help you design your own themes. It would be great if you could share your themes with others on [[http://www.themedepot.org]] (which is the prefered site for xfce related themes) or from [[http://themes.freshmeat.net]]. +I hope this small "how-to" for creating themes for xfwm4 will help you design your own themes. It would be great if you could share your themes with others on [[http://www.xfce-look.org]] (which is the preferred site for Xfce related themes) or from [[http://browse.deviantart.com/customization/skins/linuxutil/xfce/?alltime=yes#order=9]].
- +
-you can also find xfce theme at [[http://www.xfce-look.org]]+
  
 ===== List of frame and button part names ===== ===== List of frame and button part names =====