From 6fbd3cb1d81a372a464bb4a58bf95bac63b74897 Mon Sep 17 00:00:00 2001 From: Asocia Date: Wed, 3 Nov 2021 00:27:36 +0300 Subject: [PATCH] TIL: Getting the keys pressed --- command-line-utils/getting-the-keys-pressed.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 command-line-utils/getting-the-keys-pressed.md diff --git a/command-line-utils/getting-the-keys-pressed.md b/command-line-utils/getting-the-keys-pressed.md new file mode 100644 index 0000000..b13c8f9 --- /dev/null +++ b/command-line-utils/getting-the-keys-pressed.md @@ -0,0 +1,4 @@ +Most of the time, `xev` will be enough to know exactly which key is pressed but it generates a lot of output and sometimes that is overwhelming. If you find yourself in this situation try: +``` +showkey -a +```