Re: FVWM: Lots of fun Fvwm questions

From: Mikhael Goikhman <migo_at_cortext.co.il>
Date: Sat, 7 Oct 2000 01:15:38 +0200

On 05 Oct 2000 12:58:29 -0400, ralph stickley wrote:
>
> I don't know if this is the right place to ask, but I'll start here.

This is a good place to ask. If you want to be aware of the developement
there is fvwm-workers_at_ list.

> So, a couple of fun questions:
>
> 1. When the "start" button is depressed, it always looks "depressed"
> - any way to pop the start button back up ??
> - any way to make the menu popup "on top" of the "start" button ?
> (instead of off to the side - any magical context rectangle number?)

Use:

  *FvwmTaskBarStartMenu MenuFvwmRoot Root +1p o100-25p

> 2. I start an application in another desktop, but when the application
> closes, it never returns to the first desktop. If I don't display the
> Pager, there
> seems "to the user" no way to get back (at least key bindings work).
> - any way to automagically return to the first desktop?

You can start FvwmEvent and hook destroy_window event to something like:

  Desk 0 0

In 2.3 it can be done more effectivelly using PassId of FvwmEvent
and having in the hook function: WindowId $w ("MyApp") GotoDesk 0 0

> - or - any way to make the taskbar popup when a window closes??

The same here. Just add this after/instead Desk command:

  Menu MenuFvwmRoot Root +1p o100-25p

In 2.2 this will change desk or/and pop up the menu after any window
closing, so you probably may want to have a function which first starts
FvwmEvent, then your application; in destroy_window: KillModule FvwmEvent.

> 3. What is required to get the "Beep" to work - maybe I'm missing a
> driver
> file or something here. (I really want beep to work from within a
> FvwmScript file!)

Bell is translated by X Server to machine specific sound as far as I know,
for example directly to PC native speaker. Do you hear a bell after:

  echo [Press Ctrl-V][Press Ctrl-G][Press Enter]

> 4. Is there any way to configure the window list so that my Alt-Tab
> switches
> through the windows ? (The flipfocus doesn't seem to work as explained
> in the manual)
> Is there a way to get the window list to popup in the middle of the
> screen everytime ?? (more magical context rectangle numbers :)

Here is an example (this is explained in the 2.2 man page):

  Key Tab A M WindowList Root c c

  DestroyFunc WindowListFunc
  AddToFunc WindowListFunc
  + "I" WindowId $0 FlipFocus
  + "I" WindowId $0 Raise
  + "I" WindowId $0 WarpToWindow 50 50

Do you say FlipFocus does not work as expected? Please give more info.
The 'Key Tab A M' binding above doesn't work on my keyboard, fixed in 2.3.

Also in 2.3 you have built-in Alt-Tab (unless you redefine this), which is
what you want. And Tab inside WindowList (and other menus) works.

> And in the FvwmScripts:
>
> 5. Does anyone know how to make the mini-scroll bars behave ??
> - one mouse click and release increments the number by two...
> - first click always increments - even if you click the down button
> - Maybe my mouse bindings are messing stuff up ??

Seems like a problem. I fear it can't be solved without fixing the source.

> 9. Highilighting text inside an input text box has no affect - I
> expect the highlighted text
> to be erased when I press a key. Any way to configure this to work ??

You can submit a feature request for this via the bug tracking system.

Regards,
Mikhael.
--
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 Fri Oct 06 2000 - 18:16:18 BST

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