I don't think you'll get your keyboard working in linux on a mac. I say this because of an experience I had. I had bought one of those slim bluetooth keyboard they make for Mac's, because I liked it. I use it on a Windows machine. Well, once I installed linux on my windows box, and could not get it to see my keyboard. Come to find out, this is because the way a Mac bluetooth keyboard authenticates to the dongle is backwards then PC based bluetooth keyboards.
Normal scenario with say a Microsoft Bluetooth keyboard under windows.
You connect the dongle, connect the keyboard, discover the device. You then enter a 4 to 6 digit number into your keyboard and press enter. You then type that same number into the dialog box on your windows computer.
A scenario with a mac keyboard under windows.
You connect the dongle, connect keyboard, discover the device. The dialog box on the screen gives you a 6 digital number to type into the keyboard and press enter.
See, backwards. I actually found out that only the Bluesoliel software will make a Mac keyboard work under Windows. This is because Bleusoliel knows how to handle the backwards auth. The Widcomm stack does not, Widcomm just gives me a blank dialog box waiting for input. Except the keyboard already broadcasted the input to the dongle, the software just doesn't know it supposed to be listening for it.
Linux is a similar problem, I got my microsoft bluetooth keyboard working great under linux, but the Mac keyboard will not.