Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket can't be changed #215

Open
Moanrisy opened this issue Nov 21, 2023 · 4 comments
Open

Socket can't be changed #215

Moanrisy opened this issue Nov 21, 2023 · 4 comments

Comments

@Moanrisy
Copy link

Moanrisy commented Nov 21, 2023

[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```
@futapi11
Copy link

futapi11 commented Nov 24, 2023

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

@callb4ck
Copy link

callb4ck commented Dec 5, 2023

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?

@Moanrisy
Copy link
Author

Moanrisy commented Dec 5, 2023

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

@callb4ck
Copy link

callb4ck commented Dec 30, 2023

That's what I thought, Fedora.

You may want to check out this issue: #217

Also, sorry for my terribly late response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants