How to Configure Touchpad Settings on Linux Mint

Categories:
4 minute read
Linux Mint is a popular Linux distribution known for its user-friendly interface and robust performance. However, when it comes to configuring hardware settings like the touchpad, new users might find themselves navigating unfamiliar territory. Whether you’re dealing with sensitivity issues, multi-touch gestures, or accidental palm touches while typing, Linux Mint offers several ways to customize your touchpad to suit your preferences.
In this guide, we’ll walk you through different methods to configure touchpad settings on Linux Mint, covering both graphical user interface (GUI) options and command-line techniques.
1. Accessing Touchpad Settings via the System Settings
The simplest way to adjust touchpad settings is through the System Settings interface:
Step-by-Step Instructions:
Open System Settings: Click on the Menu button (usually located at the bottom-left corner) and select “System Settings.”
Navigate to Touchpad Settings: Under the “Hardware” section, click on “Mouse and Touchpad.”
Adjust Touchpad Preferences:
- Enable/Disable Touchpad: You can toggle the touchpad on or off.
- Sensitivity Settings: Adjust the pointer speed to your liking.
- Tap to Click: Enable this option if you prefer tapping instead of pressing the touchpad buttons.
- Scrolling Options: Choose between two-finger scrolling or edge scrolling.
- Disable While Typing: Reduce accidental touches by enabling this feature.
Apply Changes: Your settings are usually applied automatically, but ensure everything works as expected.
This method is straightforward, especially for beginners who prefer not to deal with terminal commands.
2. Advanced Configuration Using xinput
For more granular control, Linux Mint users can utilize the xinput
command-line tool. This utility allows you to modify touchpad properties on the fly.
How to Use xinput
:
Open Terminal: Press
Ctrl + Alt + T
to launch the terminal.List Input Devices:
xinput list
Look for your touchpad in the output. It will be listed as something like “SynPS/2 Synaptics TouchPad” or “ELAN Touchpad.”
Check Touchpad Properties:
xinput list-props [device ID]
Replace
[device ID]
with the corresponding ID number from the previous step.Modify Settings: For example, to adjust the sensitivity (acceleration speed):
xinput --set-prop [device ID] "Device Accel Constant Deceleration" 2.5
- Lower values increase sensitivity; higher values decrease it.
Disable Tap-to-Click:
xinput --set-prop [device ID] "libinput Tapping Enabled" 0
- Replace
0
with1
to re-enable tap-to-click.
- Replace
Persistence: These changes reset after a reboot. To make them permanent, consider adding the commands to your startup applications or create an
.xprofile
script in your home directory.
3. Configuring Touchpad Settings via libinput
and Xorg Config Files
Linux Mint uses libinput
for input device management. For advanced, persistent settings, you can modify the Xorg configuration files.
Creating a Custom Configuration File:
Create a New Config File:
sudo nano /etc/X11/xorg.conf.d/40-libinput.conf
Add Touchpad Configuration:
Section "InputClass" Identifier "touchpad" MatchIsTouchpad "on" Driver "libinput" Option "Tapping" "on" Option "NaturalScrolling" "true" Option "DisableWhileTyping" "true" Option "AccelSpeed" "0.5" EndSection
Save and Exit: Press
Ctrl + O
to save, thenCtrl + X
to exit.Reboot the System:
sudo reboot
This method ensures your custom settings are preserved across reboots.
4. Using dconf-editor
for GNOME-Based Adjustments
If you’re using the Cinnamon desktop environment, which is based on GNOME technologies, dconf-editor
provides another way to tweak touchpad settings.
Steps to Configure with dconf-editor
:
Install
dconf-editor
:sudo apt install dconf-editor
Launch
dconf-editor
: Typedconf-editor
in the terminal or search for it in the application menu.Navigate to Touchpad Settings:
- Go to
org
>gnome
>desktop
>peripherals
>touchpad
.
- Go to
Modify Options: Adjust settings like tap-to-click, natural scrolling, and disable while typing.
Apply Changes: Changes take effect immediately.
5. Troubleshooting Common Touchpad Issues
Touchpad Not Detected:
Check for Hardware Recognition:
xinput list
Review Kernel Modules:
lsmod | grep -i i2c
Reinstall Drivers:
sudo apt install xserver-xorg-input-synaptics
Gestures Not Working:
Ensure
libinput-gestures
is installed:sudo apt install libinput-tools
Configure gestures using tools like Gesture Manager or fusuma.
Settings Not Persistent After Reboot:
Use
.xprofile
or/etc/X11/xorg.conf.d/
for permanent settings.Verify startup scripts are executable:
chmod +x ~/.xprofile
Conclusion
Configuring touchpad settings on Linux Mint can greatly enhance your user experience, whether you’re a casual user or a power user seeking precision control. From basic GUI tweaks to advanced command-line configurations, Linux Mint provides multiple avenues to optimize touchpad performance. Experiment with the methods outlined above to find the perfect setup for your workflow.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.