I just got a lenovo ideapad 720s and installed Ubuntu. It has no media control keys (play/pause, next/prev track), so I wanted to remap some keys I don't use including the lock screen key. But when I use xev
and press the key, the screen locks and the keycode is not displayed in the terminal. Is there another way to find the keycode?
You are looking for
xinput
List 'devices': run
xinput
with no argument'Spy' the extra buttons