Use ydotool when available for wayland users
touste opened this issue ยท 3 comments
touste commented
ydotool is a replacement for xdotool that works in Wayland. If it is detected, it could replace xdotool to type username and password for Wayland users.
Note that it requires root permissions to run, so it should be called with sudo and the user should allow this in visudo (ex: user ALL=(ALL) NOPASSWD: /usr/bin/ydotool
).
Thanks!
mattydebie commented
I think I came across it too one time in the past. Having to insert a line into visudo is not really an easy setup anymore. You should be able to just download the bash script and run it.
Anyways, as I use X, I can not test this. PR's are always welcome! ๐
touste commented
Thanks for the feedback, I agree that it is not an ideal solution but at
the moment it's the only one available for Wayland users to my knowledge.
I'll try to update the code and make a PR.
โฆOn Wed, Jun 19, 2019 at 9:11 AM Matthias De Bie ***@***.***> wrote:
I think I came across it too one time in the past. Having to insert a line
into visudo is not really an easy setup anymore. You should be able to just
download the bash script and run it.
Anyways, as I use X, I can not test this. PR's are always welcome! ๐
โ
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25?email_source=notifications&email_token=AAWLXEBXGFFDHANTLKTIHQDP3HL3PA5CNFSM4HZDPX3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYA5OHA#issuecomment-503437084>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWLXEF22A4J6FHM4AR5MYTP3HL3PANCNFSM4HZDPX3A>
.
mattydebie commented
True, it's better to provide something rather than nothing ๐
Thanks for your time!