Hacker News new | ask | show | jobs
by somat 854 days ago
The first time I used the context button intentionally was when I got around to binding it as the compose key.

As a bit of a tangent the X11 compose system is a really great way to enter less often used characters. Here is a bit of a tutorial, note this is probably openbsd specific.

in ~/.xsession bind the context key

  xmodmap -e 'keysym Menu = Multi_key'
in ~/.XCompose include the locale specific compose dir(in my case this is /usr/X11R6/share/X11/locale/en_US.UTF-8/Compose) and set up some of your own

  include "%L"
  <Multi_key> <w> <e> <b> : "\xf0\x9f\x95\xb8" # spiderweb
Now hit the menu key then w then e then b and you get a nice spider web