Thats just GREAT :) Re: FVWM: Windows Keys as modifyers ?

From: Markus Grunwald <MaGrunwald_at_Webasto.de>
Date: Thu, 28 Jun 2001 09:38:49 +0200

Hi !

This morning I wrote :

> Is it possible to use the windows keys as modifyers? I would like to use the rightmost (menu) key in combination with cursor to change desktop pages...

Thanks to the help of Max Ischenko and Dominik Vogt ( and xkeycaps) I got the following result:

grunwalm_at_winlinux1: > xmodmap
xmodmap: up to 2 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40)
mod2 Num_Lock (0x4d)
mod3 Mode_switch (0x71)
mod4 Super_L (0x73)
mod5 Super_R (0x74)


In fvwm2rc the following allows me absolute and relative positioning using cursor and Keypad:

Key Left A 4 Scroll -100000 +0
Key Up A 4 Scroll +0 -100000
Key Right A 4 Scroll +100000 +0
Key Down A 4 Scroll +0 +100000

# Go To Page

Key KP_7 A 4 GotoPage 0 0
Key KP_8 A 4 GotoPage 1 0
Key KP_9 A 4 GotoPage 2 0
Key KP_4 A 4 GotoPage 0 1
Key KP_5 A 4 GotoPage 1 1
Key KP_6 A 4 GotoPage 2 1
Key KP_1 A 4 GotoPage 0 2
Key KP_2 A 4 GotoPage 1 2
Key KP_3 A 4 GotoPage 2 2

# Move window to Page

Key KP_7 A S4 MoveToPage 0 0
Key KP_8 A S4 MoveToPage 1 0
Key KP_9 A S4 MoveToPage 2 0
Key KP_4 A S4 MoveToPage 0 1
Key KP_5 A S4 MoveToPage 1 1
Key KP_6 A S4 MoveToPage 2 1
Key KP_1 A S4 MoveToPage 0 2
Key KP_2 A S4 MoveToPage 1 2
Key KP_3 A S4 MoveToPage 2 2

And this is just GREAT :) Thanks a lot to both of you. I love fvwm2 ;)

-- 
Markus Grunwald
Registered Linux User Nr 101577      PGP Key:
http://counter.li.org                http://www.grunwald.2xs.de
--
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 Jun 28 2001 - 02:40:54 BST

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