Changing CapsLock behavior (xkb)
Jonas Juselius <[email protected]> Tue, 16 Nov 2004 14:06:18 +0200
| Newsgroups | gmane.comp.xfree86.internationalization |
|---|---|
| Organization | University of Helsinki |
| Message-ID | <[email protected]> |
Hello,
I have been trying to change the CapsLock key behavior to work as a
normal shift key (I sometimes accidentally press Caps when I want
shift), and as Caps when Shift_L+Caps (or Control_L+Caps) is pressed.
I tried to modify the group(caps_toggle) option to
xkb_symbols "mycaps_toggle" {
key <CAPS> { [ Shift_L, Caps_Lock ] };
};
It didn't work. xev reports hat <CAPS> produces Shift_L and Shift-<CAPS>
produces Caps_Lock. Then I added the line
modifier_maps Lock { Caps_Lock };
No change in behavior. 'xkbcomp :0.0' reports that
"modifier_map Lock { <CAPS> };", which is not what I wanted.
I have also tried with type="PC_BREAK" and many, many other
possibilities, and none of them produce the wanted result.
I'm using XFree86 4.3.0 and Gnome 2.6 under Debian/sid. Any help
appreciated.
.jonas.
--
[ PGP public key : keyserver or http://www.iki.fi/jonas/pubkey.asc ]
[ Key fingerprint: 2516 A57A 3012 7962 287D B66E C1A9 157F 0A59 7A66 ]
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBme06wakVfwpZemYRArs0AKCV9DlU+l1T7vNo61vaUdiaCvmSCwCgiVZM eseaJz8i/jFMQ8Hv9X8vghU= =Gyry -----END PGP SIGNATURE-----