Update: These instructions were written for Ubuntu Linux 7.04 ("Feisty Fawn"). They are not necessary to configure Bluetooth devices in Ubuntu 7.10 or later. I will update these instructions soon.

I first used a wired Mighty Mouse on a friend's MacBook Pro. Excited about the possibility of getting the wireless model (because, let's face it, everyone loves wireless peripherals), I searched the Internet for information about whether anyone had gotten it working on Linux. While I found some long how-tos describing how to get the wired version of the mouse working, there was a paucity of information about the wireless model, which uses Bluetooth.
At some point this week, I ran across a reference to it while browsing the Apple Store (either because of the Santa Rosa update to the MacBook Pro or for work-related purposes). My interest yet again piqued, I looked again for information about getting it working in Ubuntu. Finding a page that suggested that it was relatively easy, I bought it.
Configuring it to work with Ubuntu 7.04 (Feisty Fawn) was actually easier than the page I found had suggested. As the image to the right shows, all I needed to do was enable Bluetooth on my laptop, turn the mouse on, and then pair the two devices (the Mighty Mouse's default PIN is 0000).
Getting horizontal scrolling to work was a bit more difficult. Luckily, I was able to adapt directions from the Ubuntu forums. I added the following to my /etc/X11/xorg.conf:Section "InputDevice"
Identifier "MightyMouse"
Driver "evdev"
Option "CorePointer"
Option "Name" "Apple Computer, Inc. Mighty Mouse"
Option "HWHEELRelativeAxisButtons" "7 6"
Option "Buttons" "8"
EndSection
The "Name" option might be different depending on your model of Mighty Mouse. Since there can only be one "CorePointer," I had to remove it from my Trackpoint. Unfortunately, this means that the Trackpoint no longer works. See comments for an update. In my mind, though, this is a reasonable price to pay for the coolness of horizontal scrolling. As you can see from the image to the right left, I have removed the Trackpoint's cap from my laptop in order to discourage me from using it. It is slightly more difficult to remember that the buttons below it also do not work, though. Still, in between the Mighty Mouse and my Thinkpad's touchpad, I am certain that I will adjust.
# At 11:31 on June 8, 2007, Martey wrote:
After I found the above configuration made suspend-to-RAM stop working (X11 refused to come back because its CorePointer had disappeared), I made the TrackPoint the CorePointer again and added
"Option "SendCoreEvents" "true"to the MightyMouse section. After I added the device to the "ServerLayout" section near the end of xorg.conf (which I should have done before), both the Mighty Mouse's horizontal scrolling and the Trackpoint started to work.# At 2:33 on June 14, 2007, Martey wrote:
I think it is also a good idea to edit /etc/defaults/bluetooth so that hidd is enabled when bluetooth is (so that your mouse will be recognized if you disable and then re-enable bluetooth). I added/modified the following two lines:
HIDD_ENABLED=1 HIDD_OPTIONS="--master --connect [address of my Mighty Mouse] --server"# At 19:35 on June 16, 2007, heatxsink wrote:
Awesome, I did this back on Ubuntu Dapper Drake. Go Ubuntu!
# At 21:27 on May 15, 2008, kor wrote:
Hi,
This is strange, but I'm unable to properly use the wireless mighty mouse in Ubuntu. The cursor moves but no mouse clicks are registering. Any idea?
Thanks, m
# At 7:38 on May 17, 2008, Martey wrote:
Which version of Ubuntu are you using? How is the relevant section of your xorg.conf set up?
# At 20:22 on November 2, 2008, Michael rempes wrote:
Hi I use 7.1 and my mouse clicks are not registering either. I'm really stuck on this and am running out of ideas of how to get it to work.
# At 0:43 on December 14, 2008, Martey wrote:
In Ubuntu 8.10, I am not seeing that issue. Michael, you might want to upgrade.
# At 13:10 on March 6, 2009, Sam wrote:
Hi, I just wondered if you had to have bluetooth built into the PC to use the wireless mighty mouse, or can you use a bluetooth dongle?
# At 13:52 on March 6, 2009, Martey wrote:
Sam,
I personally have internal bluetooth on all of my laptops, but you can use a dongle as well.