


Sudo gedit pincodes Add this line to the new file, save, and exit: 0000 # You can use TAB to complete, if it's the only Bluetooth device on your system: If you find that you are not being prompted to "Always grant access" ( refer to the Apple Magic Trackpad article) and that the device is not available after a reboot ( i.e., you have to reconnect), try adding the pincode for the device (0000) to /var/lib/bluetooth//pincodes, like so:ĭetermine the physical (model-specific) and unique device IDs from the output of lsinput (from the "input-tools" package) as shown below.Ĭreate /lib/bluetooth//pincodes as the root user (or with sudo): # This folder *should* already exist, create it with 'sudo mkdir' if not. Problem: Pairing does not persist between reboots on Maverick (10.10) Once these steps have been completed the mouse will remain available in Ubuntu. Once the device has been connected once or moved from another system, you can force pairing again by going to the Bluetooth applet and choosing Apple Wireless Mouse > Connect (if a PIN is asked, you can provide 0000 as the PIN code and press Enter to pair the mouse):

The Magic Mouse can be forced in pairing mode by turning it off and on again (the "on" position will show green color in the switch position). Make sure "0000" is selected under "Fixed PIN":Ĭlicking Forward should then complete the pairing, which Ubuntu will remember. Click once on it, then choose "PIN options.". Once the Bluetooth setup dialog opens, you should see you mouse listed. Once you have inserted batteries in your Magic Mouse, if your system is Bluetooth-capable and its radio is enabled, go to System > Preferences > Bluetooth and click on Setup new device. Note: This has been tested in Ubuntu Maverick (10.10) only.

The following setup instructions only need to be followed once, then Ubuntu will recognize the Magic Mouse without further configuration. It can be used as a single-touch or multi-touch device in Ubuntu by pairing it using the Bluetooth utilities in Ubuntu. The Magic Mouse is a multi-touch mouse produced by Apple Inc.
