On Thu, Jun 28, 2001 at 08:30:53AM +0200, Markus Grunwald wrote:
> Hi !
> 
> > > 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...
> > > 
> > 
> > Yup. First run xev to find out what codes are generated by that keys.
> > Optional use xmodmap to redefine the KeySym and the write bindings
> > in your rc file.
> 
> Sounds good - but my problem begins with the fvwm configuration... How do I use these Keys as Modifyers ? All I know is how they work as "normal" Keys, as in:
> 
> # Super Moves Screen left/up,
> # Hyper/Menu         right/down
> Key Super_R	A	N	Scroll -100000 +0
> Key Super_R 	A   S   Scroll +0 -100000
> Key Menu	A	N	Scroll +100000 +0
> Key Menu    	A   S   Scroll +0 +100000
> 
> Does
> 
> Key Up		A   Menu Scroll .....
> work ???
You have to set them up as modifiers first.  The list of defined
modifiers can be displayed with
  $ xmodmap
The output looks something like this:
  shift       Shift_L (0x32),  Shift_R (0x3e)
  lock      
  control     Control_L (0x25),  Control_R (0x6d)
  mod1        Meta_L (0x40)
  mod2      
  mod3        Mode_switch (0x71)
  mod4        Super_L (0x73),  Super_R (0x74)
  mod5      
To remove key symbols from modifiers, use
  $ xmodmap -e "clear Lock"
  $ xmodmap -e "clear Mod5"
To add modifiers use this syntax:
  $ xmodmap -e "add Lock = Caps_Lock"
  $ xmodmap -e "add Mod2 = Num_Lock"
  ...
You have to restart fvwm before this works properly.
Bye
Dominik ^_^  ^_^
--
Dominik Vogt, email: d.vogt_at_lifebits.de
LifeBits Aktiengesellschaft, Albrechtstr. 9, D-72072 Tuebingen
fon: ++49 (0) 7071/7965-0, fax: ++49 (0) 7071/7965-20
--
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 - 01:45:35 BST