ydotool
requires the program ydotoold
to be running in the background. Now to make this easier the developer ships a systemd
unit file with the project. If ydotoold
isn't running the program won't work.
A systemd unit file basically calls programs in the background which are needed for the OS to run. In this case we will use this file to run ydotoold
in the background as soon as we boot our device. If your distro packages ydotool
sensibly then
the service (the background program run by the file) should already be running.
To check, run: