Get key code for ydotool
- Command to get the key’s name
sudo libinput record
- File to look for the code
vim /usr/include/linux/input-event-codes.h
Get full file path
readlink -f file.txt
ydotool
sudo libinput record
vim /usr/include/linux/input-event-codes.h
readlink -f file.txt