Skip to content

Instantly share code, notes, and snippets.

@tylerebowers
Last active February 19, 2026 21:10
Show Gist options
  • Select an option

  • Save tylerebowers/73dff679014e068699e40c1d3b2f488d to your computer and use it in GitHub Desktop.

Select an option

Save tylerebowers/73dff679014e068699e40c1d3b2f488d to your computer and use it in GitHub Desktop.
Reusing Copilot Key (on HP Zbook Ultra G1a)

The Copilot key does nothing in linux and takes up a lot of space on the keyboard. I remapped mine using keyd to window overview (win+w)

  1. Add repo:sudo dnf copr enable alternateved/key
  2. Install keyd: sudo dnf install keyd
  3. Edit configuration: sudo nano /etc/keyd/default.conf
[ids]

*

[main]

# Maps the windows copilot key to change virtual desktops
# leftmeta+leftshift+f23 = macro(leftcontrol+leftmeta+right)

# Maps the windows copilot key to overview
leftmeta+leftshift+f23 = macro(leftmeta+w)

# Maps the switch video mode (projector) / F1 key to change virtual desktops
switchvideomode = macro(leftcontrol+leftmeta+right)

(other config options can be found online)
4. Enable the service: sudo systemctl enable keyd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment