Apple Keyboard -
This is a guide on how to make Apple Keyboards behave exactly like normal keyboards.
You need to download/clone:
You must have
udev set up.
First, untar the keyfuzz tarball whereever you like, cd into the directory, build and install it:
# tar xvzf keyfuzz-0.2.tar.gz # cd keyfuzz-0.2 # ./configure --with-init-dir=. --disable-lynx # make # sudo make install
Next, cd to the
un-apple-keyboard repo. If you have an English International layout keyboard (the English International has the L-shaped Enter key), you may want to change
options hid_apple fnmode=2 iso_layout=0 swap_opt_cmd=1
options hid_apple fnmode=2 swap_opt_cmd=1
in the file
Next, we install
un-apple-keyboard manually (it's originally and AUR package):
# sudo mkdir /etc/udev/rules.d # sudo cp 10-apple-keyboard-rules /etc/udev/rules.d/ # sudo cp fix-apple-keyboard /usr/bin/ # sudo mkdir /etc/keyfuzz # sudo cp apple_keyboard.keyfuzz /etc/keyfuzz/ # sudo hid_apple.conf /etc/modprobe.d/ # sudo mkdir -p /usr/share/licenses/un-apple-keyboard && sudo cp LICENSE /usr/share/licenses/un-apple-keyboard -- Non functional step, default on Arch
Now for the last coup (if you're doing this from your Apple keyboard, do both in one step as shown here):
# sudo rmmod hid_apple && sudo modprobe hid_apple
You may need to replug your keyboard.