On Mon, Jun 19, 2000 at 11:00:35PM +0200, Sven Esbjerg wrote:
> On Mon, Jun 19, 2000 at 02:05:04PM -0700, Erik Steffl wrote:
> > the key/mouse-bindings are defined for given modifiers. numlock is one
> > of the modifiers (just like alt, shift or ctrl are), so pressing crtl-a
> > and ctrl-a-with-numlock-enabled are two different key-bindings.
> >
> > I have most of the mouse/key-bindigs twice, with and without numlock.
>
> Thanx for the info. I just found an old message with more or less the same
> information.
This is the relevant section of our FAQ (and this one is surely
the most frequently asked question). The IgnoreModifiers
command is new in the 2.3.x betas, but the part about xmodmap
works in 2.2.4 too:
----------------------- snip --------------------------
5.5 Why do NumLock, CapsLock and ScrollLock interfere with
ClickToFocus and/or my mouse bindings?
A: Because they are treated as modifiers. You can use the
IgnoreModifiers command to turn individual modifiers off for
bindings. With XFree86 the right command is
IgnoreModifiers L25
If you changed your modifiers manually or are using a different
X server use the 'xmodmap' command to find out which modifiers
correspond to the keys you want to switch off.
This command creates a lot of extra network traffic, depending
on your CPU, network connection, the number of Key Mouse commands
in you configuration file and the number of modifiers you want to
ignore. If you do not have a lightning fast machine ore very few
bindings you should not ignore more than two modifiers. E.g. do
not ignore scroll-lock if you have no problem with it.
A better way to solve this problem is to modify the keyboard
mapping of your X server. The commands
xmodmap -e "clear Lock"
xmodmap -e "clear Mod2"
xmodmap -e "clear Mod5"
remove the CapsLock, NumLock and ScrollLock from the keyboard map.
Pressing these keys has no effect then. To re-add them try this:
xmodmap -e "add Lock = Caps_Lock"
xmodmap -e "add Mod2 = Num_Lock"
xmodmap -e "add Mod5 = Scroll_Lock"
Please refer to the man page of the xmodmap command for further
details.
----------------------- snip --------------------------
Bye
Dominik ^_^
--
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: dominik.vogt_at_gmx.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 Tue Jun 20 2000 - 11:55:29 BST