Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howto:xfwm4_theme [2024/11/20 22:15] – Small write up for new stretched bitmap feature in 4.20 rozniak | howto:xfwm4_theme [2024/12/14 02:09] (current) – improved grammar & formatting kevinbowen | ||
---|---|---|---|
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 version 4.0, the themes are searched in the following directories: | ||
- | * User's home dir / | ||
- | * System' | ||
- | In Xfwm version 4.2, the theme location is in line with the standard, searched in the following directories: | + | ====== Window Components ====== |
- | + | ||
- | * User's home dir / | + | |
- | * System' | + | |
- | * System' | + | |
- | + | ||
- | [[|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 55: | 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 66: | 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: |
+ | |||
+ | As of Xfwm4 4.6, a new button effect of the active window is available called prelight. Hovering the mouse over the buttons, the picture becomes clearer. This can be used in all of the six active buttons. | ||
+ | |||
+ | [[|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: "/ | ||
- | Xfwm4 4.6 brings a new button effect of the active window called prelight. Hovering the mouse over the buttons, the picture becomes clearer. Can be used in the six active buttons. | + | The " |
[[|Back to Top]] | [[|Back to Top]] |