Apple Slim Aluminum Keyboard with Kubuntu

From Stack Overflow
Jump to: navigation, search

Out of the box, the Apple Slim Aluminum Keyboard requires you to hit the "fn" key to get access to the F-keys (otherwise they send in scancodes for their Apple-assigned operation such as brightness, expose, dashboard, etc.) To swap this so that you can simply hit the key and get the F-key without having to hold down "fn" you have to edit /etc/modprobe.d/options and add:

# Apple keyboard "fn" key fix
options hid pb_fnmode=2
# After changing this, run:
# sudo update-initramfs -u -v -k `uname -r`

You then need to rebuild the initrd with: sudo update-initramfs -u -v -k `uname -r`

Source: all over the place, but most recently,