You are not logged in.
Pages: 1
Sol: another tool for global keybinds was running (sxhkd here)
Removed config for those functions and it works fine.
Hey so i switched keyboard and my Fn volume keys stopped working.
F2 is the volume -
F3 is the volume +
F4 is the mute key
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -RTMIN+10 -f 'dwmblocks'") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -RTMIN+10 -f 'dwmblocks'") },
{ 0, XF86XK_AudioMute, spawn, SHCMD("pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -RTMIN+10 -f 'dwmblocks'")}This is the config I'm using using in dwm, signaling to update dwmblocks.
xev output on pressing Fn + F2, F3 and F4: https://0x0.st/Xhfr.txt
Doesn't show keysyms like my old keyboard.
sudo showkey --scancodes
0xe0 0x2e 0xe0 0xae
0xe0 0x30 0xe0 0xb0
0xe0 0x20 0xe0 0xa0
^[[C0xe0 0x4d 0xe0 0xcd
^[[4~0xe0 0x4f 0xe0 0xcfScancodes for Fn + F2, F3, F4 and right arrow, End keys.
showkeys command shows
keycode 114 press
keycode 114 release
keycode 115 press
keycode 115 release
keycode 113 press
keycode 113 release
^[[Ckeycode 106 press
keycode 106 release
^[[4~keycode 107 press
keycode 107 releaseRemapping using xmodmap
xmodmap -e "keycode 114 = XF86AudioLowerVolume"
xmodmap -e "keycode 115 = XF86AudioRaiseVolume"Maps right arrow to vol - and end key to vol +
I think 114 is supposed to be right arrow and 115 supposed to be end?
Rest of the Fn keys work fine.
I would appreciate being linked to relevant wiki page
Last edited by Elixirslayer (2024-12-10 09:58:59)
Offline
what laptop/keyboard are you using? have you tried googling it?
Does the old keyboard also have this problem?
Last edited by jl2 (2024-12-10 07:07:55)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
what laptop/keyboard are you using? have you tried googling it?
Does the old keyboard also have this problem?
No, my old cosmicbyte keyboard did not have any problem.
I'm currently using AntEsports MK3400 pro V3 (-10/10 absolutely not recommended, shit keyboard)
yes i did search it up and tried the things mentioned in the first post.
Offline
FocusOut event, serial 32, synthetic NO, window 0x2800001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 33, synthetic NO, window 0x2800001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 33, 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
FocusOut event, serial 33, synthetic NO, window 0x2800001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 33, synthetic NO, window 0x2800001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys: 2 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
FocusOut event, serial 33, synthetic NO, window 0x2800001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 33, synthetic NO, window 0x2800001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys: 2 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 looks like you're very much triggering a global shortcut here.
Disable the shortcuts and try again.
Offline
FocusOut event, serial 32, synthetic NO, window 0x2800001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 33, synthetic NO, window 0x2800001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 33, 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 FocusOut event, serial 33, synthetic NO, window 0x2800001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 33, synthetic NO, window 0x2800001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 33, synthetic NO, window 0x0, keys: 2 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 FocusOut event, serial 33, synthetic NO, window 0x2800001, mode NotifyGrab, detail NotifyAncestor FocusIn event, serial 33, synthetic NO, window 0x2800001, mode NotifyUngrab, detail NotifyAncestor KeymapNotify event, serial 33, synthetic NO, window 0x0, keys: 2 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 0looks like you're very much triggering a global shortcut here.
Disable the shortcuts and try again.
OH yes it could be sxhkd, didn't give that a thought.
It works!
Offline
Pages: 1