Skip to content

Make the help message about daemon not running include the service name #218

Description

@C0rn3j
% ydotool type s
failed to connect socket `/run/user/1000/.ydotool_socket': No such file or directory
Please check if ydotoold is running.

This is a bit confusing, the daemon's service is named ydotool, but the daemon binary itself is ydotoold, which the help message suggests to check is running.

ydotoold.service which was the first thing I tried blindly before resorting to reading package source files.

Would it be possible to either rename the service to ydotoold, which would probably make the most sense but be the most breaking, or perhaps making the help message more obvious in regards to the service name?

"Could not connect to ydotoold - is the user unit ydotool.service running?"

With the second part of the message possibly dependent on whether or not systemd is running.

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