ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

ydotool and WSL2

Open AaronDinesh opened this issue 1 year ago • 1 comments

Is it possible to use ydotool in WSL2?

AaronDinesh avatar Mar 24 '25 20:03 AaronDinesh

I couldn't get it to work. Using any command results in this error message:

ydotool: notice: ydotoold backend unavailable (may have latency+delay issues)
terminate called after throwing an instance of 'std::runtime_error'
  what():  failed to open uinput device
Aborted (core dumped)

ydotoold also doesnt work correctly:

ydotoold: listening on socket /tmp/.ydotool_socket
terminate called after throwing an instance of 'std::runtime_error'
  what():  failed to open uinput device
Aborted

/dev/uinput is missing in WSL2.

detuar avatar Apr 24 '25 15:04 detuar