Re: FVWM: key to prelude a fvwm command

From: Frank Gruellich <frank_at_home.manuelm.org>
Date: Thu, 25 Dec 2003 22:30:14 +0100

* Mikhael Goikhman <migo_at_homemail.com> 25. Dec 03
> On 25 Dec 2003 21:31:12 +0100, Frank Gruellich wrote:
> > * Erik Steffl <steffl_at_bigfoot.com> 22. Dec 03
> > > Frank Gruellich wrote:
> > > > [screen-like fvwm]
> > > [win key]
> > I will use it, nevertheless this is not exactly what I am looking for.
> > Can I make fvwm to react only if I start with a special key sequence?
> DestroyFunc Ctrl-Alt-F-Action
> AddToFunc Ctrl-Alt-F-Action
> + I Key X A A Exec xterm
> + I Key C A A Exec xcalc
> # optionally put some flash window
> + I Schedule 5000 Key X A A -
> + I Schedule 5000 Key C A A -
>
> # Press Ctrl-Alt-F and then "x" or "c"
> Key F A CM Ctrl-Alt-F-Action

Oh, this is kinda neat, thank you very much.

> With this, you should press a key in 5 seconds otherwise it is timed out.

The 5s are not perfect, but I will deal with it (or 2s). Perfect would
be if I could press the special key (i.e. C-M-f) and it waits (for ever)
until I press the next key. If it is a bound key, exec the command and
remove all key bindings, if not only remove all key bindings (perfect
screen behaviour).

> I think that the solution with a menu and its hot keys is good too.

I already did so. Okay, I had
   Key Return A C Menu MenuFvwmRoot Root 0 0
and changed it now to
   Key Return A 4 Menu MenuFvwmRoot Root 0 0
which is much better, 'cause it doesn't conflict with mozillas "Open
link in new tab". The use of hotkeys in the menus is self-evident. But
it doesn't help much with things like
   Key L FISW 4 Current AnimatedMove -0p w0 Warp
(which I s%\<S\>%4%, too).

Thank you very much for pointing to Schedule,
 regards, Frank.
-- 
Sigmentation fault
--
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 Thu Dec 25 2003 - 15:34:06 GMT

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