Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
50
rated 0 times [  50] [ 0]  / answers: 1 / hits: 47830  / 2 Years ago, fri, october 7, 2022, 11:11:36

I am trying to play around with some keyboard layouts in Ubuntu. Now there is a program called showkey which lets me see the keycode for any key pressed in the terminal.
Is there any command to get the corresponding character for a specific keycode. For example when I type in


sudo showkey
//I get the response in the form
keycode num press/release

I was just wondering if I have the keycode, can I get the character mapping back so that I know which character I actually pressed?


More From » keyboard

 Answers
0

Run xev from a terminal. This will give you a new window.



Place your mouse pointer in this window, type some keys and watch for results in the terminal.


[#33118] Sunday, October 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bblerest

Total Points: 240
Total Questions: 119
Total Answers: 113

Location: Wallis and Futuna
Member since Mon, May 18, 2020
4 Years ago
bblerest questions
Sun, Apr 16, 23, 13:50, 1 Year ago
Fri, Nov 4, 22, 06:21, 2 Years ago
Tue, Sep 27, 22, 12:22, 2 Years ago
;