Making CAPS LOCK another CTRL key in the console

Todd Zullinger tmz at pobox.com
Tue Jan 4 17:57:47 UTC 2011


Bernie Innocenti wrote:
> In Debian & Ubuntu, this can be done by setting XKBOPTIONS=ctrl:nocaps
> in /etc/default/console-setup.
[...]
> So, what's the moral equivalent of this in Fedora?

I have something like this in my puppet configuration:

    zcat /lib/kbd/keymaps/i386/qwerty/us.map.gz | \
        sed 's/^\(keycode *58 = \)Caps_Lock$/\1Control/' > \
        /etc/sysconfig/console/default.kmap

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
He was busy creating hell for people who ask such questions.
    -- St. Augustin, in reply to "What was God doing before creation?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110104/7ab83dac/attachment.bin 


More information about the devel mailing list