I'm running 14.04 on a pc, and I can get my A1314 keyboard to work, but the only way is to hold down the power button until it starts seeking, then disonnect and reconnect it in bluetooth settings.
I have a Microsoft Bluetooth mouse and it works properly. I get to the GDM and after a few seconds it connects automatically. Not so with the keyboard, though.
Additionally, it always shows in the battery indicator as having 0% power. So I never know how much power it actually has left.
Also, I can't manually disconnect it. Once connected it always stays on.