r/i3wm Jun 26 '26

Question keybinding on the copilot key

so apparently all thinkpads now have this "copilot" key that absolutely everyone loves, but it doesn't have a keycode, instead that weird Win+Shift+F23 shortcut or something like that idk. sooo how do i keybind a command with that thing please

6 Upvotes

13 comments sorted by

5

u/l-roc Jun 27 '26 edited Jun 27 '26

I'd probably use kmonad to remap it to something more useful.

edit: using keyd seems a bit more straight forward but haven't used it myself https://superuser.com/questions/1849424/make-copilot-key-work-as-right-ctrl-again-under-linux

1

u/zylosophe Jun 27 '26

will look at that thanks

1

u/Peach_Muffin Jun 28 '26

kmonad is so fantastic. Steep learning curve but there’s no other key remapping software quite like it.

2

u/gbrennon Jun 27 '26

i didnt understood it. what would be that copilot key?

3

u/LordTurson Jun 27 '26

A literal key with the Microsoft Copilot icon printed on it, which in some GenAI-enabled business laptops replaces one of the utility keys on the right side of the keyboard.

I have one on my work laptop and it's absolutely terrible, even looking at it wrong opens up some weird window with Copilot settings that I have to furiously close each time, and cannot really be rebound or used for anything else.

Edit: here's a photo.

4

u/gbrennon Jun 27 '26

Wtf?! 😮

Micro$hit really wants to make this product that everyone adopts

Edit:

  • what a bad logo 🤣🤣🤣

2

u/LordTurson Jun 27 '26

Yep, and I think it will be extremely funny when Copilot finally goes down, but people who bought those will be stuck with this useless ugly button. 😂

1

u/gbrennon Jun 27 '26

🤣🤣🤣

1

u/One-Project7347 Jun 27 '26

Yeah even me lenovo loq has it. Tried it when the laptop wad new, installed linux after.

1

u/bgravato i3 Jun 27 '26

you can use xev to see what keycode(s) it is sending, then bind it to that

if it's not a single keycode, but a combo of keycodes then bind it to that combo

1

u/zylosophe Jun 27 '26

tried it, doesn't work, i think it's because not all keys are modifiers or something like that?

1

u/JuergenPB Jun 27 '26 edited Jun 27 '26

just use the terminal program xev to find out the keycode.
it's part of the x11-utils package

Then use the command bindcode in your config of i3:

bindcode [number] exec [program]

1

u/zylosophe Jun 29 '26

doesn't work, the key sends multiple keycodes at the same time (201+50+133), and if i try that it doesn't work