ydotool
ydotool copied to clipboard
Socket can't be changed
[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```
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
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?
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
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