Package Details: dotool 1.6-1

Git Clone URL: https://aur.archlinux.org/dotool.git (read-only, click to copy)
Package Base: dotool
Description: Command to simulate input anywhere
Upstream URL: https://git.sr.ht/~geb/dotool
Licenses: GPL3
Submitter: hamblingreen
Maintainer: That1Calculator
Last Packager: That1Calculator
Votes: 13
Popularity: 1.08
First Submitted: 2022-11-16 18:00 (UTC)
Last Updated: 2026-02-10 23:43 (UTC)

Latest Comments

1 2 Next › Last »

AlexpFr commented on 2026-02-25 14:45 (UTC)

It seems that the issue was that the dotool udev rule was overriding the permissions of "/dev/uinput" defined in the Sunshine udev rule. I changed the permissions from "0620" to "0660" in /usr/lib/udev/rules.d/80-dotool.rules and it now works for me.

shelter commented on 2026-02-23 09:10 (UTC) (edited on 2026-02-23 09:13 (UTC) by shelter)

The udev rule installed by this AUR rule breaks controller creation from sunshine. Unsure if it also breaks steam.

80-dotool.rules:

# This allows users in group input to use dotool without root permissions.
KERNEL=="uinput", GROUP="input", MODE="0620", OPTIONS+="static_node=uinput"

60-sunshine.rules:

# Allows Sunshine to acces /dev/uinput
KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", GROUP="input", MODE="0660", TAG+="uaccess"

# Allows Sunshine to access /dev/uhid
KERNEL=="uhid", GROUP="input", MODE="0660", TAG+="uaccess"

# Joypads
KERNEL=="hidraw*", ATTRS{name}=="Sunshine PS5 (virtual) pad", GROUP="input", MODE="0660", TAG+="uaccess"
SUBSYSTEMS=="input", ATTRS{name}=="Sunshine X-Box One (virtual) pad", GROUP="input", MODE="0660", TAG+="uaccess"
SUBSYSTEMS=="input", ATTRS{name}=="Sunshine gamepad (virtual) motion sensors", GROUP="input", MODE="0660", TAG+="uaccess"
SUBSYSTEMS=="input", ATTRS{name}=="Sunshine Nintendo (virtual) pad", GROUP="input", MODE="0660", TAG+="uaccess"

cuan commented on 2026-02-13 18:18 (UTC)

This package requires CGO to build. I have CGO disabled on my system, so this package always fails to build unless I manually specify CGO_ENABLED=1. Since the package cannot build without CGO, perhaps CGO_ENABLED=1 should be set in the PKGBUILD?

That1Calculator commented on 2026-02-10 23:43 (UTC)

@leon_buehler just adopted this package, and fixed that issue :)

leon_buehler commented on 2025-11-18 08:32 (UTC)

The udev rules of this package are put into /etc/udev/rules.d/ But according to the Wiki, the udev rules of packages should go into /usr/lib/udev/rules.d

https://wiki.archlinux.org/title/Udev

Lucki commented on 2025-05-07 22:33 (UTC) (edited on 2025-05-09 12:08 (UTC) by Lucki)

Does this still work for you?

I get an immediate failure on the service with: dotool: failed to create virtual keyboard device: could not open device file. Searching leads to a similar year-old bug related to ydotool, but that was resolved with systemd >= 254.2-1 (1), or an open nixpkgs ticket (2), or an unanswered mailing list entry (3). I haven't used this in a while so I can't trace this problem back to any particular update.

Edit: Nevermind, works again - don't know what the problem was.

UberKaeL commented on 2024-07-24 10:18 (UTC)

Could you please update dtoold.service to include an [Install] section like (https://aur.archlinux.org/cgit/aur.git/tree/dotoold.service?h=dotool-git)?

Adding this section will enable the service to be started automatically.

hamblingreen commented on 2024-01-25 21:29 (UTC)

Samuel.Gilbert: Thanks for letting me know, the package has been updated to correct the permissions on that file :)

Samuel.Gilbert commented on 2024-01-25 20:41 (UTC)

/usr/lib/systemd/user/dotoold.service should not be executable; other service files in that folder are not.

hamblingreen commented on 2023-08-21 08:00 (UTC)

kyechou: I apologize for the missing libxkbcommon dependency, it has been added as a make dependency like it is in the Alpine package. As for the dotoold systemd service, that has been added as well. Let me know if there's anything else I missed :)