Live data from Hacker News

A key remapping daemon for Linux

github.com

21–30 of 34 posts

Re: A key remapping daemon for Linux

#21
Great software. Especially the "lettermod" feature. It allows you to configure a key to switch to a layer / secondary actions if held for some time, but only if no other key was pressed within some time before. So secondary key actions don't happen while the user is actively typing a text. This makes it very easy to add homerow mods (adding Ctrl, Alt, etc to the homerow keys) without the struggle of accidently triggering them.

Re: A key remapping daemon for Linux

#25

This is one of many things that used to be easier before wayland You can get pretty far with just the xkbd definions though, although you need root to reconfigure it. A bit ironically, the easiest way I've found to create xkbd definions is to start an X11 server, reconfigure your xmodmap+xcompose, and export the current xkbd settings. Xmodmap is much easier to edit than editing xkbd directly.

> You can get pretty far with just the xkbd definions though, although you need root to reconfigure it.

You can put them in user XDG_CONFIG_HOME – you might be right that you need root once to configure it to look there though. (And that might depend on how distro/package manager ships it.)

Re: A key remapping daemon for Linux

#27
I have been using this for a while and it's great. Here's my config

  [main]
  # Maps capslock to escape when pressed and control when held.
  capslock = overload(control, esc)
  # Maps left meta to alt+f1 when tapped alone for start menu
  leftmeta = overload(meta, macro(A-f1))

  # Makes a shift layer
  [shift]
  leftshift = capslock
  rightshift = capslock
  # i.e, when some shift is pressed down, the other   shift being pressed will yield a capslock.
  # So, press lshift+rshift for capslock

Re: A key remapping daemon for Linux

#28
post #15

Earlier quoted context omitted.

Yeah, that is the downside to making your keyboard your own. Anytime I use someone else's computer I always spend a few seconds wondering why I just turned caps lock on and wrote a bunch of gibberish.

The caps lock thing always happens with me haha, the funnest thing is other people are unable to understand hitting caps lock is more ergonomic than right ctrl.

Others remap it to ESC...

Re: A key remapping daemon for Linux

#30
post #15

Earlier quoted context omitted.

The caps lock thing always happens with me haha, the funnest thing is other people are unable to understand hitting caps lock is more ergonomic than right ctrl.

Others remap it to ESC...

ESC on tap, CTRL on hold is the way!
Post reply on HN