[mythtv-users] volume control from keyboard

James Abernathy jfabernathy at gmail.com
Wed Feb 27 18:19:13 UTC 2019


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

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




More information about the mythtv-users mailing list