Skip to content

Warning on Wayland when I run the ydotoold daemon: "WARNING: running xinput against an Xwayland server." "unable to find device pointer:ydotoold virtual device" #205

@ElectricRCAircraftGuy

Description

@ElectricRCAircraftGuy

I just built ydotool from commit 57ba7d0 on Ubuntu 22.04.2. ydotoold --version shows v1.0.4-0-g57ba7d0.

When running the Wayland window manager (see how to select X11 vs Wayland in my answer here), I get the following warning when I start the daemon:

WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device pointer:ydotoold virtual device

What does this mean and what implications does it have? What about unable to find device pointer:ydotoold virtual device? Does that mean I am unable to fully control the mouse with ydotool?

Here is the full command and output:

$ sudo ydotoold --socket-path="$HOME/.ydotool_socket" --socket-own="$(id -u):$(id -g)"
[sudo] password for gabriel: 
Socket path: /home/gabriel/.ydotool_socket
Removing old stale socket
Socket permission: 0600
Socket ownership: UID=1000, GID=1000
READY
WARNING: running xinput against an Xwayland server. See the xinput man page for details.
unable to find device pointer:ydotoold virtual device

Note that pressing Windows + D still works just fine. This will press that key sequence to hide all windows, then it waits 2 seconds and presses it again to show all windows:

YDOTOOL_SOCKET="$HOME/.ydotool_socket" ydotool key 125:1 32:1 32:0 125:0; \
    sleep 2; \
    YDOTOOL_SOCKET="$HOME/.ydotool_socket" ydotool key 125:1 32:1 32:0 125:0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions