Skip to content

Instantly share code, notes, and snippets.

@wizo06
Created June 12, 2021 17:58
Show Gist options
  • Save wizo06/95fa89c11e8cdf20fbde9800b574a0b4 to your computer and use it in GitHub Desktop.
Save wizo06/95fa89c11e8cdf20fbde9800b574a0b4 to your computer and use it in GitHub Desktop.
razer keyboard caps lock crash fix for ubuntu
sudo add-apt-repository ppa:openrazer/stable
sudo apt update
sudo apt install openrazer-meta
sudo modprobe razerkbd
xinput set-prop "AT Raw Set 2 keyboard" "Device Enabled" 0
cd /etc/X11/
sudo mkdir xorg.conf.d
cd xorg.conf.d/
sudo touch 20-razer.conf
sudo nano 20-razer.conf
Section "InputClass"
Identifier "Disable built-in keyboard"
MatchIsKeyboard "on"
MatchProduct "AT Raw Set 2 keyboard"
Option "Ignore" "true"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment