Open gmankab opened 7 months ago
tested on gnome which is preinstalled on fedora silverblue, same issue
I ran into this because the user didn't have read+write permissions on /dev/uinput
. I only needed it for a quick one-off use, so went with sudo chmod a+rw /dev/uinput
to fix it. As a long term solution, you are better of with a udev rule that assigns a group and grants read+write to that group (instead of everybody like with that chmod).
thanks
@ReimuNotMoe maybe this can be fixed somehow? Or add a check if this is the case on /dev/uinput
we can at least let the user know what to do?
What do you think would be a good approach?
Apr 02 07:17:08 fedora systemd[1]: Started ydotool.service - Starts ydotoold service. Apr 02 07:17:08 fedora ydotoold[190083]: failed to open uinput device: No such device Apr 02 07:17:08 fedora systemd[1]: ydotool.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Apr 02 07:17:08 fedora systemd[1]: ydotool.service: Failed with result 'exit-code'.
os: fedora silverblue compositor: hyprland installed via rpm-ostree ydotool is also installed via rpm-ostree