特別なキーボードキー

提供: ArchWiki
2022年9月20日 (火) 16:25時点におけるAshMyzk (トーク | 投稿記録)による版 (同期)
ナビゲーションに移動 検索に移動

この記事では、あなたが キーボード入力 の記事を読んだことを想定しています。

多くのキーボードにはいくつかの 特殊キー (ホットキー とも マルチメディアキー とも呼ばれます) が存在します。それらは、アプリケーションの実行や (標準的な国際キーマップには含まれていない) 特殊文字の入力を行うことを想定しています。udev は様々なキーボードに関する巨大なデータベースを持っているため、基本的なキーボードは何も設定せずとも問題なく動作します。最近発売されたばかり、または非常にレアなハードウェアを使っている場合に、マッピングを手動で調整する必要がでてきます。

ノートパソコン

Apple MacBooks

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

Asus M シリーズ

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
ノート: This may work also for other Asus notebook models.

Asus N56VJ (おそらく他のものも)

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 with systemd.

Lenovo T460p (おそらく他のものも)

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 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 シリーズキーボード

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 シリーズ G710 と 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.

非標準的なキーボード

Royal Kludge RK61 とおそらく他の Apple キーボード

Some Apple keyboards (including the Royal Kludge RK61) have the function F1F12 keys defaulted to mac media keys. If no Fn Lock 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.

参照