summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2010-02-16 13:49:22 -0500
committerbryan newbold <bnewbold@robocracy.org>2010-02-16 13:49:22 -0500
commit14fd1caae8924a0c9fba43337c6ed47b26ba61e6 (patch)
treecd6af9f39f367f25d992b1b6f44cd60b12ba6822 /software/unix-tricks.page
parent5c8148df01fe38cb1e5bc05b9013712358661c35 (diff)
downloadknowledge-14fd1caae8924a0c9fba43337c6ed47b26ba61e6.tar.gz
knowledge-14fd1caae8924a0c9fba43337c6ed47b26ba61e6.zip
ralt to meta trick
Diffstat (limited to 'software/unix-tricks.page')
-rw-r--r--software/unix-tricks.page9
1 files changed, 9 insertions, 0 deletions
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index 533a174..41bda41 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -16,3 +16,12 @@ To fork off 10 instances of sleep with incremented lengths, 5 at a time::
$ seq 10 20 | xargs -n 1 -P 5 sleep
+Remapping a Keyboard Key to Meta
+-----------------------------------
+I like having a Meta key (aka "Windows key") for use with system keyboard
+shortcuts (change desktop etc), but some laptop keyboards don't have an extra
+button. To remap one of the Alt keys, you need to know it's code: on FreeBSD
+6.3 it was: ``Alt_R keysum 0xffea keycode 113``. To get the right mapping under
+X11, read the directions in ``/usr/X11R6/lib/X11/xkb/README``. To get the right
+mapping under the console, edit ``/usr/share/syscons/keymaps/us.iso.kbd`` and
+change 'ralt' to 'meta'.