typing special characters
I've been using ydotool with wl-paste as a way to type the contents of the clipboard, but this doesn't work for characters like \ or $
eg, run the following
ydotool type "\"
The problem isn't wl-paste, the output works as expected.
bump, im also encountering this, and the program is entirely useless till this is fixed. this is basic functionality, how is it not already implemented?
ydotool is just emulating your keyboard. Whenever your keyboard can type these chars directly, you can do it with ydotool, otherwise you'll need to emualte how you type them manually.
If it helps, I've since switched to dotool (https://git.sr.ht/~geb/dotool) instead. Works very well, hasn't interpreted the clipboard once.
You might need to compile it if you're not using the supported distros, but it's not hard
If it helps, I've since switched to dotool (https://git.sr.ht/~geb/dotool) instead. Works very well, hasn't interpreted the clipboard once.
You might need to compile it if you're not using the supported distros, but it's not hard
Can this do emojis?
ydotool is just emulating your keyboard. Whenever your keyboard can type these chars directly, you can do it with ydotool, otherwise you'll need to emualte how you type them manually.
Very disappointed, xdotool did not have these problems, and so I used it in my rofi emoji picker
You should be disappointed over your keyboard, it can't type any emoji.
If you do a little more research, you'll know that xdotool works in a completely different way, it sends input events directly to the window interfacing the X window API, which is tightly bond to X server, while ydotool and dotool all emulate keyboard presses.