Automatically disables Caps Lock whenever the java process is running.
Useful for games like Minecraft where a keybind uses Caps Lock.
- Linux (tested on Linux Mint)
xsetandxdotoolinstalled:
sudo apt install x11-xserver-utils xdotoolThis isn't limited to just Minecraft, you can easily just change what the program looks for in a process name. For example, instead of it looking for java, you could make it look for firefox. Again, I did just whim this up for Minecraft, but like it's customizable.