A key remapping daemon for Linux
21–30 of 34 posts
Re: A key remapping daemon for Linux
#22Re: A key remapping daemon for Linux
#23Re: A key remapping daemon for Linux
#24Can something like that be done with `keyd`?
Re: A key remapping daemon for Linux
#25This 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 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
#26Re: A key remapping daemon for Linux
#27 [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 capslockRe: A key remapping daemon for Linux
#28Earlier 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.