Re: FVWM: Caps Lock as modifier

From: Louis LeBlanc <fvwm_at_keyslapper.org>
Date: Mon, 29 Nov 2004 09:12:49 -0500

On 11/29/04 08:37 AM, Jason Dobies sat at the `puter and typed:
> > I think that needs to happen in the X config. I'm using X.org on one
> > machine and XFree86 on another, and I am using the following line in
> > my keyboard sections for both:
> >
> > Option "XkbOptions" "ctrl:nocaps"
> >
> > HTH
> > Lou
>
> That got the caps lock to no longer output caps, but now it appears to
> function the same as the Ctrl key. Is there something I need to add to
> xmodmap?

The xmodmap manpage has the following for swapping the left control
and capslock:

            !
            ! Swap Caps_Lock and Control_L
            !
            remove Lock = Caps_Lock
            remove Control = Control_L
            keysym Control_L = Caps_Lock
            keysym Caps_Lock = Control_L
            add Lock = Caps_Lock
            add Control = Control_L

I'm *guessing* that if you use just the first command, you'll either
get a plain shift key or a disabled key.

On the other hand, there is another entry in the manpage for the
'clear' command:

  clear MODIFIERNAME
    This removes all entries in the modifier map for the given mod-
    ifier, where valid name are: Shift, Lock, Control, Mod1, Mod2,
    Mod3, Mod4, and Mod5 (case does not matter in modifier names,
    although it does matter for all other names). For example,
    ``clear Lock'' will remove all any keys that were bound to the
    shift lock modifier.

It looks like this is a little more definitive, so feeding the
following into xmodmap should turn the key off altogether:

     clear Lock


Can't hurt too much to experiment for the right affect.

Lou
-- 
Louis LeBlanc               leblanc_at_keyslapper.org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     ԿԬ
Mitchell's Law of Committees:
  Any simple problem can be made insoluble if enough meetings are
  held to discuss it.
--
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 Mon Nov 29 2004 - 08:13:23 GMT

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