Skip to content

Instantly share code, notes, and snippets.

@gndy
Forked from jiphex/apple-bluetooth-kb-f20.md
Created May 23, 2017 05:43
Show Gist options
  • Select an option

  • Save gndy/24609c347e4b6815495586dea819f76f to your computer and use it in GitHub Desktop.

Select an option

Save gndy/24609c347e4b6815495586dea819f76f to your computer and use it in GitHub Desktop.
Pairing an Apple Bluetooth keyboard with Fedora 20

For some reason, this didn't work with the standard GUI bluetooth tools, so I did the following

  1. Run the command-line bluetoothctl tool
  2. type "agent on"
  3. type "scan on"
  4. press the button on your keyboard, the light should flash if it's not paired with anything else
  5. type "devices" (this shows the list of devices)
  6. type "trust xxxx" where xxxx is the keyboard MAC
  7. type "connect xxxx" where xxxx is the keyboard MAC
  8. type "pair xxxx" where xxxx is the keyboard MAC
  9. it should give you a code, type the code on the bluetooth keyboard's numbers, then press enter (on the bluetooth keyboard)
  10. hopefully you should be paired now

Note: I wrote this from memory, and I'm not sure if the trust/connect steps are necessary.

See also: https://wiki.archlinux.org/index.php/Bluetooth_Keyboard#Pairing_process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment