mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[GH-ISSUE #197] How to make uinput based tools work inside the APP container? #131
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#131
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zexi on GitHub (Apr 28, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolf/issues/197
Hi,
I want to use the ydotool automation tool to simulate mouse move and click event.
This ydotool utility is implemented based on the uinput module to simulate mouse movement and clicks. It works in the host machine's desktop environment, but fails to function inside the app container.
I entered the app container via docker exec, then installed it using
apt install -y ydotool ydotoold. After accessing the desktop through the Moonlight client, I opened two kitty terminal windows: first executedydotoold, then ranydotool mousemove 100 100, but observed no mouse movement.On the host OS can see dmesg shows the event:
input: ydotoold virtual device as /devices/virtual/input/input110.@ABeltramo commented on GitHub (Apr 30, 2025):
Wolf isolates container input devices in order to avoid overlapping inputs between multiple users. Depending on what you want to achieve you have a few different options:
Priviliged: truein yourconfig.tomlmknodto manually mount the new virtual devices created by ydotool inside the unprivileged containerIf you can share some more info on your use case I can probably help you out better!