I have a Mac Mini with an Apple Magic Mouse bluetooth mouse. In order to set up a bluetooth mouse, though, it looks like you have to use a mouse. Doesn't that completely defeat the purpose? Is there a way I can set up my bluetooth mouse using the commandline?
I'm not really sure if you can do it in a terminal, but with my iMac I used tabbing instead.
Tabbing is just that, pressing Tab all the time until you highlight the button that you want to "click", of course, using Space.
I would recommend you to get an USB Mouse, anyway here you have some steps:
Happy ubunting on your Mac Mini! :)
No need for 'tabbing' around
Here's how to do pair input devices using the command line. I assume you put your device in discovery mode first, of course.
Further idea: Create a wrapper script to make it a single command for your machine.
Also useful if you get errors due to other applications having fiddled with Bluetooth.
Used this page as the main reference for the steps above: