Re: FVWM: Mouseless configuration

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 16 May 2001 22:17:38 +0000

On 16 May 2001 09:21:55 -0300, Christian Lyra wrote:
>
> I'm trying to config my FVWM so I have to touch the mouse for only few
> operations (none at all would be great :-) ). I already have keys to move
> from desk/page to desk/page, close windows, alternate windows, etc... but
> there's one thing I could find how to do: is there a way to "drag" or move a
> window only with keyboard? like pressing CMS + arrows ?

Joseph Manning already gave good examples of some non-interactive and
interactive window movement.

But there is another simple solution using built-in features of Move,
which fully supports keyboard. Just bind the Move command to a key, like:

  Key F7 A M Move
  Key F8 A M Resize
  Key F9 A M Iconify
  Key F10 A M Maximize

press Alt-F7 (like in mwm) and then use arrows to move a window in any
direction. Without any modifier the window size units are used for moving,
i.e. if you move an xterm with 7x13 font it is incremented in +-7 and +-13.
Use Shift with arrows to increment +-100, and Ctrl with arrows for +-1.
The same arrow key rules apply for resizing (Alt-F8 in this example).
Press Esc to cancel moving or resizing.

If you press Alt-F7 and Alt-F8 when no window is focussed, you are first
supplied with a cross cursor (configurable in CursorStyle SELECT) and
asked to select a window. This can be done using only a keyboard too,
the arrows and Shift and Ctrl modifiers behave as usual.
It is easier to see all this in action and understand.

These interactive features of the Move and Resize commands are correct for
the latest 2.3.x versions. Previous versions may behave differently.

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 Wed May 16 2001 - 17:18:39 BST

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