Re: FVWM: what's the HotKey for mouse?

From: Arno Venner <arno.venner_at_informatik.uni-ulm.de>
Date: Thu, 19 May 2005 12:55:12 +0200

Hi BingYU,

BingYU wrote:

>Hi list
>
>this is my key binding
>Key Left A SM CursorMove -30 +0
>which means Ctrl+Alt+Left the cursor will move 1/3 left of the screen
>
>I find this is very useful for us to move the cursor of the mouse
>
>Now my question is whether there is a key binding to achieve this kind of
>action: right/left/middle click of the mouse
>
>Thank you for you attetion!
>
>
A mouse Action looks like:

(copied from http://www.fvwm.org/screenshots/desktops/Thomas_Adam-desk-1280x960/config)

// start quote

# Handle some Mouse bindings now...
# Recall that mouse formats look like this:
#
# +------------+
# | || || || |
# | |
# +------------+
# 1 3 2
# Binding Functions
#
# "I" stands for Immediate
# "M" stands for Motion
# "C" stands for Click
# "H" stands for Hold
# "D" stands for Double Click

# ---------------------------------------------------------------------------
# Contexts:
# R = Root Window rrrrrrrrrrrrrrrrrrrrrr
# W = Application Window rIrrrrFSSSSSSSSSFrrrrr
# F = Frame Corners rrrrrrS13TTTT642Srrrrr
# S = Frame Sides rIrrrrSwwwwwwwwwSrrrrr
# T = Title Bar rrrrrrSwwwwwwwwwSrrrrr
# I = Icon rIrrrrFSSSSSSSSSFrrrrr
# rrrrrrrrrrrrrrrrrrrrrr
# Numbers are buttons: 1 3 5 7 9 0 8 6 4 2
#
# Modifiers: (A)ny, (C)ontrol, (S)hift, (M)eta, (N)othing
# ---------------------------------------------------------------------------


# click in the root menu
Mouse 1 R A Menu FvwmMenuRoot
Mouse 2 R A WindowList
Mouse 3 RFT A Menu FvwmMenuWindowOps

// end quote

So - if you add the following lines
Mouse 1 A SM CursorMove -30 +0
Mouse 2 A SM CursorMove -30 +0
Mouse 3 A SM CursorMove -30 +0

That should do ... at least when your mouse is not over an open window,
which fetches its actions ...

greetings,

Arno Venner

--
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 May 19 2005 - 05:55:49 BST

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