Date: Tue, 11 Jan 2005 10:38:14 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Joe Schmoe <non_secure@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: switching key mappings on a laptop (function and ctrl) Message-ID: <41E3AC96.4010008@infracaninophile.co.uk> In-Reply-To: <20050111002612.66934.qmail@web53309.mail.yahoo.com> References: <20050111002612.66934.qmail@web53309.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA7BF4F61EC7FD46E3A2002F9 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Joe Schmoe wrote: > I have a new laptop that has the FN (function) key in > the very lower left, and the CTRL key one key to the > right of it ... > > but I like the CTRL key to be in the far lower left > ... > > Is it possible to switch the function of these two > keys (not just in X, but in the console, virtual > terminals, etc.) Yes, this is certainly possible. In fact, there are two separate mechanisms for doing this -- one for use under X-win, the other for use under the console. Under X, see xmodmap(1) and the sections in X(7) on keyboards, and these other man pages: % man -k xkb setxkbmap(1) - set the keyboard using the X Keyboard Extension xkbcomp(1) - compile XKB keyboard description xkbevd(1) - XKB event daemon xkbprint(1) - print an XKB keyboard description For modifying the console see kdbcontrol(1), kbdmap(1), kbdmap(5) -- the keymap files in /usr/share/syscons/keymaps are pretty easy to understand and create customised versions of. See also the allscreens_kbdflags variable in /etc/defaults/rc.conf for how to get your changes to happen automatically on reboot. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK --------------enigA7BF4F61EC7FD46E3A2002F9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQeOsnJr7OpndfbmCAQIdUwQA2TCJP3B8hBupVucxJ1ETTKcgwqNP5QGf 5hyD3Z5YOkBn2ftiKllJjcKBG+HqN5ehta5oo/vvI8lDpwx82crtcER9pjGGpD8W CEyvgmi/kz88+a3nIGyPthNxmTz2FSGCNXcq8LejuBotQZs6+EvWq/o2F+znwuM2 AJ+cXOC4RAg= =5y3V -----END PGP SIGNATURE----- --------------enigA7BF4F61EC7FD46E3A2002F9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41E3AC96.4010008>