How can I reverse the 'fn' key on an Apple Keyboard so that F1, F2, F3... are used as default?

This is described on the Ubuntu Community Wiki:

https://help.ubuntu.com/community/AppleKeyboard#Change%20Function%20Key%20behavior

You can try:

sudo bash -c "echo 2 > /sys/module/hid_apple/parameters/fnmode"

If it works you can change this permanently (per the linked wiki page):

echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf
sudo update-initramfs -u -k all
sudo reboot # optional

please try this when editing directly fnmode fails.

echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode