>_ hackerrepos search repos…

← top repos

rvaiya/keyd

A key remapping daemon for linux.

▲ 6 hackers recommend 5 strongly C ★ 6.1k MIT ckeyboardkeyboard-layoutkeyboard-mappingkeyboard-remapkeymap

Recommended between 2025-09-27 and 2026-09-27. Last pushed 2026-06-01.

▲ 6 recommend · ▼ 0 criticisms

What hackers say

“I have been able to reclaim my Copilot key with keyd.”

— jmou, 2026-09-27 · strong recommendation · original comment on Hacker News ↗

show original comment

I have been able to reclaim my Copilot key with keyd. https://github.com/rvaiya/keyd [ids] * [main] leftmeta+leftshift+f23 = rightcontrol

“https://github.com/rvaiya/keyd works really well for me on Linux”

— kombine, 2026-05-04 · strong recommendation · original comment on Hacker News ↗

show original comment

I remap Caps Lock to Ctrl when held and to Esc when pressed - the best of both worlds when you live in Neovim. https://github.com/rvaiya/keyd works really well for me on Linux, but there is a similar software on MacOS.

“I used https://github.com/rvaiya/keyd with”

— hacker_homie, 2026-01-08 · strong recommendation · original comment on Hacker News ↗

show original comment

I used https://github.com/rvaiya/keyd with ``` [ids] * [main] f23 = oneshot(control) [control] toggle(control) ``` To turn it back into a ctrl key

“But I've been using keyd on Linux distros for a while:”

— avtar, 2025-11-02 · strong recommendation · original comment on Hacker News ↗

show original comment

> as far as I can tell, no operating system does this in a way that really works besides OSX AFAIK this is an easy setting in desktop environments such as Cosmic, Gnome, and KDE. But I've been using keyd on Linux distros for a while: https://github.com/rvaiya/keyd#quickstart Using the config in the above example results in Caps Lock acting as Esc if used on its own or as Ctrl if it's held down.

“I've settled on keyd[1], after using XKB and interception-tools for a while.”

— sudahtigabulan, 2025-09-27 · strong recommendation · original comment on Hacker News ↗

show original comment

You can get pretty far with software-only tweaks to your existing keyboard instead. I've settled on keyd[1], after using XKB and interception-tools for a while. [1]: https://github.com/rvaiya/keyd

“However if you really really really wanna side step this you can look at keyd - https://github.com/rvaiya/keyd”

— hparadiz, 2026-03-15 · original comment on Hacker News ↗

show original comment

…d access to a part of the screen and the compositor provides upon approval. It's much more secure that way and it works perfectly fine these days. Unfortunately not every compositor implements this. However if you really really really wanna side step this you can look at keyd - https://github.com/rvaiya/keyd A project that has a daemon run in the background as a root service and that can provide an appropriate shim to pass key strokes to anything you want. And just to be clear the appropriate secure model is to have a program request to register a "global" hot key and then the compositor passes it to the appropriate program once registered. This is already a thing in KDE Plasma 6 and work…

Badge for your README

hackers recommend badge
[![hackers recommend](https://hackerrepos.org/badge/rvaiya/keyd.svg)](https://hackerrepos.org/repo/rvaiya/keyd)