You are not logged in.
Hey all, I'm having trouble finding some info on this issue.
For my most recent install, I installed GDM and the Gnome desktop for when I break my tiling wm configurations. I have disabled wayland for GDM and xmonad only runs in X11.
I have key shortcuts set up in my configurations to catch XF86Audio* events to trigger a small pulse script I wrote. These did not work after logging into xmonad via GDM. If I logged into Gnome, the keys worked.
For some reason, xev is not showing the XF86Audio* keys on press. Rather shows the following:
MappingNotify event, serial 33, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248
FocusOut event, serial 33, synthetic NO, window 0x1c00001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 34, synthetic NO, window 0x1c00001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 34, synthetic NO, window 0x1c00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 34, synthetic NO, window 0x0,
keys: 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 0
MappingNotify event, serial 34, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248Where it gets odd, I disabled GDM, logged into via the tty, and started xmonad. Xev is still showing the same event, but now my keyboard shortcuts that use the XF86Audio* key event are working.
So my question is, is this something I can stop GDM from doing? It seems its capturing and handling the events before it gets to the window manager. I would like to continue to use GDM as functionally and aesthetically, it's what I want and need.
This section doesn't look relevant, but maybe it does more than the wiki suggests: https://wiki.archlinux.org/title/GDM#Tu … _the_sound
Offline
Try masking the org.gnome.SettingsDaemon.MediaKeys.service ...
systemctl --user --global mask org.gnome.SettingsDaemon.MediaKeys.service --nowLast edited by V1del (2022-10-05 10:22:06)
Offline
@paumanok were you able to configure what you described? I'm trying to set up the same thing and have been struggling with mediakeys and other key bindings (for example for the lock screen) for a week now without success.
I tried what @V1del recommended, but it also doesn't work for me.
Offline