Skip to content
Follow
Ubuntu Linux

Switch Primary Mouse Button in Ubuntu

Richard
Written by
Richard
Sep 8, 2022 Updated Jul 14, 2026 2 min read
How to Display Seconds on Ubuntu Top Menu Clock
How to Display Seconds on Ubuntu Top Menu Clock

Switching the primary mouse button in Ubuntu changes which button acts as the main click button.

This means you can make your right mouse button the one that opens things and selects items, instead of the usual left button.

Many left-handed people find this setting helpful. Ubuntu, like most operating systems, defaults to the left button for clicking.

Changing this simple setting ensures your mouse works comfortably for you, whether you’re right-handed or left-handed.

⚡ Quick Answer

Open Settings, then click Mouse & Touchpad. Under General, select Right as the primary button to make your right mouse button the default for clicking and selecting.

How to switch the primary mouse button in Ubuntu Linux

Switching the primary mouse button in Ubuntu Linux can make your mouse more comfortable to use, especially for left-handed people. This change swaps the functions of your left and right mouse buttons, so the right button acts as the main click. Ubuntu keeps most settings in one convenient place for quick adjustments.

Ubuntu organizes most settings in the System Settings panel. From here, you can change system configurations, create new users, and update your system.

Ubuntu Linux activities overview screen
ubuntu linux activities overview

Alternatively, click on the System menu at the top-right corner of your desktop’s top bar.

Select Settings from the System menu, as highlighted below.

Ubuntu Linux system menu with settings option
ubuntu linux system menu top bar settings

Click on the Mouse & Touchpad tile in the Settings app to open the panel.

Mouse and touchpad settings tile in Ubuntu
ubuntu linux change mouse and touchpad tile

In the Mouse & Touchpad panel, look for the General section and choose Right or Left to switch the primary button.

Changing primary mouse button settings in Ubuntu
ubuntu linux change mouse primary button
📝Good to Know
This setting applies to your mouse, touchpad, and any other pointing devices.

And that’s it! You can close the Settings app now.

Conclusion:

  • Changing the primary mouse button in Ubuntu Linux can greatly improve the experience for left-handed users.
  • By following the simple steps outlined in this post, users can comfortably swap the behavior of the left and right mouse buttons.
  • Accessing the System Settings panel and navigating to the Mouse & Touchpad section allows a quick adjustment to the primary button setting.
  • This guide provides an accessible solution for customizing the mouse behavior in Ubuntu Linux, catering to diverse user preferences.

How to remap mouse buttons on Ubuntu?

Scroll down to the ‘Mouse & Touchpad’ section and click on it. Then, right at the top under General, the primary button is set to Left by default.

How to configure mouse buttons in Linux?

Click on the Preferences tab. expand the ‘Additional buttons’ section. Click the Add button. Move your mouse over the grey box that appears and click the appropriate button on your mouse.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

4 PCs, 1 Mouse: PowerToys Mouse Without Borders
Windows 4 PCs, 1 Mouse: PowerToys Mouse Without Borders
Add Multiple Clocks to Ubuntu Linux Top Bar
Ubuntu Linux Add Multiple Clocks to Ubuntu Linux Top Bar
How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11
How to Install Let's Chat on Ubuntu Linux
Ubuntu Linux How to Install Let's Chat on Ubuntu Linux

0 Comments

Leave a Comment

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