Различные коды клавиш для F3 и F4 на внешней клавиатуре против клавиатуры ноутбука

737
oneself

Я использую производную Debian с xmonad на своем ноутбуке (Lenovo X230). У меня есть док-станция и подключенная к ней внешняя клавиатура и трекбол. Клавиатура - это преимущество Kinesis. Все работало нормально, когда вдруг F3 и F4 перестали работать через внешнюю клавиатуру. Это означает, что горячие клавиши, которые я им сопоставил с vix xmonad, не отвечают. Тем не менее, они все еще работают на ноутбуке напрямую.

Я запустил «showkey -k» и назначил клавиши F на обеих клавиатурах. Вот результаты:

|-----+---------+--------| | Key | Kinesis | Laptop | |-----+---------+--------| | F1 | 59 | 59 | | F2 | 60 | 60 | | F3 | 165 | 61 | | F4 | 164 | 62 | | F5 | 63 | 63 | | F6 | 64 | 64 | |-----+---------+--------| 

По какой-то причине F3 и F4 выдают разные коды клавиш при нажатии на внешней клавиатуре, а затем на внутренней клавиатуре ноутбука. Я попытался сбросить клавиатуру Kinesis, но ничего не изменилось.

Кто-нибудь случайно не понял, что происходит?

Спасибо

1

1 ответ на вопрос

3
Rik

I found someone with a similar problem here.

It seems the Kinesis keyboard has a multimedia setting.

Finally, I found the answer on the Kinesis FAQ. My F3 and F4 keys were behaving like multimedia keys (see manual to configure these). This feature can be disabled by holding = and pressing P for PC (you can also use W for Windows and M for Mac).

So try =+P and see if it's resolved. (or =+W or =+M)

From the FAQ:

9. Function keys not working on USB Advantage Keyboard

It's possible the "Multi Media" features of the keyboard have been enabled, which changes some of the function keys.

To check, open up some kind of text editor and press and hold the equals key and tap the letter "s". You should see some text on the screen. If you see any of the function keys listed inside the brackets [F3 F4 etc. ] then you know the Multi Media features are active.

Normally, this is turned on by holding down the equals key and tapping the letter "n."

To disable the Multi Media feature, enter the Instant Configuration you're currently in.

So for example, if your keyboard is in Windows Mode, select Windows mode by holding down the equals key and tapping "w" (=w). (=m for mac mode and =p for PC mode)

This will clear the settings and your function keys should behave as expected.

Рик: Ты человек! oneself 10 лет назад 0

Похожие вопросы