Le Mon, 18 Jun 2007 08:16:50 -0400,
George Nychis <[EMAIL PROTECTED]> a écrit :

> Hey all,
> 
> Fvwm-crystal is not very multiple screen support friendly.  The desktop 
> pager sits dead in the middle of the two screens and is very hard to 
> see.  The clock and minimize tray sits on the left monitor, while the 
> trayer (i think thats what its called) sits on the right screen.  So 
> things are all over the place.
> 
> I shifted the desktop pager to the center of the left screen by hacking 
> up the FvwmPager-Width and Geometry.
> 
> I want to figure out how to shift the clock and minimize bar to the 
> right screen but haven't figured that one out yet.
> 
> - George
> 

The code for this is in the recipes. So, it depend of the recipe you are using.

Another issue is at I have only one monitor and don't know if it is some fvwm
function for multiple screen. But I guess at you will have to hack a recipe.
Whe you will be done with the first recipe, it will be easier to adapt the
other ones if needed.

If I take a look, as example, in the Thin recipe, all the different parts of
the bottom bar are defined as FvwmButtons.

From
# Main panel with FVWM-Crystal menu {{{1
to
Module FvwmButtons FvwmButtons-MainMenu

you have the definition of the left most button with the menu.

After, you have the trayer or notification area, followed by the Music button,
followed by the bottom panel (window list + pager), and last the clock.

For the geometry, some of those buttons are easy to understand because they are
using fixed geometry (Menu button and clock). The others use some Piperead
commands to get their geometry on the fly.

As example for the bottom pannel:
PipeRead 'echo *FvwmButtons-BotPanel: Geometry
$(($[vp.width]-$(($[trayer_width]+190+$[AppPanelGeom]))))x$[FvwmPager-Height]-60--1'

in which $[vp.width] is the width of the screen in pixels; $[trayer_width] is
defined by the prefs (number of icons * 24); 190 is the width of the menu
button + the width of the 2 buttons audio panel; $[AppPanelGeom] is the width
of the extra audio button (0 for no extra button or 24 for 1 extra button at
that time); $[FvwmPager-Height] is the height of the bottom panel, 60 is the
width of the clock.

If I remember well, Fvwm have some commands to deal with multiple screen, but
I don't remember which ones. You must read fvwm man page. It you don't find
it, ask on the fvwm forum or on the fvwm channel on freenode (IRC).

I will be very interesting to see you recipe when it will be working as
expected. I can even add it into my repository if you agree.

Cheers,
Dominique


_______________________________________________
fvwm-crystal-users mailing list
fvwm-crystal-users@gna.org
https://mail.gna.org/listinfo/fvwm-crystal-users

Reply via email to