I have installed Ubuntu 20.04 on my dell laptop(Inspiron-5420). Wi-fi connection did not work out-of-the-box with this installation but after google search, I bumped into page
https://ibcomputing.com/install-wifi-driver-broadcom-bcm43142-linux/
and after following the steps there, it started working.
Now when using the logitech wireless keyboard/mouse(model MK220), the keyboard intermittently disconnects and then auto reconnects. The other peculiar behaviour I see is that whenever it disconnects, it automatically takes the screenshot and saves it.
Can anyone out there help in resolving this frequent disconnection issue of wireless keyboard?
With google search, came across the page
which mentioned the solution for HP laptop but when I applied the solution from there, it worked even on my Dell laptop.
HP laptop had an issue with keyboard key getting pressed by itself. It started taking a screenshot every now and then. Once the screenshot shortcut key was disabled in Ubuntu keyboard settings, it started playing with the scroll lock key.
To disable the laptop's built-in keyboard in Ubuntu, first you need to identify the device ID for the keyboard.
If you are connecting from a remote system via SSH, you need to run:
Now run
xinput –list
to get a list of all input devices.The
xinput
command should be run as the user that runs the GUI (Ubuntu logged in user).The one above list what we need is:
The ID is 10.
To disable the keyboard, run:
To enable it, run:
Method 2: Disabling on boot
Edit file /etc/default/grub.
Find:
Replace it with:
Regenerate grub.cfg with:
Reboot the laptop. The built-in keyboard will be disabled by default. There's no need to run the
xinput
command and manually disable it each time.