Ask Your Question

Revision history [back]

I have configured my function keys on an Apple desktop keyboard (Linux PC though - I know it's a weird hardware combination!) in a similar way, so I'll post my solution here in case it leads you in the right direction.

You can change the behaviour of the keys at runtime to get the F1-F12 keys without pressing Fn using (as root)

echo 0 > /sys/module/hid_apple/parameters/fnmode

Or alternatively, set it to 1 to get volume/etc. by default

To have it set automatically at boot time, I use:

echo "options hid_apple fnmode=0" > /etc/modprobe.d/50-hid_apple.conf

I'm guessing your Lenovo keyboard will have a similar kernel module that can be configured in a similar way.