Extra keyboard keys

This article assumes you have read Keyboard input.

Many keyboards include some special keys (also called hotkeys or multimedia keys), which are supposed to execute an application or print special characters (not included in the standard national keymaps). udev contains a large database of mappings specific to individual keyboards, so common keyboards usually work out of the box. If you have very recent or uncommon piece of hardware, you may need to adjust the mapping manually.

Laptops

Apple MacBooks

All the required information is available on the Apple Keyboard dedicated article.

Asus M series

In order to have control over the light sensor and the multimedia keys on your Asus machine, you should use the following command:

# echo 1 > /sys/devices/platform/asus_laptop/ls_switch

To have it run on boot create a Systemd tmpfile:

/etc/tmpfiles.d/local.conf
w /sys/devices/platform/asus_laptop/ls_switch - - - - 1
Note: This may work also for other Asus notebook models.

Asus N56VJ (or possibly others)

If most of your special keys do not work, try loading the asus-nb-wmi kernel module with

# modprobe asus-nb-wmi

then check xev again. If you combine this with the acpi_osi="!Windows 2012" boot option, you may get weird results in xev, so try not using it. If this did fix things, make sure to make the module load at boot with methods described in Kernel modules#Automatic module loading.

Lenovo T460p (or possibly others)

Out of the box, the backlight keys (on F5, F6) might not be available, even via the /dev/input interface. To fix this, follow Backlight#Kernel command-line options.

Gaming Keyboards

Gaming keyboards have some special features which may cause them to "misbehave" in Linux.

Cooler Master CM Storm QuickFire TK

This keyboard has two features that could cause confusion in Linux: N-Key Rollover and the Win-Lock Key.

N-Key Rollover can cause problems with the Function keys. To disable N-key rollover, hold down the FN lock key (next to right-ctrl) until it lights up, then hold Escape and press 6 to switch to 6-key rollover. Hold down the FN lock key to disable the Fn lock.

The Win-Lock Key completely disables the Super (Windows) keys. Simply press the FN lock key and F12 together to toggle Win-Lock on and off.

Corsair K series keyboards

There is a winlock button on these keyboards that can disable the use of the Super (Windows) keys. This button is located at the top right of the keyboard next to the num and capslock buttons. CKB can be used to disable this functionality entirely preventing further locking. However, in a default state, simply pressing the button would enable the Super (Windows) keys again.

Logitech G series G710 and 710+

This keyboard has a row of 6 programmable G keys. In order to use them as intended by Logitech, you need to install sidewinderdAUR and start sidewinderd.service.

Logitech G613

This keyboard has a row of 6 programmable G keys. In order to use them as intended by Logitech, you need to install solaar. Within solaar, you will be able to divert the G-Key functions and remap them.

Non-standard keyboards

Royal Kludge RK61 and possibly other Apple keyboards

Some Apple keyboards (including the Royal Kludge RK61) have the function F1F12 keys defaulted to mac media keys. If no is available, this is the the only available behavior unless the default Apple Keyboard behavior is changed. In order to remedy this, make sure the keyboard is being identified as an Apple keyboard using the following command:

# lsusb | grep "Apple.*Keyboard"  

Proceed to Apple Keyboard#Function keys do not work if an Apple Keyboard is found.

gollark: This seems to neglect any happiness you might get from not being utterly isolated in the meantime.
gollark: Or, well, a fairly high chance.
gollark: I suppose you also have to assume that the child has a 100% chance of helping you with your thing.
gollark: The assumption there is of course very assumptive.
gollark: If we approximate it by saying that having and raising a child consumes 50% of your resources and the other half of said resources can be used on direct contributions to things, and the child will definitely help with whatever your goal is, than the child provides a 50% benefit.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.