Skip to content

Fact · Dictation in your apps

ydotool types by emulating an input device through the Linux kernel's uinput framework, and its daemon needs access to /dev/uinput.

Checked against its source on October 17, 2026

In the source's own words

“Runtime ydotoold (daemon) program requires access to /dev/uinput ... ydotool uses the uinput framework of Linux kernel to emulate an input device”

ydotool: Generic Linux command-line automation tool (README), ReimuNotMoe, GitHub, ReimuNotMoe/ydotool, 2026, Notes and Why a background service is needed.

Open the original
What it measures
Because ydotool creates a virtual input device, it works below the display server. That is why it can type on Wayland and also on X11.
What it does not show
The README says the daemon usually needs root permissions. Handy's guide shows a safer route that uses the input group, described below.

Source

Cited on

ydotool needs access to /dev/uinput | Yap