ydotool icon indicating copy to clipboard operation
ydotool copied to clipboard

Socket can't be changed

Open Moanrisy opened this issue 1 year ago • 4 comments

[mars@mars ~]$ echo $YDOTOOL_SOCKET
/home/mars/.ydotool_socket
[mars@mars ~]$ ydotool type gg

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

Although I already run it using systemd

             └─5057 /usr/bin/ydotoold --socket-path=/home/mars/.ydotool_socket --socket-own=1000:1000```

Moanrisy avatar Nov 21 '23 10:11 Moanrisy

I'd recommend copying the service file (probably /lib/systemd/system/ydotool.service) into /etc/systemd/system, disable the system service and change the socket path in the new file and enable it

sewerslider avatar Nov 24 '23 14:11 sewerslider

I don't really know if you fixed your issue, but may I ask which distribution you're on and if you are using a distro provided package or did you compile you own?

callb4ck avatar Dec 05 '23 19:12 callb4ck

It work if i run ydotool using the default socker /run/user/100/... (So I just make a systems service that touch ydotool_service upon login)

I'm using fedora immutable distro 'Sericea', installed it using rpm-ostree

Moanrisy avatar Dec 05 '23 20:12 Moanrisy

That's what I thought, Fedora.

You may want to check out this issue: https://github.com/ReimuNotMoe/ydotool/issues/217

Also, sorry for my terribly late response

callb4ck avatar Dec 30 '23 03:12 callb4ck