Keyboard Fn key functionality different in Windows and Linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Keyboard Fn key functionality different in Windows and Linux
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.
Do you have "Function lock" option either in the BIOS or on the keyboard itself ?. Works on the keyboard itself on my HP laptop to flip the functionality of the function keys.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.