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.
- Install keyd from ppa
sudo add-apt-repository ppa:keyd-team/ppasudo apt updatesudo apt install keyd
- Create default config file,
/etc/keyd/default.conf, with contents
[ids]
[main]
leftshift+leftmeta+f23 = rightcontrol
- Reload config:
sudo keyd reloadorsudo systemctl restart keyd- I had to reboot in this step because a lock file was blocking
keydto reload.
- I had to reboot in this step because a lock file was blocking
(For keyd installed via PPA, the binary may be called keyd.rvaiya, but the systemd unit is always keyd.)