Friday, August 7, 2009

Apple aluminum keyboard on Gentoo

I recently got a new Apple aluminum to replace my crusty ol' logitech I bought in 2004, and so far I think it's excellent. By far the best keyboard I have ever used, except the function keys don't work without a bit of tweaking. Here is how I got them working on Gentoo:

Create '/etc/init.d/applefn' with the following contents:

#!/sbin/runscript

start() {
echo 2 > /sys/module/hid_apple/parameters/fnmode
}


Make it take affect now:

su -c "/etc/init.d/applefn"


Add to to default runlevel:

su -c "rc-update add applefn default"

0 comments:

Post a Comment