After having installed Ubuntu Linux 14.04 on an Apple Mac I found that the keyboard layout was not quite correct, e.g. function keys were not easily accesible and some characters were missing. The changes below will turn the keyboard into a keyboard with standard PC layout.
The side effect of this is that some keys will have the incorrect label (`¬\|#~2″‘@), but at least they will all be accessible in the ‘correct’ position.Edit the module options for hid_apple:
sudo nano /etc/modprobe.d/hid_apple.confInsert the following:
options hid_apple fnmode=2 options hid_apple iso_layout=0
update-initramfs -u -k all