mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
583 B
Plaintext
34 lines
583 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# keyd
|
|
|
|
> Remap keys.
|
|
> More information: <https://manned.org/keyd>.
|
|
|
|
- Start and enable the `keyd` service:
|
|
|
|
`systemctl enable keyd --now`
|
|
|
|
- Display keypress information:
|
|
|
|
`sudo keyd {{[-m|monitor]}}`
|
|
|
|
- Reset bindings and reload the configuration files in `/etc/keyd`:
|
|
|
|
`sudo keyd reload`
|
|
|
|
- List all valid key names:
|
|
|
|
`keyd list-keys`
|
|
|
|
- Check the detected configuration files for errors:
|
|
|
|
`keyd check`
|
|
|
|
- Create a temporary binding:
|
|
|
|
`sudo keyd bind "{{pressed_key}} = {{output_key}}"`
|