48
submitted 1 year ago by GravitySpoiled@lemmy.ml to c/linux@lemmy.ml

This laptoo has Fn as default instead of F keys. I hate it. I found several solutions for different vendors to switch state in bios. Is that the only option?

you are viewing a single comment's thread
view the rest of the comments
[-] herrvogel@lemmy.world 15 points 1 year ago

The OS has no concept of an "fn" key. The keyboard never sends an fn keycode to the host machine. It's a feature that's entirely handled by the keyboard firmware itself. Your computer either receives an F2 key or a "brightness down" key, but it has no idea an fn key was involved in that one way or another.

So you could maybe modify your keymap to swap things out yourself. Intercept the "brightness down" keycode and manually map it to F2 or whatever. That's the only in-software solution I can think of. That's basically what the BIOS toggles do, as far as I know. Less than ideal to do yourself, though.

this post was submitted on 03 Dec 2023
48 points (92.9% liked)

Linux

48375 readers
1225 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS