Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XF86Audio* hotkeys on Lenovo laptops #187

Open
attila123 opened this issue Jun 9, 2019 · 1 comment
Open

XF86Audio* hotkeys on Lenovo laptops #187

attila123 opened this issue Jun 9, 2019 · 1 comment
Assignees
Labels

Comments

@attila123
Copy link

attila123 commented Jun 9, 2019

Hi,
Great software!
I found an issue with a Lenovo laptop keyboard, which may be worth documenting in the readme, or maybe fixing if possible.
I wanted to set the XF86Audio* hotkeys (Fn + F1 for mute, Fn + F2 to volume down, Fn + F3 for volume up). However in every case it selected XF86WakeUp. I did a search and it seems to be related to Lenovo keyboards, Fn key is mapped to this. I looked at ~/.config/pnmixer/config and searched for the numeric representation of these XF86* keys. The first link I found was here: https://askubuntu.com/questions/1048771/how-to-remap-swap-function-and-control-keys . Based on this I could manually configure the proper XF86Audio* hotkeys ~/.config/pnmixer/config and it works fine. Maybe these could be the default settings.

VolMuteKey=121
VolUpKey=123
VolDownKey=122

Maybe it would be possible that until some hotkey is kept pressed it does not immediately accepts that, but only when it is released. Maybe it is already so... I am not sure if it would fix this problem.

@hasufell
Copy link
Collaborator

I also have a Lenovo laptop and I can reproduce this.

@hasufell hasufell self-assigned this Jun 10, 2019
@hasufell hasufell added the bug label Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants