Re: FVWM: Names/explanations of behavior

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 27 Jan 2002 19:35:14 +0100

On Sun, Jan 27, 2002 at 09:53:54AM -0800, hugo vanwoerkom wrote:
> In my enthusiasm for newfound tricks I incorporate
> changes to use the trick and then lose what the fvwm
> `name` is of a certain behavior (which I want to
> change). E.g:
>
> 1. I like the disappearing taskbar. But I can only get
> one mouse button to work:
> Case 1
> # Only right btn iconifies none other works
> *FvwmTaskBarAction Click1 RaiseAndFocus
> *FvwmTaskBarAction Click2 Close
> *FvwmTaskBarAction Click3 Iconify On
> Case 2
> # This way left button iconifies none others work
> *FvwmTaskBarAction Click3 RaiseAndFocus
> *FvwmTaskBarAction Click2 Close
> *FvwmTaskBarAction Click1 Iconify On
> Case 3
> # This way left button Raises and Focuses
> *FvwmTaskBarAction Click3 RaiseAndFocus
> #*FvwmTaskBarAction Click2 Close #
> #*FvwmTaskBarAction Click3 Iconify On #
>
> Any clues what I did before this to make that happen?
>
> 2. In the last case I left click to raise and focus
> somebody, but I cannot get to the window fast enough
> because it disappears again. What causes that?

Strange. Can you please post your whole FvwmTaskBar
configuration? What fvwm version do you have?

> 3. What should these do:
>
> Style "*" IconTitle mini-x2.xpm

The IconTitle style turns on displaying the name of the icon below
the picture. It does accept any additional arguments, though.
This is equivalent to simply

  Style "*" IconTitle

> Style "*xterm*" TitleIcon mini-term.xpm

Print an error message. There is no "TitleIcon" style. To
specify the picture for xterms this line should do:

  Style "xterm" Icon mini-term.xpm

You can find a complete description of all styles in the fvwm2 man

> 4. Can you AutoHide the MiniButton Bar?

No, only the task bar has AutoHide yet and it doesn't work well.
I have this in my config:

  Style FvwmButtons NoTitle, HandleWidth 1, TitleAtBottom

and

  AddToFunc ResizeOrRaise
  + C Raise
  + M Raise
  + M ResizeMaximize
  + D Current (Shaded) Raise
  + D WindowShade toggle
  Mouse 1 FS N Function ResizeOrRaise

So I can double click on the border of FvwmButtons to hide it at
the bottom of the screen. You could also use FvwmEvent to hide
and show the window when the pointer enters or leaves it:

  *FvwmEvent: focus_change "hide_show_buttons"

  AddToFunc StartFunction
  + I Module FvwmEvent

  AddToFunc hide_show_buttons
  + I Current (FvwmButtons) WindowShade off
  + I Current (!FvwmButtons) All (FvwmButtons) WindowShade on

  Style FvwmButtons NoTitle, HandleWidth 1, TitleAtBottom
  Style FvwmButtons MouseFocus

That doesn't work well if you have more than one button bar (you
could solve that problem with module aliases).

All this assumes that you have at least fvwm-2.4.0.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.de
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Sun Jan 27 2002 - 12:29:30 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST