-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Hardware and Upgrade Questions
- after upgrading to ubuntu 24.04 lts, cursor of wireless mous...

Create an account on the HP Community to personalize your profile and ask a question
12-05-2024 01:03 PM
Hi @BJW2001,
Welcome to HP Support Community.
Thank you for posting your query, I will be glad to help you.
The issue you're experiencing with your mouse cursor drifting after upgrading to Ubuntu 24.04 LTS could be caused by various factors, such as driver compatibility issues, hardware settings, or interference. Here’s a step-by-step guide to troubleshoot and resolve the problem.
Check Mouse Settings in Ubuntu
- Open Settings and go to Mouse & Touchpad.
- Ensure the Pointer Speed and Acceleration Profile settings are appropriate for your usage. Experiment with different settings to see if it resolves the issue.
Update Ubuntu and Drivers
- Run the following commands to ensure your system and drivers are up-to-date:
sudo apt update && sudo apt upgrade -y sudo apt install xserver-xorg-input-libinput
- Reboot your computer:
sudo reboot
Identify Connected Input Devices
- Run this command to list connected input devices:
xinput list
- Look for your mouse and note its ID. Then, check the properties:
xinput list-props <ID>
- Ensure there are no unusual settings (e.g., high sensitivity or acceleration). You can adjust settings using:
xinput set-prop <ID> "Device Accel Constant Deceleration" 2.5
Test for Hardware Interference
- Move the mouse closer to the receiver and ensure there are no metal objects, other electronic devices, or USB 3.0 devices nearby, as these can interfere with wireless signals.
- Try connecting the wireless receiver to a different USB port, preferably one on the back panel of the PC.
HP Support Community Moderator
12-05-2024 01:04 PM
Switch to Another Driver
- The default driver for input devices in Ubuntu is libinput. If the problem persists, you can try switching to the evdev driver:
sudo apt install xserver-xorg-input-evdev
- Create or modify a configuration file:
sudo nano /etc/X11/xorg.conf.d/20-evdev.conf
- Add the following content:
Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
Driver "evdev"
EndSection
- Save and restart your system.
Check for Kernel Issues
- Run the following command to check for errors related to input devices in the kernel logs:
dmesg | grep -i mouse
- If there are errors, you may need to report them to the Ubuntu community or look for a kernel patch.
Try a Live USB Session
- Boot your system from a live Ubuntu USB to determine if the issue persists. If it does not occur, it may indicate a configuration or software issue on your installed system.
Check for Physical Issues
- Inspect the mouse for dust or debris that could interfere with the sensor.
- If using a mouse pad, ensure it’s clean and compatible with the mouse sensor.
I hope this helps.
Take care and have a good day.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
Alden4
HP Support
HP Support Community Moderator