you are viewing a single comment's thread
view the rest of the comments
[–] 18 points 3 months ago*

I have to do this on new systems now just to get a Ctrl key back....

Here are the steps I did to remap "copilot key" to right control in Ubuntu 22.04.

  1. Install keyd from ppa
    1. sudo add-apt-repository ppa:keyd-team/ppa
    2. sudo apt update
    3. sudo apt install keyd
  2. Create default config file, /etc/keyd/default.conf, with contents

[ids]

[main]

leftshift+leftmeta+f23 = rightcontrol

  1. Reload config: sudo keyd reload or sudo systemctl restart keyd
    • I had to reboot in this step because a lock file was blocking keyd to reload.

(For keyd installed via PPA, the binary may be called keyd.rvaiya, but the systemd unit is always keyd.)

  • source