- Download the file
chromebook-keyd-config
from GitHub Releases. -
# Copy the file to `/usr/local/bin` cd ~/Downloads sudo cp chromebook-keyd-config /usr/local/bin
-
git clone https://github.com/ChocolateLoverRaj/cros-keyboard-map
-
cd cros-keyboard-map
-
./install.sh
You can add ur own keyd config in addition to the chromebook config by creating the file /etc/chromebook-keyd-config/keyd.conf
. The format is the same as the keyd config, but do not include the [ids]
section. Here is an example custom config:
[main]
# It's nice for the lock button to be delete. For sleep you can just close the lid and for lock you can just do Search + L
sleep = delete
# When search key is held make the top row act like function keys
[meta]
sleep = f14
backspace = delete
######## ChromeOS shortcuts ########
[alt]
# alt + meta = capslock
meta = capslock
sudo dnf install -y fuse-devel
sudo systemctl stop chromebook-keyd-config
Run this command every time u wanna test changes.
cargo build
sudo target/debug/chromebook-keyd-config
sudo keyd reload
Thanks to rvaiya for creating keyd.