Are you tired of accidentally opening the context menu when you're just trying to use the Control key? Me too.
Many applications, especially in programming, design, and gaming, use Control as a modifier for primary actions. If you're used to a two-finger tap or a dedicated mouse button for right-clicking, the default Ctrl-Click behavior can be an annoying interruption. This app fixes that.
This is a tiny, native macOS utility that lives in your menubar and does one thing: it forces Control + Left-Click to behave like a normal Left-Click, disabling the default right-click/context menu behavior.
That's it. No more random right-clicks.
- ✅ Lightweight & Native: A simple Swift app with minimal resource usage.
- ✅ Configurable via Menubar: Click the icon to temporarily disable the functionality, toggle "Open at Login", or quit the app.
- ✅ Menubar App: Lives discreetly in your menubar. Cmd+Drag to hide it, and launch the app again to bring it back.
- ✅ Starts at Login (Optional): Automatically starts when you log in. This can be toggled from the app's menu.
- ✅ Zero Config: Just run it and grant permissions. That's it.
- ✅ Modern & Secure: Built with modern APIs and requires no special privileges beyond what's necessary to function.
- ✅ Transparent & Tiny: It's so small you can literally read the full code of the app or feed it to any AI to understand exactly what it does and what you're running on your Mac.
-
Download: Go to the Releases page and download the latest
DisableCtrlClick.dmg. -
Install: Open the file and drag
DisableCtrlClick.appto your/Applicationsfolder. -
Launch: Open the app from your Applications folder.
-
Grant Permissions: On the first launch, the app will prompt you to grant permissions and then quit. You must enable Accessibility and Input Monitoring for
DisableCtrlClickin:System Settings > Privacy & Security > Accessibility
Why? This is required for any application that needs to see and modify your mouse or keyboard events system-wide. The app only looks for
Ctrl-Clickand does nothing else. -
Done! Relaunch the app one more time. It is now running and will launch automatically every time you log in by default. You can change this behavior from the menubar icon.
The app will show a small icon in your menubar.
- Click the icon to open a menu where you can temporarily disable the functionality, control whether it opens at login, or quit the app.
- You can hide the icon by holding
⌘(Command) and dragging it out of the menubar. If you want it back, just launch the app again.
If you prefer to build the app yourself:
-
Clone this repository:
git clone https://github.com/achendev/DisableCtrlClick.git cd DisableCtrlClick -
Make sure you have the command-line tools for Xcode installed.
-
Run the build script from your terminal:
./build.sh
-
The
DisableCtrlClick.appbundle will be created in the project directory. You can then move it to your/Applicationsfolder. -
Drag to /Applications, launch it. It will be added to 'Open at Login' automatically by default.
-
Grant Accessibility and Input Monitoring permissions in System Settings.
App is provided 'as is' and without any warranty, express or implied
Requires macOS 13.0 (Ventura) or later.
How to Quit
Click the menubar icon and select "Quit". If you have hidden the icon, you can either launch the app again to show it, or use the command killall DisableCtrlClick in your Terminal.
How to Reset Permissions
If the app is not working, try resetting its permissions:
bash tccutil reset Accessibility com.usr.DisableCtrlClick
This project is released under the MIT License.
