Score:0

How to trigger `Fn` key when CTRL, ALT or SHIFT are pressed?

za flag

I want to avoid pressing the Fn key as much as possible. It's fine pressing only Fn + F.. but it's annoying when is a combination involving 3 or more keys.

E.g.
I want to press Alt + F2 instead of Alt + Fn + F2; otherwise gives me cramps.

I still want the buttons for volume and display-brightness working by default; if simply pressed.
But it should automatically imply pressing Fn, when other modifier keys (CTRL, MAIUSC, ALT) are pressed.

This following the assumption that I don't use combination with modifier keys on any of my media-keys
E.g. CTRL+VolumeUP does nothing; and I don't use fine-tuned-volume-up with SHIFT+VolumeUP.


What I want 9 over 10 times is:

  • when I press only F1…F12: get the "media buttons" functionality
  • when I press one control button (CTRL/ALT/SHIFT): automatically press Fn, so keyboard shortcuts with F1…F12 are easier.

Is it possible in Ubuntu? In case, how?


This would make first-class-keys either the media-buttons and the function-keys.
Most keyboard shortcut aren't detected as different, when also pressing Fn (e.g. CTRL+Fn+C works same as CTRL+C).

The few times I need to press only F2 to rename a file, or F12 in VSCode, then I can manually press the Function-key.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.