Closed tclh123 closed 6 years ago
I believe it works.
What have you done to make it work?
I had a setup with MSYS2 where I put uncap.exe in MSYS2's /usr/local/bin
and then put
uncap 0x1b:0x14 &
into my ~/.bash_profile
. That way I had ESC switched with CAPS LOCK when I had at least one MSYS2 shell open, i.e. when I was developing something, but no more uncap running when the last MSYS2 shell was closed.
I want to emulate the same behavior with WSL now but when running uncap 0x1b:0x14
I get the following output:
/usr/local/bin/uncap: Invalid argument
@pfeiferbit I use AutoHotKey, not really test this uncap.exe
util. But I think their principle is the same.
I think you should use it in the windows shell - cmd.exe
, not MSYS2 environment.
If the mapping works in windows environment, then it should work when you use MSYS2.
I want to map capslock to control on wsl(ubuntu). But
loadkeys
will reportCouldn't get a file descriptor referring to the console
.