xQuartz is an open-source X windowing system for macOS. I managed to run x2vnc on my mac:
Within the x2vnc directory, run ./configure
Edit the Makefile to include X11 (sorry I don't know the more elegant way to do this)
On line 7, add -I/opt/X11/include making the full line INCLUDES = -I/opt/X11/include -I. -DVERSION=\"$(...
1st Answer Alt. Using The Interface Answer (Credit user3439894)
Does the command line version from my understanding.
Open System preferences
Open Bluetooth Settings
Click on Advanced
Uncheck the 2nd Box "Open Bluetooth Setup Assistant at startup if no mouse or trackpad is detected"
Note: this may look different on your Mac as I am running ...
There's also a free app called Karabiner Elements. It can be used for various mappings, including keyboard and mouse.
Get it from: https://pqrs.org/osx/karabiner/
I've been using it successfully since getting a mac.
With this you can add a "Complex Modification" from their site. I found one for back and forward functionality.
Make sure to tick the devices ...
I ran into this issue today. I would command-click on a URL in iTerm2 (Mac) and the app would seemingly lose focus but the link wouldn't open in a browser (Chrome, in my case). This used to work fine for me so I was a little confused and the other answers here didn't work for me.
It seemed to me that Chrome was "trying" to open but failing for some reason. ...