Re: FVWM: Lots of fun Fvwm questions

From: ralph stickley <rstickley_at_datalux.com>
Date: Mon, 09 Oct 2000 15:15:28 -0400

Mikhael,
Thanks for the input - things are starting to look "normal" - ahhhh!

Hey, while your here :-) My start menu is almost there - but...

1.a is there any way to bind the Start key on the keyboard to the Start menu
?

1.b is there any way to configure the start menu to remain on-screen after
an item with a sub-menu is clicked ?? If I click on "Programs..." the sub
menu
is displayecd, but the start menu disappears. - whoa..now where did that
get off to ??

Mikhael Goikhman wrote:

> 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
>

Yep...works great - I even understand it after going back to read the manual.

Note, if the user extends the taskbar the window pops up at the same place,
overlaying the start button... might be a way to make it relative to the
taskbar window or some other trick....

>
> > 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.
>

Ok, I got nothing here....I don't know where to start or where to stick the
FvwmEvent
thing. more manual reading is in order :-( What is the desk command ??

My application has a style defined as:
Style "xxx" border Width 0 , NoHandles, NoTitle, NoDecorHint, StartsOnDesk 2

from the StartMenu:
+ "xxx" Exec /usr/bin/xxx

from the Buttons in the pager:
*FvwmButtons (Title Xxx, Icon icons_bt.xpm, Action 'Exec /usr/bin/xxx')

>
> > 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]
>

Hmmm...this does nothing...I think there is some fundamental problem here
besides general operator error :-O

I'm using a Media GX with the sound, soundcore and sb modules installed...
any suggestions ? and how do you use these modules anyhow ??

>
> > 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
>

Hmmm...works same as the default WindowList Func

>
> 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.
>

The binding works and displays the window list as expected. However,
you have to use the mouse or cursor keys to pick a window. Another Alt-tab
or even just the Tab key would be handy (as I expected to occur from the
FlipFocus option).

>
> 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.
>

Yep...gotta get me some of that 2.3 stuff...

>
> > 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.
>

I guess I'll try to get the 2.3 stuff before I submit any bugs or
features....

>
> Regards,
> Mikhael.

Thanks for the input - my start menu is now operating "reasonably" and
the Alt Tab feature has been added.

Later,
Ralph

>
> --
> 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.

--
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 Mon Oct 09 2000 - 14:17:00 BST

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