Hey, I have PNG Pixmaps for my Buttons in the places 2, 4, and 6. And I want to have an image under the buttons which is not bound to any of the buttons. My second problem is that I want rounded corners, and there is still a border going along the top. Here is a screenshot of my desktop and my Window Decor:
[code]#####
#Window Decor
###########
Colorset 1 fg white, bg grey30
Colorset 2 fg grey20, bg grey10, sh grey20, hi grey20
Colorset 4 fg white, bg Transparent
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
TitleStyle Centered Height 23
ButtonStyle Right (Pixmap $[fvwm_img]/buttonunder.png)
ButtonStyle 2
InactiveUp (Pixmap $[fvwm_img]/close.png)
InactiveDown (Pixmap $[fvwm_img]/closeactive.png)
ActiveUp (Pixmap $[fvwm_img]/closeactive.png)
ActiveDown (Pixmap $[fvwm_img]/closeactive.png)
ButtonStyle 4
InactiveUp (Pixmap $[fvwm_img]/maximize.png)
InactiveDown (Pixmap $[fvwm_img]/maximizeactive.png)
ActiveUp (Pixmap $[fvwm_img]/maximizeactive.png)
ActiveDown (Pixmap $[fvwm_img]/maximizeactive.png)
ButtonStyle 6
InactiveUp (Pixmap $[fvwm_img]/minimize.png)
InactiveDown (Pixmap $[fvwm_img]/minimizeactive.png)
ActiveUp (Pixmap $[fvwm_img]/minimizeactive.png)
ActiveDown (Pixmap $[fvwm_img]/minimizeactive.png)
TitleStyle AllActive MultiPixmap
Main TiledPixmap $[fvwm_img]/titlebar.png
LeftEnd AdjustedPixmap $[fvwm_img]/leftend.png
RightButtons AdjustedPixmap $[fvwm_img]/buttonunder.png
TitleStyle AllInactive MultiPixmap
Main TiledPixmap $[fvwm_img]/titlebar.png
LeftEnd AdjustedPixmap $[fvwm_img]/leftend.png
RightButtons AdjustedPixmap $[fvwm_img]/buttonunder.png
TitleStyle – Flat
ButtonStyle All – UseTitleStyle
BorderStyle Simple – NoInset Flat
BorderStyle Active TiledPixmap $[fvwm_img]/border.png
BorderStyle Inactive TiledPixmap $[fvwm_img]/border.png
Style “" UseDecor DefaultDecor
Style " ” Font “xft:Bitstream Vera Sans:Regular:size=8:antialias=True”
Style “" MWMBorder, FirmBorder
Style " ” Colorset 4
Style “" HilightColorset 4
Style " ” BorderColorset 4
Style “" HilightBorderColorset 4
Style " ” RoundedCorners
#Style “" BorderUnderTitle
Style " ” BorderWidth 1, HandleWidth 1
[/code]
Any help is appreciated.
Sprinky:
Hey, I have PNG Pixmaps for my Buttons in the places 2, 4, and 6. And I want to have an image under the buttons which is not bound to any of the buttons.
I don’t think you can so this, even if you use all the famous unofficial patches floating around.
… and you don’t want what? The border?
– Thomas Adam
I don’t want the border up top, and I’d like a border under the title (I’ll most likely change the Main Pixmap for my TitleStyle to have the border there), and I want to be able to see the pixmap I want under the buttons.
Well, to give a bit of help: This is how I want FVWM to look:
Screeny. Don’t mind the text.
EDIT: I’ve made a load of progress (After rewriting my WindowDecor section), and I just need to place another image right after the buttons. Here is the new WindowDecor section:
[code]#####
#Window Decor
###########
Colorset 1 fg white, bg white, RootTransparent buffer
Colorset 2 fg grey20, bg grey10, sh grey20, hi grey20
Colorset 4 fg white, bg Transparent
Colorset 5 fg white, bg, white, RootTransparent buffer
DestroyDecor DefaultDecor
AddToDecor DefaultDecor
TitleStyle Centered Height 23
ButtonStyle Reset
ButtonStyle All Active (Colorset 1 – flat) Inactive (Colorset 1 – flat)
AddButtonStyle 2 TiledPixmap $[fvwm_img]/under.png – flat
AddButtonStyle 4 TiledPixmap $[fvwm_img]/under.png – flat
AddButtonStyle 6 TiledPixmap $[fvwm_img]/under.png – flat
AddButtonStyle 6 Active Pixmap $[fvwm_img]/minimizeactive.png – flat
AddButtonStyle 6 Inactive Pixmap $[fvwm_img]/minimize.png – flat
AddButtonStyle 4 Active Pixmap $[fvwm_img]/maximizeactive.png – flat
AddButtonStyle 4 Inactive Pixmap $[fvwm_img]/maximize.png – flat
AddButtonStyle 2 Active Pixmap $[fvwm_img]/closeactive.png – flat
AddButtonStyle 2 Inactive Pixmap $[fvwm_img]/close.png – flat
TitleStyle AllActive MultiPixmap
Main TiledPixmap $[fvwm_img]/titlebar.png
LeftEnd AdjustedPixmap $[fvwm_img]/leftend.png
RightEnd AdjustedPixmap $[fvwm_img]/rightbefore.png
TitleStyle AllInactive MultiPixmap
Main TiledPixmap $[fvwm_img]/titlebar.png
LeftEnd AdjustedPixmap $[fvwm_img]/leftend.png
RightEnd AdjustedPixmap $[fvwm_img]/rightbefore.png
TitleStyle – Flat
ButtonStyle All – UseTitleStyle
BorderStyle Simple – NoInset
BorderStyle Active TiledPixmap $[fvwm_img]/border.png
BorderStyle Inactive TiledPixmap $[fvwm_img]/border.png
Style “" UseDecor DefaultDecor
Style " ” Font “xft:Bitstream Vera Sans:Regular:size=8:antialias=True”
Style “" MWMBorder, FirmBorder
Style " ” Colorset 4
Style “" HilightColorset 4
Style " ” BorderColorset 4
Style “" HilightBorderColorset 4
Style " ” RoundedCorners
Style “*” BorderWidth 1, HandleWidth 1
[/code]
And here is a screeny:
All that’s left to be done is the pixmap right of the right buttons, and removing the border on top while possibly keeping the border around the actual window.
Some of the stuff would need some patching. Here you can find some patches:
abdn.ac.uk/~u15dm4/fvwm/
Though the patches in that page won’t work with current fvwm, so if you are using a recent version or cvs, you will need to use this tarball I am hosting:
jesgue.homelinux.org/fvwm-files/fvwm.php
Download the latest fvwm-patchset* file and try.
The descriptions and instructions on how to use each patch are on the first link in this same post. I can’t help there, because I use simple setups and never bothered about pixmaps, fancy decos and such. Those updated patches should work, but I did not test them at all and I don’t even know even if they were ok on their original form, so, if something weird happen, don’t be surprised.
6thpink, if I’m not mistaken, I used the ebuild you made for the Live-Ebuilds overlay for Gentoo… So unless you didn’t include the patchset, I’ve got them.
Sprinky:
6thpink, if I’m not mistaken, I used the ebuild you made for the Live-Ebuilds overlay for Gentoo… So unless you didn’t include the patchset, I’ve got them.
If you used that ebuild and the “extras” USE flag, then you should have most of those patches running. I thought you were using a vanilla fvwm.
Well, just to be safe: I’ll recompile if ‘extras’ isn’t in make.conf.
Thanks for all the help 6thpink and thomas_adam