[Metisse] Initial work on Ia Ora theme for fvwm/metisse

Frederic Crozat fcrozat at mandriva.com
Fri Dec 8 17:33:33 CET 2006


Le jeudi 07 décembre 2006 à 15:34 +0100, Olivier Chapuis a écrit :
> Frederic Crozat a écrit :
> > Le mardi 05 décembre 2006 à 20:33 +0100, Olivier Chapuis a écrit :
> > 
> >>Frederic Crozat a écrit :
> >>>I've tried to digg in fvwm documentation but it is ... a little too
> >>>verbose for a newbie like me, so help would be greatly appreciated ;)
> >>>
> >>
> >>I've worked a bit on theming today too. I think that with the help of your
> >>files I will be able soon (tomorrow) to add the ia ora themes to the cvs.
> >>Let me finish the first step and then after you test/see we will be able to
> >>to complete the look part after a not too long thread.
> > 
> > 
> > Ok, I'll wait.
> > 
> 
> Done, both metisse and fvwm-insitu should be updated (do not update
> nucleo now). Then, you should backup and remove your  ~/.fvwm-metisse
> directory (I make some change in the all config to improve the
> theme "engine"). After that start again and ... you get the new
> Metisse default theme (work in progress). For Ia Ora:
> 
> WM Configuration -> Window Theme -> Ia_Ora
> 
> and
> 
> WM Configuration -> Window Theme -> Ia_Ora_blue
> 
> Note that WM Configuration is now available via the window menu.
> There is also the Ia_Ora_orange theme and we will be able to easily
> add a free and gray version. But first we should fix it (if needed).
>
> Any comments and propositions about the themes and the config
> in general is welcome.

Just tested, it is great.

The only things missing are :
-application icon : I've tried to use ButtonStyle 1 MiniIcon but I only
get an empty square.
-I'm using alpha level for button images in metacity to dark them for
mouse events (press / highlight). It seems IconAlpha would be the right
solution but it seems to be only available for Colorset, not
ButtonStyle.
-<nipicker mode=extreme>shortcurt text in window menu should be aligned
on the right side</nitpicker mode=extreme> :)

Also, does fvwm support _NET_WM_PING protocol to detect when application
is no longer responding : if it does, "Destroy" could be removed from
Window menu. I'm also wondering about the necessity about "Identity". It
is probably useful for you guys, when debugging metisse.

> I needed to add some features to fvwm-insitu (1 pixel title border
> and different shadows for the active and inactive window). The 1
> pixel title border patch introduce a bug (e.g., window change of
> size when theme are changed more than it should and there is a
> one or 2 pixels bug in maximize). I will fix this bug soon.

Window border (excluding title) in Ia Ora specification is a little
strange :
It is three pixels wide :
external border is 1 pixel wide color #CFD7DF
internal border is 2 pixels wide color #DFE7EF

Also, while debugging this, I discovered xmag doesn't work at all on
metisse : I can only get copy of root background..

> I do not found the colours that use the gnome panel and in particular
> "its" pager. Where I can found them? By the way I think that even with
> gnome-panel the fvwm Pager can be useful as a floating (autoraise)
> "panel" (there is an option for: WM Configuration -> Just a Pager,
> of course after that the gnome pager can be removed from the gnome-
> panel).

At the moment, GNOME pager doesn't handle viewports from fvwm very well
and it trying to create 4 workspaces in addition to the 9 viewports =>
32 desktops :)

I'm planning to disable gnome pager for LiveCD, in favor of Fvwm-insitu
Pager.

Colors used by pager are from gtkrc :
-active window : light version of gtk: bg[ACTIVE]. Try @blue0
-non active window: gtk: bg[ACTIVE] = @blue2 (can be blue, orange, grey,
etc, depending of the palette)

> One problem is that if we continue to change/improve the configuration
> system we (you for now) will have to backup-remove the  ~/.fvwm-metisse
> directory. If you want to edit it you can use the perl script attached
> to this message. Install it inside ~/.fvwm-metisse and edit the headers
> to set your cvs directory (the file lists should be updated too if a
> theme is added for instance). The point of the script is to convert
> metisserc and config into metisserc.in and config.in. Then, it will
> be more easy to make patches that you can send me or to the list or
> for your package to change the default themes.

Thanks, I'll keep that in mind.

-- 
Frederic Crozat <fcrozat at mandriva.com>
Mandriva



More information about the Metisse mailing list