Re: FVWM: How can I bind a keyboard accelerator to the Microsoft key ?

From: Glyn Millington <glyn_at_millingtons.org>
Date: Wed, 08 Oct 2003 11:14:17 +0100

"Brian W.Kernighan" <is00gzw_at_taurus.zsu.edu.cn> writes:

> Does anyone know how to describe a Microsoft key ?

Yes ;-)
> Now I have the following line in my ~/.fvwm/.fvwm2rc file:
> # Keyboard accelerators
> Key F1 A N Popup "Utilities"
> And I want the "Microsoft" key has the same function as the above
> "F1" key has.
> What should I do?

Well I do it this way

In .xinitrc

8<------8<------8<------8<------8<------8<------8<------8<------8<------
# Keyboard tweaks
/usr/X11R6/bin/xmodmap -e "keycode 116 = F31"
/usr/X11R6/bin/xmodmap -e "keycode 117 = F32"
8<------8<------8<------8<------8<------8<------8<------8<------8<------

and in .fvwm2rc

8<------8<------8<------8<------8<------8<------8<------8<------8<------
Key F31 A N Scroll -100 +0
Key F32 A N Scroll +100 +0
8<------8<------8<------8<------8<------8<------8<------8<------8<------

So that I move backwards and forwards through workspaces

hth



Glyn
--
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 Oct 08 2003 - 05:24:28 BST

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