Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| howto:xfwm4_theme [2024/12/14 00:19] – Clean up examples. Add link to Freedesktop standard kevinbowen | howto:xfwm4_theme [2025/07/07 13:08] (current) – [Xfwm 4.20 new functionality] Correct top/title part name for xfwm#871 rozniak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | ====== Xfwm4 theme how-to ====== | + | ====== Xfwm4 Window Component and Theming |
| - | + | ||
| + | * **[[#Window Components|Window Components & Definitions]]** | ||
| + | * **[[# | ||
| + | * **[[#Window Sidebars and bottom|Window Sidebars and bottom]]** | ||
| + | * **[[#Xfwm4 Buttons|Xfwm4 Buttons]]** | ||
| * **[[#Themes locations|Themes locations]]** | * **[[#Themes locations|Themes locations]]** | ||
| - | * **[[# | ||
| - | * **[[#Window Sidebars and bottom|Window Sidebars and bottom]]** | ||
| - | * **[[#Xfwm4 Buttons|Xfwm4 Buttons]]** | ||
| * **[[# | * **[[# | ||
| * **[[#Gtk Color pickup|Gtk Color pickup]]** | * **[[#Gtk Color pickup|Gtk Color pickup]]** | ||
| Line 25: | Line 24: | ||
| ---- | ---- | ||
| - | ===== Themes locations ===== | ||
| - | In Xfwm4, desktop themes are searched for in the following directories: | ||
| - | * User's home directory | ||
| - | * '' | ||
| - | * For example: "/ | ||
| - | * System' | ||
| - | * "/ | ||
| - | * For example: "/ | ||
| - | * System' | ||
| - | * "/ | ||
| - | * For example: "/ | ||
| - | The " | + | ====== Window Components ====== |
| - | + | ||
| - | [[|Back to Top]] | + | |
| - | ---- | + | |
| ===== 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 | + | For title bar decorations, |
| - | For title bar decorations, xfwm4 uses 5 pixmaps named title-1-active.xpm | + | |
| + | Windows can be in either an active(i.e. focused) or inactive(i.e. unfocused) state. | ||
| | {{ howto: | | {{ howto: | ||
| | Figure 2 - The pixmaps that compose the whole window | | Figure 2 - The pixmaps that compose the whole window | ||
| - | The same naming convention is true for unfocused windows with the word inactive substituted.e.g. title-1-inactive.xpm | ||
| - | Title text colour | + | The same naming convention is true for unfocused windows with the word " |
| + | |||
| + | Title text colour, shadow options, alignment, etc. are set in the [[# | ||
| [[|Back to Top]] | [[|Back to Top]] | ||
| Line 58: | Line 45: | ||
| ===== Window Sidebars and bottom ===== | ===== Window Sidebars and bottom ===== | ||
| - | Each side of a window is made up of two pixmaps. The pixmaps on the left side are named left-active.xpm and bottom-left-active.xpm. with the right side (of course) being made up of right-active.xpm and bottom-right-active.xpm. | ||
| - | The Window bottom grab bar is made up of bottom-active.xpm and bottom-inactive.xpm pixmaps | + | Each side of a window |
| - | N.B These pixmaps also make up the mouse grab handles | + | The Window bottom grab bar is made up of '' |
| + | |||
| + | **Note: | ||
| [[|Back to Top]] | [[|Back to Top]] | ||
| Line 69: | Line 57: | ||
| ===== Xfwm4 Buttons ===== | ===== Xfwm4 Buttons ===== | ||
| - | Xfwm4 can use up to six action buttons | + | Xfwm4 can use up to six action buttons: |
| + | * stick (sticky windows) | ||
| + | * menu | ||
| + | * shade | ||
| + | * hide | ||
| + | * maximize | ||
| + | * close. | ||
| - | Buttons have active ((focused)), inactive ((unfocused)), prelight | + | Buttons |
| - | AbiWord Image menu-active.gif | + | * active(i.e. focused) |
| + | * inactive(i.e. unfocused) | ||
| + | * prelight | ||
| + | * pressed states | ||
| + | |||
| + | As per figure | ||
| ^ Figure 3 - Xfwm4 button states ^ | ^ Figure 3 - Xfwm4 button states ^ | ||
| - | | {{howto: | + | | {{howto: |
| - | Xfwm4 can also used " | + | Xfwm4 can also use " |
| - | AbiWord Image stick-active.gif | + | - On the left: |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| ^ Figure 4 - Stick buttons with extra toggled buttons ^^ | ^ Figure 4 - Stick buttons with extra toggled buttons ^^ | ||
| - | | {{howto: | + | | {{howto: |
| - | Xfwm4 4.6 brings | + | As of Xfwm4 4.6, a new button effect of the active window |
| + | |||
| + | [[|Back to Top]] | ||
| + | ---- | ||
| + | |||
| + | ===== Themes locations ===== | ||
| + | In Xfwm4, desktop themes are searched for in the following directories: | ||
| + | |||
| + | * User's home directory | ||
| + | * '' | ||
| + | * For example: "/ | ||
| + | * System' | ||
| + | * "/ | ||
| + | * For example: "/ | ||
| + | * System' | ||
| + | * "/ | ||
| + | * For example: "/ | ||
| + | |||
| + | The " | ||
| [[|Back to Top]] | [[|Back to Top]] | ||
| Line 324: | Line 348: | ||
| ^ Original | ^ Original | ||
| | top-left-active | | top-left-active | ||
| - | | top-active | + | | title-active |
| | top-right-active | | top-right-active | ||
| | left-active | | left-active | ||