You are not logged in.
I'm still getting the hang of linux, and I can't get the volume keys to work.
I have kmix installed, and I do try to map the shortcuts in kmix's settings but even doing so I get no results.
Without kmix installed, relying on Pulseaudio yields the same issue. I do have a kmix widget on my taskbar, as I read on another forum that it might help, which is what solved the issue for someone else having the same issue, but it didn't work for me. No clue what other information I need to provide, so if I need to provide any specific outputs please let me know
Last edited by PointBlank776 (2021-11-21 10:06:50)
Offline
No clue what other information I need to provide
1. Changing the volume itself works, it's only about the shortcuts?
2. X11 or wayland?
3. Run "sudo libinput debug-events", do the keys show up when you press them=
4. "kmix" implies KDE/plasma or do you run it on sth. else (bottom line: what's your shortcut daemon)?
Offline
No clue what other information I need to provide
1. Changing the volume itself works, it's only about the shortcuts?
2. X11 or wayland?
3. Run "sudo libinput debug-events", do the keys show up when you press them=
4. "kmix" implies KDE/plasma or do you run it on sth. else (bottom line: what's your shortcut daemon)?
1. Yes, I can change volume in settings and using the little widget, it's just the shortcuts that aren't responsive
2. X11
3.
-event27 KEYBOARD_KEY +0.000s KEY_VOLUMEDOWN (114) pressed
event27 KEYBOARD_KEY +0.032s KEY_VOLUMEDOWN (114) released
event27 KEYBOARD_KEY +0.920s KEY_VOLUMEUP (115) pressed
event27 KEYBOARD_KEY +0.936s KEY_VOLUMEUP (115) released4. I do indeed run KDE plasma, so KDE shortcuts daemon I'm guessing lol
Offline
ps aux | grep kglobalaccelAre the keys grabed?
xev -event keyboard # and press the keys
sleep 5; xdotool key "XF86LogGrabInfo" # make sure to press one of the volume keys when xdotool hits and check your xorg log for the active (and passive) grabs, https://wiki.archlinux.org/title/Xorg#GeneralOffline
ps aux | grep kglobalaccelAre the keys grabed?
xev -event keyboard # and press the keys sleep 5; xdotool key "XF86LogGrabInfo" # make sure to press one of the volume keys when xdotool hits and check your xorg log for the active (and passive) grabs, https://wiki.archlinux.org/title/Xorg#General
ps aux | grep kglobalaccel:
KeyRelease event, serial 28, synthetic NO, window 0x8a00001,
root 0x1d2, subw 0x0, time 24183075, (78,86), root:(78,115),
state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x8a00001,
root 0x1d2, subw 0x0, time 24183923, (78,86), root:(78,115),
state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: Falsexev -event keyboard # and press the keys
sleep 5; xdotool key "XF86LogGrabInfo"
KeymapNotify event, serial 24, synthetic NO, window 0x0,
keys: 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 28, synthetic NO, window 0x8a00001,
root 0x1d2, subw 0x0, time 24230563, (203,220), root:(203,249),
state 0x10, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 28, synthetic NO, window 0x8a00001,
root 0x1d2, subw 0x0, time 24232739, (203,220), root:(203,249),
state 0x10, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: Falseeverything seems to be picking up fine I think ![]()
Offline
You kinda only posted the xev output, but the keys are currently NOT grabbed (assigned to a global shortcut)
Offline
You kinda only posted the xev output, but the keys are currently NOT grabbed (assigned to a global shortcut)
Ah, my noob-ness has reared its ugly face
I just tried mapping it in kmix but the settings aren't persistant. After exiting settings and going back I can see it didn't stay mapped
edit: God I'm an idiot... Fixed by removing kmix and just setting global shortcut using pulseaudio
Last edited by PointBlank776 (2021-11-21 10:06:00)
Offline
ps aux | grep kglobalaccel
Offline