Keyboard Fn key functionality different in Windows and Linux
by Turbulent_Collar from LinuxQuestions.org on (#55VZM)
Hi everyone,
I'm currently using a small mechanical keyboard (Ajazz K680t) without physical function keys, where the F1-F12 keys are accessed by pressing Fn + Numrow(1 to =).
This functionality works perfectly fine in Windows (and I should add in my BIOS), but once I am in Linux, whenever I attempt to use F1-F12 (using Fn + Numrow) it instead triggers secondary functions such as adjusting brightness etc (identical to the equivalent functions of a Mac keyboard).
I tried using xev, and essentially all F1-F12 keyboard events weren't registered properly (it was sending keyboard signals for volume/brightness control etc. from what I can tell).
It's worth noting that my keyboard has a "Mac" mode, where Fn + Numrow gives the Mac keyboard functions (volume/brightness control etc.) and in this mode, the F1-12 keys work correctly, but my Ctrl/Win/Alt keys will be flipped around to follow the mac layout, something I'd really rather not have to deal with.
I suspect the issue is that somehow Linux is detecting both the F1-F12 signals and the Fn key signal, triggering the secondary function of the keys, but I might be wrong.
Question: Is there any way to disable secondary functions of Fn keys in Linux (on the software side) or to map the secondary functions of Fn keys directly to the Fn keys themselves?
I'm currently running Linux Mint 19.3 Cinnamon on the 5.0.0-32-generic kernel.
Thanks!


I'm currently using a small mechanical keyboard (Ajazz K680t) without physical function keys, where the F1-F12 keys are accessed by pressing Fn + Numrow(1 to =).
This functionality works perfectly fine in Windows (and I should add in my BIOS), but once I am in Linux, whenever I attempt to use F1-F12 (using Fn + Numrow) it instead triggers secondary functions such as adjusting brightness etc (identical to the equivalent functions of a Mac keyboard).
I tried using xev, and essentially all F1-F12 keyboard events weren't registered properly (it was sending keyboard signals for volume/brightness control etc. from what I can tell).
It's worth noting that my keyboard has a "Mac" mode, where Fn + Numrow gives the Mac keyboard functions (volume/brightness control etc.) and in this mode, the F1-12 keys work correctly, but my Ctrl/Win/Alt keys will be flipped around to follow the mac layout, something I'd really rather not have to deal with.
I suspect the issue is that somehow Linux is detecting both the F1-F12 signals and the Fn key signal, triggering the secondary function of the keys, but I might be wrong.
Question: Is there any way to disable secondary functions of Fn keys in Linux (on the software side) or to map the secondary functions of Fn keys directly to the Fn keys themselves?
I'm currently running Linux Mint 19.3 Cinnamon on the 5.0.0-32-generic kernel.
Thanks!