On 25 Dec 2003 21:31:12 +0100, Frank Gruellich wrote:
>
> * Erik Steffl <steffl_at_bigfoot.com> 22. Dec 03
> > Frank Gruellich wrote:
> > >My former 'window manager' (screen) has a neat feature: any screen
> > >command is introduced by a special escape key (C-a by default). E.g. I
> > >use C-a " to get my windowlist, C-a C-c to get a new window and so on.
> > >Can I do something similar in fvwm? Any resources where somebody had
> > >done something like this?
> > if this is a PC (or at least you are using a PC keyboard) you can use
> > win key, AFAIK no apps use it. e.g. win key + arros move between virtual
> > screens, win key + delete closes the window etc.
>
> Oh... uhm... win key... always wondered, what it is good for... well,
> I'm an idiot. Thanks for pointing this (both, the key and the idiot).
> 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? I
> thought about something like calling a function, which creates all key
> bindings, on the special key (call my fvwm command) and destroy all key
> bindings immediately after this. It would move fvwm out of the way of
> all applications once and for all (as with screen). Any hints on this?
Do you mean something like this in 2.5.x:
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
With this, you should press a key in 5 seconds otherwise it is timed out.
I think that the solution with a menu and its hot keys is good too.
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 Thu Dec 25 2003 - 14:47:42 GMT