this post was submitted on 07 Feb 2026
235 points (98.4% liked)

Linux

2136 readers
31 users here now

Everything about Linux

RULES

founded 2 years ago
MODERATORS
 

The new Micro~~soft~~slop copilot key always sends the following key-sequence when pressed down:

copilot key down: left-shift-down left-meta-down f23-down f23-up left-meta-up left-shift-up
copilot key up: <null>

This means there's no real key-up event when you release the key --> it can't be used (properly) as a modifier like ctrl or alt.

The workaround is to send a pretend key-up event after a time delay, but then you mustn't be too slow / fast when pressing a shortcut.

tldr: AI took a perfectly working modifier key from you.

--- edit ---
Some keyboards apparently do the "right" thing and don't send the whole sequence at once, you can remap those properly with keyd, see: https://github.com/rvaiya/keyd/issues/1025#issuecomment-2971556563 / https://github.com/rvaiya/keyd/issues/825

copilot key down: left-shift-down left-meta-down f23-down
copilot key up: f23-up left-meta-up left-shift-up

this will still break "left-shift + remapped copilot" and "left-meta + remapped copilot", but "RCtrl + letter key" can work as expected

you are viewing a single comment's thread
view the rest of the comments
[–] msage@programming.dev 7 points 2 days ago (2 children)

I like the Meta key.

I use dwm, so that key is my lifeline.

[–] lvxferre@mander.xyz 2 points 2 days ago* (last edited 2 days ago)

I use it as a Compose key, but it's just because it's there; I also did something similar with the Scroll Lock key (I repurposed it to signal "turn it off" for certain autoclicking scripts, otherwise it would be completely useless). IMO keyboards are all fucking wrong anyway.

[–] degen@midwest.social 1 points 2 days ago (1 children)

Remap that ish to capslock and now we're talkin

[–] msage@programming.dev 1 points 1 day ago (1 children)

Capslock is remapped to ESC because I also use Neovim.

[–] degen@midwest.social 1 points 1 day ago* (last edited 23 hours ago) (1 children)

ESC on tap, timeout to Super on hold 😎

edit: keyd makes it as easy as capslock = overloadt2(meta, esc, 300)

[–] msage@programming.dev 1 points 16 hours ago

Yuck, holding.

Nah fam, no altered behaviour for the same key based on time.