Categories: Ubuntu

How to use MouseTweaks on Ubuntu

Under Ubuntu, the development of Mousetweaks was started as GSoc7 project in 2001. Mousetweaks is accessibility software and now is part of GNOME since version 2.22 is released. It adds various functionalities to your mouse settings, such as permitting a user to open the context menu by clicking and holding the left button of your mouse. So, Ubuntu users who want to manipulate one button can use this software. MouseTweaks has four click types: left-click, right-click, double-click, and drag-click. It also provides you the facility to temporarily lock the pointer on a particular area on the screen.

Now, you will learn about how

Sponsored
to install and use MouseTweaks on your Ubuntu system. So let’s start!

How to install MouseTweaks on Ubuntu

First of all, we will update our system repositories:

$ sudo apt update

Next, utilize the below-given command for installing Mousetweaks on your Ubuntu system:

$ sudo apt install mousetweaks

To check out the detailed information about the Mousetweaks package, execute this command:

$ sudo apt show mousetweaks

Sponsored

In the terminal, you can check out the manual of the Mousetweaks application:

$ man 1 mousetweaks

Here, the “man1” command will let you know the name, description, and the options that you can use with the Mousetweaks:

How to use Mousetweaks on Ubuntu

Following are the options that you can utilize with the Mousetweaks command if you want to operate it with the command line:

  • –enable-dwell: This option enables you to make mouse clicks automatically, without utilizing the physical button of the mouse.
  • –enable-secondary: The secondary mouse button is triggered with the help of this option when the primary mouse button is kept down for a certain amount of time.
  • –dwell-time=FLOAT: Before performing a dwell click, the pointer must remain motionless; that’s where “–dwell-time” rescues you. The dwell time range is 0.2 to 3.0 seconds.
  • –secondary-time=FLOAT: This option is used to specify the time for keeping the primary mouse button pressed before performing a simulated secondary click. 0.5 – 3.0 seconds is the range of secondary time.
  • -m, –dwell-mode=STRING: Using these options, you can choose a mode for dwelling. The following arguments are available for this purpose window gesture.
  • WINDOW: From a window or a panel applet, you choose the active click type.
  • GESTURE: The pointer will change its shape when you will move it in different directions.
  • -y, –ctw-y=INT: This option is used to determine the click-type window’s Y position on the screen.
  • -c, –show-ctw: The click-type window will appear when you utilize this option, and it only works when dwell-mode=window is specified.
  • -x, –ctw-x=INT: This option specifies the click-type window’s X position on the screen.
  • -t, –threshold=INT: “-t” option is added in the Mousetweaks command for Ignoring the small pointer movements. Its range is between 0 – 30 pixels.
  • -a, –animate-cursor: As a cursor overlay, this option shows the amount of time that has passed.
  • -s, –shutdown: The Mousetweaks daemon is stopped by using this option in the terminal.

Conclusion

If you want to enhance the functionality of your mouse preferences, then go for the option to use MouseTweaks on your Ubuntu system. It is a type of accessibility software embedded in GNOME. In this post, you have learned about how you can install MouseTweaks on your Ubuntu system. Moreover, we have also explained the use of the Mousetweaks option to you.

Ubuntu Server Admin

Recent Posts

Cut data center energy costs with bare metal automation

Data centers are popping up everywhere. With the rapid growth of AI, cloud services, streaming…

24 hours ago

Build the future of *craft: announcing Starcraft Bounties!

Our commitment to building a thriving open source community is stronger than ever. We believe…

24 hours ago

NodeJS 18 LTS EOL extended from April 2025 to May 2032 on Ubuntu

The clock was ticking: Node.js 18’s upstream End of Life (EOL) The OpenJS Foundation is…

24 hours ago

Native integration now available for Pure Storage and Canonical LXD

June 25th, 2025 – Canonical, the company behind Ubuntu, and Pure Storage, the IT pioneer…

2 days ago

Revolutionizing Web Page Creation: How Structured Content is Slashing Design and Development Time

Co-authored with Julie Muzina A year ago, during our Madrid Engineering Sprint, we challenged ourselves…

3 days ago

Ubuntu Weekly Newsletter Issue 897

Welcome to the Ubuntu Weekly Newsletter, Issue 897 for the week of June 15 –…

4 days ago