I recently bought a Asus laptop and installed Ubuntu 20.04. After power off-on I found the laptop keyboard is not working. I found online the following command: sudo apt install xserver-xorg-input-all
and the keyboard issue was solved after reboot.
I want to know what the above command did. What is its purpose?
P.S. I still have the keyboard problem. When I power off/on the laptop keyboard stops working. Above command solves the problem unless I power off my laptop (rebooting is fine). I have asked the same problem here:
keyboard not working in ubuntu 18.04
I ask the question to understand why the above command fix the problem temporarily but not permanently. A permanent solution will be highly appreciated.
I ran more specific command sudo apt install xserver-xorg-input-libinput
which also solved the keyboard problem after rebooting.
Following terminal outputs are obtained:
sudo apt install xserver-xorg-input-libinput
TERMINAL OUTPUT:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xserver-xorg-input-libinput is already the newest version (0.29.0-1).
xserver-xorg-input-libinput set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt install xserver-xorg-input-all
TERMINAL OUTPUT:
Reading package lists... Done
Building dependency tree
Reading state information... Done
xserver-xorg-input-all is already the newest version (1:7.7+19ubuntu14).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Both the commands solve keyboard problem temporarily after reboot. Keyboard works fine after multiple reboots, but does not work after power off and on.