You are not logged in.
I got ydotool update today.
https://archlinux.org/packages/communit … 4/ydotool/
[2023-03-07T09:34:07+0630] [ALPM] upgraded ydotool (1.0.1-3 -> 1.0.2-1)
After update, ydotool is not working any more.
~]$ ydotool type TESTING
Segmentation fault (core dumped)
I stoped, disabled, enabled and started ydotool.service but it does not work. The service is running properly.
~]$ systemctl --user status ydotool.service
● ydotool.service - Starts ydotoold service
Loaded: loaded (/usr/lib/systemd/user/ydotool.service; enabled; preset: enabled)
Active: active (running) since Tue 2023-03-07 11:00:27 +0630; 1min 3s ago
Main PID: 2705 (ydotoold)
Tasks: 1 (limit: 9371)
Memory: 172.0K
CPU: 3ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/ydotool.service
└─2705 /usr/bin/ydotoold
Mar 07 11:00:27 hpmdmgma systemd[484]: Started Starts ydotoold service.
My user was added to input group so that I don't need sudo for ydotool.
https://bbs.archlinux.org/viewtopic.php?id=283685
Last edited by duyinthee (2023-03-14 10:58:03)
Offline
here the same!
Offline
here the same!
For temporary solution (maybe), I returned to the way before.
First, edit visudo like putting the following line
%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/ydotool, /usr/bin/ydotoold
Then start ydotoold putting
sudo ydotoold
in where you autostart.
Then do it using sudo, for example
$ sudo ydotool type TESTING
However, it shout be temporary.
Starting ydotool.service user service, adding your user to input group and doing without sudo is better, I think. But...
Last edited by duyinthee (2023-03-08 07:48:16)
Offline
I was already using a user in the input group and this allowed to launch the ydotool user service.
I rolled back to the previous version of ydotool waiting for the fix.
Last edited by diraimondo (2023-03-08 10:06:14)
Offline
I also wonder why the version in the community repo is 1.0.2 while the current version on github is 1.0.4 and it's been out since 2023-01-30.
felixonmars is the maintainer of the package.
Offline
reporting back, after getting update ydotool version of 1.0.3-1
[2023-03-13T09:55:53+0630] [ALPM] upgraded ydotool (1.0.2-1 -> 1.0.3-1)
ydotool get back to work
# gpasswd -a username input
$ systemctl --user enable ydotool.service
$ systemctl --user start ydotool.service
Relogin or restart, then it works
$ ydotool type TESTING
Last edited by duyinthee (2023-03-14 10:59:03)
Offline