My question is simple. xev
isn't registering Fn+F4
keypress on my Asus FX505DT running Kubuntu 19.10.
So, how shall I proceed with solving this issue?
1 Answer
After this much much time, I've figured out how to make this Fn
+ F4
keypress recognizable by xev
.
The issue started with this key combination having the keycode 248
which isn't interpreted by the X Window system since it only accepts keycodes between 8 - 255
.
Apparently,
248
is the keycode interpreted byshowkey
in the virtual console and8
has to be added to it, which makes it greater than255
. (I don't have any reference for this but I've read this on many threads.)
Once I found out the issue, the solution was simple, to re-allocate the Fn
+F4
keypress somewhere between 8 - 255
. I found the unassigned keycodes using xmodmap -pke
, and in my case I went with 120
.
Afterwards, I proceeded using this tutorial.
In my case,
showkey -s
wan't returning anything so I had to usegetkeycodes
.
Once the keycode 120
was assigned to Fn
+ F4
, I assigned the XF86AudioMicMute
symbol to it using xmodmap
.
showkey
I finally got some response:248
.showkey
andxev
both don't registerFn+F5
. How should I go about fixing that?evtest
, I've found that keysym248
comes under a separate device named as Asus WMI hotkeys. How can I use this input with i3wm?