[mythtv-users] volume control from keyboard

Hika van den Hoven hikavdh at gmail.com
Wed Feb 27 18:36:16 UTC 2019


Hoi James,

Wednesday, February 27, 2019, 7:19:13 PM, you wrote:


> On 2/27/19 1:04 PM, Hika van den Hoven wrote:
>> Hoi James,
>>
>> I guess the action through those keys depends on how X recognizes your
>> keyboard, if at all. Possibly if your keyboard is recognized correctly
>> you can manage those keys through your window manager.
>> In your X start log (probably /var/log/Xorg.0.log) you can see if and
>> as what your keyboard is recognized.
>>

> Here is what X says about the keyboard:

> jim at Martha-desktop:/var/log$ cat Xorg.0.log | grep keyboard
> [     9.406] (**) Power Button: Applying InputClass "libinput keyboard
> catchall"
> [     9.408] (II) event1  - Power Button: device is a keyboard
> [     9.409] (II) event1  - Power Button: device is a keyboard
> [     9.409] (**) Power Button: Applying InputClass "libinput keyboard
> catchall"
> [     9.410] (II) event0  - Power Button: device is a keyboard
> [     9.411] (II) event0  - Power Button: device is a keyboard
> [     9.413] (**) Dell Dell USB Keyboard Hub: Applying InputClass 
> "libinput keyboard catchall"
> [     9.414] (II) event7  - Dell Dell USB Keyboard Hub: device is a keyboard
> [     9.415] (II) event7  - Dell Dell USB Keyboard Hub: device is a keyboard
> [     9.416] (**) Dell Dell USB Keyboard Hub: Applying InputClass 
> "libinput keyboard catchall"
> [     9.417] (II) event8  - Dell Dell USB Keyboard Hub: device is a keyboard
> [     9.418] (II) event8  - Dell Dell USB Keyboard Hub: device is a keyboard
> [     9.419] (**) Yubico Yubico Yubikey II: Applying InputClass 
> "libinput keyboard catchall"
> [     9.420] (II) event9  - Yubico Yubico Yubikey II: device is a keyboard
> [     9.421] (II) event9  - Yubico Yubico Yubikey II: device is a keyboard

> I did find out how to disable those keys in Ubuntu 18.04. You go to 
Settings ->> Devices -> Keyboard and find the media keys for volume and 
> disable them. So now, at least I I won't crash MFE. I look to see if I
> can use these keys now instead of F9-11.

> Jim A

So your keyboard is recognized. Managing those keys works similar as
the modern lirc inteface as that uses the old keyboard interface. If
you do not want to go deep into your system to change the keyboard
definition, you are dependent on whether your windowmanager enables
you to manage it through its keyboard settings. So look in its settings
interface for keyboard settings.
If you use a simple WM it probably is not supported.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list