Это все, что мне нужно.
xev | grep "keycode"
https://help.ubuntu.com/community/Lubuntu/Boot_Install_Login#I_want_to_bind_the_power-button_to_change_computer_state.2C_how_do_I_do_it.3F