The script works with the Magic Trackpad. I just have to be a bit patient on startup until everything is loaded.
I wrote a wrapper init script and an install script. They are simple adaptations of other scripts so they should be harmless, but no guarantees. This way I avoid running your main script on shutdown (runlevel 0, which defaults to stop and now does nothing). I renamed your script apple-keyboard, but otherwise it is unaltered. Actually, with this solution it should be possible to remove the loop again. ** Attachment added: "apple-keyboard.zip" https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1001825/+attachment/3214258/+files/apple-keyboard.zip -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001825 Title: apple bluetooth keyboard and mouse: conflict between ubuntu and OS X To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1001825/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs