-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add ydotool to the dx image #1426
Conversation
With ydotool, users can script and automate inputs for mouse and keyboard in a way that works on Wayland.
This is pretty great, can you whip up quick instructions for the forum? Enabling one service is fine and probably not work doing a ujust for. |
I'm going to admit to something - I have it working and have tested it, but the way I did so is not 100% ideal. https://koji.fedoraproject.org/koji/buildinfo?buildID=2391183 says to run
(This can be simplified to one command - This was not sufficient for me as it ran as root and created a file at /tmp/.ydotool_socket owned by root. To make ydotool work without using sudo in front of it, I did this:
I know the latter command is not great for security. Someone at https://discussion.fedoraproject.org/t/ydotool-not-working-on-fedora-40/114333/4 had a better suggestion:
If I want to recommend a solution to people other than myself, I'd want it to be more secure. The above is probably WAY better, and can be a ujust action. |
To test this, here's a valid example:
|
In this case I think a ujust command makes more sense. I'm unsure if the command accepts UID and GID for that socket creation. A ujust command would make it possible to setup the overrides appropriately. |
I agree with this. I'm not familiar with ujust, but will give it a shot. Can we merge this? I'll start work on the ujust in a separate PR. |
Looks like asus kernel builds were pulled for 39. Maybe we need to add an override to not build those |
With ydotool, users can script and automate inputs for mouse and keyboard in a way that works on Wayland.
https://github.com/ReimuNotMoe/ydotool