If you are using a Thinkpad L540 running on Ubuntu 18.04 and experiencing a laggy or choppy touchpad cursor, this guide will help you troubleshoot and hopefully resolve the issue. We will explore several potential solutions, each with its own set of steps.
Solution 1: Reload the Touchpad Driver After Suspend
One of the first solutions you can try involves reloading the touchpad driver after your computer wakes up from suspend mode. Here’s how to do it:
- Create a new file named
/lib/systemd/system-sleep/directory. You can use the
nanotext editor for this. Run the following command:
sudo nano /lib/systemd/system-sleep/touchpad
- In the newly opened file, insert the following script:
This script checks if the system is waking up from suspend (
#!/bin/sh case $1 in post) /sbin/rmmod i2c_hid && /sbin/modprobe i2c_hid ;; esac
post). If it is, it removes the
rmmodand then reloads it using
- Save and close the file by pressing
Ctrl + X, then
- Make the file executable by running the following command:
sudo chmod +x /lib/systemd/system-sleep/touchpad
- Test the solution by suspending and waking up your computer.
Solution 2: Suspend and Wake Up Your Computer
Some users have reported that simply suspending and waking up their computer resolves the issue, at least temporarily. To suspend your computer, you can use the
systemctl command as follows:
sudo systemctl suspend
Solution 3: Disable the Trackpoint in BIOS Settings
Another potential solution is to disable the Trackpoint in your BIOS settings. To do this, you will need to restart your computer and access the BIOS settings. The exact steps may vary depending on your specific Thinkpad model, so please refer to your user manual or Lenovo’s official website for instructions.
Solution 4: Install the
xserver-xorg-input-synaptics-hwe-18.04 package has resolved the issue for some users. Run the following command to install the package:
sudo apt install xserver-xorg-input-synaptics-hwe-18.04
Solution 5: Install the Synaptic Driver Instead of Libinput
Finally, some users have found success by installing the Synaptic driver instead of the default libinput driver. You can find instructions for installing the Synaptic driver on the Ubuntu Community Help Wiki.
Please note that the effectiveness of these solutions may vary depending on your specific situation. If none of the above solutions work for you, it may be worth considering alternative Linux distributions or seeking further assistance from the Ubuntu community or Thinkpad support.
We hope this guide has been helpful in resolving your touchpad issues on your Thinkpad L540 running Ubuntu 18.04.
To access the BIOS settings on your Thinkpad L540, you will need to restart your computer and press the appropriate key during the startup process. The key to access the BIOS settings may vary depending on your specific model, but common keys include F1, F2, or Del. Please refer to your user manual or visit Lenovo’s official website for specific instructions for your model.
To install packages in Ubuntu, you can use the
apt package manager. Open a terminal and run the following command:
sudo apt install [package-name]
[package-name] with the name of the package you want to install. You may need to enter your password to authorize the installation.