ydotool
ydotool copied to clipboard
Latest release no longer types '\'
Before the latest set of commits today (built as of e9d4ed823f) , ydotool would type the \ correctly but now it no longer does. Reverting to commits before today (2023-01-11) works fine. Thanks!
I'm suspecting it's commit a6f9c1a1 (implement escape for type).
As an aside, it also will not type the £ character.
The latest ydotool type added support of escape sequences. Now you need two \ to type a single one. You can have a look at its help and use -e 0 to revert to the old behavior.
Im running in to the £ issue. And after testing around a bit further, there is a lot that doesn't seem to work correctly.
For example, running ydotool type "¡@£$€¥{[]}" -e 0 results in "¤Åå, which isnt really correct...
It might be something weird keyboard layouts. All standard A-Z 0-9 keys seems to work perfectly, but anything "non standard" such aäö doesn't. Basically anything that doesn't match up with a "standard qwerty layout" seems broken.
This also seems to be the same issue. https://github.com/ReimuNotMoe/ydotool/issues/43#issuecomment-1225485103
There are more characters which are not typed correctly. For example " and (. The parameter -e 0 did not work in this example.
% echo "echo \"§$%&/()?\"" | wl-copy
% wl-paste
echo "§$%&/()?"
% ydotool type "$(wl-paste)" -e 0
echo Ä$%/-)=_%
% echo Ä$%/-)=_Ä