Skip to content

Conversation

@AshBuk
Copy link

@AshBuk AshBuk commented Oct 21, 2025

Add step-by-step guide for running ydotoold as user systemd service without root privileges. This approach is more secure and follows modern Linux best practices.

Add step-by-step guide for running ydotoold as user systemd service without root privileges. This approach is more secure and follows modern Linux best practices.
@AshBuk
Copy link
Author

AshBuk commented Oct 23, 2025

Hi @ReimuNotMoe !

This PR addresses issue #279 and similar setup confusion discussed in #207.

Currently, new users struggle with ydotoold setup - the README says it "usually requires root" but doesn't explain the proper user-level approach. This leads to 15+ different (often insecure) solutions scattered in issue comments.

What this adds:

  • Clear udev rules for /dev/uinput permissions via input group
  • User systemd service setup (no sudo needed for ydotool commands)
  • Two paths: distribution packages OR building from source

Provides one secure setup method instead of fragmented approaches. This should cut down on permission-related support issues.

I developed this setup for my voice automation project (https://github.com/AshBuk/speak-to-ai) and it's been working reliably - now contributing it back, may help other users!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant