site/src/content/blog/remap-copilot-key-infinix-air-pro-plus.md
fiatcode 33083907fb refactor: update titles and descriptions to use double quotes for consistency
fix: add newlines and formatting improvements in blog posts

refactor: update import paths to use alias for better readability

style: update global CSS to use double quotes for consistency

chore: update tsconfig to include path aliasing for cleaner imports
2026-01-22 17:20:59 +07:00

1.7 KiB

title description date draft tags
Remap Infinix Air Pro+ Copilot Key in Linux Re-using Copilot key for something else more useful 2025-03-01T22:41:32+07:00 false
linux
laptop
infinix
tweak

Since I'm moving to Linux, my Copilot key becomes useless.

Let me rephrase that! Even when I was using Windows, I never using this Copilot shortcut key in my keyboard 😬. Fortunately, using Linux I can remap this key for something else more useful.

Requirements

  • A laptop (I'm using Infinix Air Pro+) with a working keyboard.
  • keyd

Finding what this Copilot key do

  • Open your favorite terminal and execute sudo keyd monitor. This command will print what events are triggered when a particular key is pressed.
  • Press the Copilot key and read the output. In my laptop, it print out this:
AT Translated Set 2 keyboard  0001:0001:70533846  leftmeta down
AT Translated Set 2 keyboard  0001:0001:70533846  leftshift down
AT Translated Set 2 keyboard  0001:0001:70533846  f23 down
  • Now I know that my copilot key triggers leftmeta, leftshift, and f23. It's seem legit combination of modifier keys and a function key. But unfortunately when I tried to use it in my desktop environment (I use KDE) to bind a shortcut, it only detect the modifier meta and shift.

keyd for the rescue

Edit /etc/keyd/default.conf file and I added these lines:

[ids]
0001:0001:70533846

[main]
f23 = f13

ids is my keyboad ID, and the last line tells to remap f23 key to f13 (which is doesn't exist physically). Then reload keyd with sudo keyd reload. Now I can bind my Copilot key to something else. I'm using it for yakuake show/hide toggle.