I updated my laptop to 18.04 from 17.10 . The keyboard inputs are recognized only in the login screen after booting. Keyboard also works fine if I switch into the terminal from the login screen. But when logged in no keystrokes are perceived.
Ubuntu – Keyboard not working after update to 18.04
18.04keyboard
Best Answer
Installing
xserver-xorg-input
solved my problem !Expanding on the above for the inexperienced, it is possible to turn on the on-screen keyboard (accessibility menu) as it is likely that external USB keyboards will also not work. After that perhaps the command
will do it. You need to shutdown and reboot each time (closing the lid usually just puts it to sleep).