Help with a few things for FvwmPager

Here’s a screenshot of my FvwmPager:

Here’s my config for it:

[code]#####

FvwmPager

###########
Style “FvwmPager” NoTitle, !Handles, !Borders, Sticky, WindowListSkip,
CirculateSkip, StaysOnBottom, FixedSize, !Iconifiable

DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 250x250-0+600
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 10
*FvwmPager: BalloonColorset * 9
*FvwmPager: WindowColorsets 9 10
*FvwmPager: Font “xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True”
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True
*FvwmPager: BallonYOffset +2
*FvwmPager: Window3dBorders
*FvwmPager: MiniIcons
*FvwmPager: UseSkipList
*FvwmPager: Rows 3
[/code]

What I would like with it is:

  1. Make it translucent. I have the translucency patch installed.

  2. Make it moveable by clicking on the the titles of the desktops.

  3. Give it rounded edges.

  4. Auto-Hide it. Meaning that it hides off screen until I mouse over the edge of the screen and it appears. I don’t move accross the virtual desktop by putting my mouse on the edge so it woudl work.

I am a noob to Fvwm, so if you could help me with this (or just tell me if these are possible or not) AND/OR link me to a guide/howto that would teach me how to do this, it would be greatly appreciated.

I’m not realy good and I don’t know how to do all of theses but…

It is not possible, translucent property work only with menus…

I think it is possible but I don’t know how to do that… look at the man maybe…
[edit] I search a little in FvwmPager manpage and i found nothing…

You must cheat fot the and swallow it in an FvwmButtons to get the rounded corner…

I don’t know… sorry

  1. You can’t make it translucent, but CAN make it transparent.

  2. Interesting… you could just put the Title back?

  3. For this, and question 1, see zensites.net/fvwm/guide/adva … ttons.html

  4. You can do it at least with three ways (I think). Either with EdgeCommand, or with fakeclicks and fvwmevent (of this I’m not sure), or autohider. Check out the FAQ. Iirc, there is example of FvwmAuto -hider.

looking at the guide here: zensites.net/fvwm/guide/adva … ttons.html

It says to “How this works is I create a transparent .xpm file (as shown below), using the transparent part of the pixmap to describe the Shape of the window (Buttons).”

Using gimp how would I create a transparent rectangle with rounded edges?

Also, I got Fvwm Buttons to swallow fvwm pager, but now I have 2 pagers, and there’s a clock on the top left corner of my the FvwmButtons with FvwmPager. What I want is to hide the actually FvwmPager and just show the buttons with the Pager swallowed.

Here’s the configs for both of theme

[code]#####

FvwmPager

###########
Style “FvwmPager” NoTitle, !Handles, !Borders, Sticky, WindowListSkip,
CirculateSkip, StaysOnBottom, FixedSize, !Iconifiable

DestroyModuleConfig FvwmPager: *
*FvwmPager: Geometry 250x250-0+600
*FvwmPager: Colorset * 9
*FvwmPager: HilightColorset * 10
*FvwmPager: BalloonColorset * 9
*FvwmPager: WindowColorsets 9 10
*FvwmPager: Font “xft:Sans:Bold:pixelsize=12:minspace=True:antialias=True”
*FvwmPager: Balloons All
*FvwmPager: BalloonFont "xft:Sans:Bold:pixelsize=12:minspace=True:antialias=Tru$
*FvwmPager: BallonYOffset +2
*FvwmPager: Window3dBorders
*FvwmPager: MiniIcons
*FvwmPager: UseSkipList
*FvwmPager: Rows 3
[/code]

[code]####

Pager

##########

DestoryModuleConfig DockButtons *
Style “DockButtons” NoTitle, !Handles, !Borders, Sticky, WindowListSkip,
CirculateSkip, StaysOnBottom, FixedPosition, FixedSize, !Iconifiable

*DockButtons: Geometry 250x250-0+0
*DockButtons: Rows 25
*DockButtons: Columns 25
*DockButtons: (25x25, Frame 0,
Swallow FvwmPager ‘Module FvwmPager’)
[/code]

Thanks for your continued help.

Usually, fvwm contains a learning curve. It seems you’d like to skip all that, eh?
Fair enough, here’s the relevant code for things you’d like:

Module FvwmButtons DockButtons # (Or, with AddToFunc StartFunction + I FvwmButtons DockButtons)
*DockButtons: (Swallow FvwmPager "Module FvwmPager")

*FvwmPager: WhatEverOptions you'd like

So, basically, if you have lines like:

Module FvwmPager blahblah

Or,

AddToFunc StartFunction
+ I FvwmPager blahblah

Means you’re starting that as a stand-alone process, whereas

*FvwmButtons (Swallow "FvwmPager" "Module FvwmPager")

Means that FvwmButtons is going to execute the FvwmPager if it can’t find one running. That’s where you end up with having 2 pagers.

With Gimp, you’d just make an appropriate sized picture (transparent), and choose from the menu -> “Select -> Rounded rectangle | Select -> Invert | Edit -> Fill with FG colour” where ForeGround colour would be black, and save that as xpm.

looking at this line here

  Shape dock-mask.xpm

For the shape of FvwmButtons, where would the dock-mask.xpm have to be? Thanks for all of your help.

Somewhere in your ImagePath -variable.
Check the configuration you’re using for a line like:
ImagePath /some/path
Or, then you could just point the image definition in the right place inside the Shape option, ie. Shape /path/to/the/image.xpm

ok, well I created a 250x250 rounded transparent rectangle shape in gimp, but my FvwmButtons does not have rounded edges. Here’s my dock-mask.xpm

s39.yousendit.com/d.aspx?id=16H1 … E4IJVPHS5D

And here is the section for the FvwmButtons Pager.

####
# Pager
##########


Style "DockButtons" !Title, !Handles, Sticky, WindowListSkip, \
        CirculateSkip, BorderWidth 0, HandleWidth 0
Colorset 15 RootTransparent, fg rgb:00/00/00, bg average, \
  Tint white 40, bgTint white 40, RootTransparent, \
  Shape /home/mike/dock-mask.xpm
Colorset 16 RootTransparent, fg rgb:00/00/00, bg average, \
  Tint white 40, bgTint white 40, RootTransparent

DestoryModuleConfig DockButtons *
*DockButtons: Geometry 250x250-0+600
*DockButtons: Rows 25
*DockButtons: Columns 25
*DockButtons: (25x25, Frame 0, \
        Swallow FvwmPager 'Module FvwmPager 0 2')

Anyone know what I’m doing wrong?

Has the xpm black corners, and otherwise transparent?
The zensites guide is very step-by-step.
Does the DockButtons have colorset 15 defined in it?
Ie.

*DockButtons: Colorset 15

?
Test it with putting the xpm in your imagepath, too.
(Then it would become just Shape name.xpm)

The line *DockButtons: Colorset 15 is all I needed,
though. Llooking at the zensights guide, I thought that the colorset would also make the FvwmButtons transparent to some degree. Was I wrong, because my FvwmButtons is not transparent.

EDIT: Watching the FvwmButtons load up after restarting Fvwm, it appears that the FvwmButtons is transparent as it loads, but when it swallows the FvwmPager, it is actually the pager that is not transparent.

Then just define the Pager to be transparent;
like so:

Colorset 0 Transparent

*FvwmPager: Colorset * 0
*FvwmPager: HilightColorset * 0

Sooner or later you really, really should read the manual pages.
Namely:
man fvwm
man FvwmTheme
man FvwmPager
man FvwmButtons
etc.

Because you’re going to need ParentalRelativity at some point if you’re playing around with transparency… :wink: