Keyboard Stops Working After Ubuntu Update – Fix

If your keyboard stops working after the update of Ubuntu and you are looking for a fix then you are landed in the right place. When I update my Ubuntu from 17.10 to 18.04 my keyboard stops working. This is a common issue. The input driver keyboard breaks after every major update, which causes miscommunication between the input devices r Ubuntu OS.

You can easily resolve this after re-installing the input X Server’s driver again. But when the keyboard stops working in the first place, this gets quite tricky. So, come let’s check how to resolve the keyboard not working issue after updating your Ubuntu.

Keyboard Stops Working After Ubuntu Update – Fix

Keyboard issues

Case 1: When Both Keyboard & Mouse Working On Lock Screen

If you have a trackpad or keyboard both working on the lock screen, you can simply launch a terminal session after hitting Ctrl + Alt + F3 and ignore this step.

Case 2: Keyboard Stops Working But Mouse Working On Lock Screen

  • At first log in to the system using the screen keyboard. You can then it after tapping on the Accessibility or Human icon located in the top-right corner. When you are successfully logged in, we want to once again enable the screen keyboard. For that, head over to the Settings menu after tapping on the arrow located at the top-right corner. Then, tap on the gear icon from the extending menu.
  • From the Settings menu, tap on “Universal Access” located on the left-hand tab to move to the Hearing and Typing menu.
  • From the Universal Access menu, head over to the Typing menu. Then tap on the slider beside the “Screen Keyboard” text on the on-screen keyboard.
  • Now you have an on-screen keyboard, we want the terminal to execute the command. If you want to open the terminal, right-tap on the Desktop and choose Open Terminal.
  • When you have the terminal launched, input the following command, and press Enter.
  • However, the time comes when Ubuntu tries to move fanatical and prompt you for the password even after typing sudo. Simply use the on-screen keyboard to input the password.
sudo apt-get install xserver-xorg-input-all
  • Also, it again prompts for input, hit Y, and then press Enter again.
  • After we have successfully installed the X Server keyboard input driver, reboot your system. When the system is recovering and executing, you can use your mouse or keyboard.

Mouse & Keyboard Both Not Working

In case, your keyboard, mouse, and mouse all are stops working for you even on the lock screen. We want to launch the terminal during boot itself. If you want to do that simply force shutdown the system using the physical keys.

We would want an external keyboard to trigger some keys during the whole boot process. When, the system is starting up, simply hold down the Shift key when the BIOS load and you will input the GRUB menu. From the GRUB menu, hit “e” to edit boot options. Now look for the line which seems like the following.

linux /boot/vmlinuz-4.18.0-25-generic root=UUID=a98c605-2ac4-4ee3-8070-2560255293fe ro quiet splash $vt_handoff

Input  “/bin/bash” before $vt_handoff and hit Ctrl + X or F10 to reboot. Whenever you are in the command, execute the following command, and reboot back the system again.

sudo apt-get install xserver-xorg-input-all

Once you reboot, you must have the keyboard and mouse working for you.

Modifying the GRUB file is a temporary change and is not persistent. So when the boot crashes, then restart the PC and it must be back to normal.

What Happen When Re-installing The Drivers Doesn’t Work?

keyboard stops working

When none of the above tricks work for you, then these two methods work best for you:

Disable bounce keys & slow keys

Ubuntu offers some accessibility settings such as Slow keys or Bounce keys. In case you don’t know, Bounce keys avoid fast keypresses whereas Slow keys need you to hit the keys for some amount of time. If you are using a third-party app or you have accidently enabled these settings, it might lead to the faulty working of the keyword.

  • To disable Bounce and Slow keys, move to the Settings menu. You can then access the Settings menu after tapping on the arrow located at the top-right corner. Then, tap on the gear icon from the extending menu.
  • From the Settings menu, tap on “Universal Access“.
  • At the bottom of the Universal Access menu, move down and tap on “Typing Assist (AccessX)“.
  • From the pop-up menu, keep in mind that the toggle beside the “Slow Keys” or “Bounce keys” is disabled.

Update Ubuntu

At last, if you are still facing issues, then try and upgrade the Ubuntu packages. This might resolve the broken driver and turn on your keyboard and trackpad to function properly.

Once you upgrade your Ubuntu system, we want to execute a few commands on the terminal. If you want to do that, right-tap on the desktop and tap on “Open Terminal“.

From the terminal input the following command to update the package list.

sudo apt update

When the package list has been upgraded successfully, we can then upgrade all the packages using the following command.

sudo apt upgrade


In case if nothing works, a clean Ubuntu installation is needed. However, keep in mind you have recovered your data beforehand. If you want to ask anything regarding this guide then let us know below!

Also Read:

Leave a Reply

Your email address will not be published. Required fields are marked *