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

Media keys are not passed #267

Closed
vbgfhfngfdtyreyt opened this issue Sep 4, 2022 · 1 comment
Closed

Media keys are not passed #267

vbgfhfngfdtyreyt opened this issue Sep 4, 2022 · 1 comment

Comments

@vbgfhfngfdtyreyt
Copy link

vbgfhfngfdtyreyt commented Sep 4, 2022

This issue is a....

[X] Bug
[ ] Other kind of issue (Please describe in detail)

Current Behavior

i3lock --pass-media-keys does not pass media keys.

Expected Behavior

i3lock --pass-media-keys should pass media keys.

Reproduction Instructions

OS is Debian 10. Desktop environment is MATE. I can play and pause media using the media keys via xbindkeys. I lock the screen with: i3lock --pass-media-keys. I would expect the media keys to continue to function as normal. The keys in question are m:0x0 + c:208 and m:0x0 + c:209, which correspond to XF86AudioPlay and XF86AudioPause. (I'm using the keycode numbers instead of the names due to what seems to be a problem with xbindkeys, but it should work either way)

If I had to guess, I think the problem has something to do with how i3lock interacts with MATE. I have used i3lock-color in the past with fluxbox (keys are bound in fluxbox's keys file) and it worked at that time. I think maybe when the screen is locked, some component of MATE is intercepting the keys somehow and they are not getting passed correctly along to xbindkeys, but I am just guessing.

Environment

i3lock version: 2.13.c.4, also tried with 2.13.c.4-37-gaeb9982.

Where'd you get i3lock-color from?

[ ] AUR package (which one?)
[X] Built from source yourself
[ ] Other (Please describe in detail)
@Raymo111
Copy link
Owner

Raymo111 commented Sep 4, 2022

Closing as duplicate of #136

@Raymo111 Raymo111 closed this as completed Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants