Closed MightyPork closed 3 years ago
Hello! Thanks for using jome.
As you wrote, I'm not involved in xdotool
in any way. I am aware that xdotool
doesn't work all the time, and I couldn't say why honestly.
"Typing" into Chromium with xdotool
used to just work, and then it stopped working for a few releases, and now it works again 😊. When it didn't work, I used xdotool
, but also xsel
to copy the emoji to the clipboard. So the usage sequence was:
Sometimes you play with delays and it can work too.
Closing this as it's not a jome bug.
Good luck with you emoji management!
Thanks, now I'm using this script. I hate it but it works so 🤷♂️ (inserted by jome 😂)
#!/usr/bin/bash
emoji="$(jome -n)"
if [ $? -ne 0 ]; then
exit 1
fi
echo -n "$emoji" | xclip -selection clipboard
xdotool key --clearmodifiers shift+Insert
Wow, I never thought about this one. Great hack.
Thanks, now I'm using this script. I hate it but it works so man_shrugging (inserted by jome joy)
#!/usr/bin/bash emoji="$(jome -n)" if [ $? -ne 0 ]; then exit 1 fi echo -n "$emoji" | xclip -selection clipboard xdotool key --clearmodifiers shift+Insert
in my wayland machine worked as expected with this script. I just used wl-copy instead of xclip, ydotool instead of xdotool. hope this helps somebody
Hi, this is probably not something you can fix, but just in case you knew a workaround - the xdotool examples do not work for me with firefox, at all. Nothing is pasted.
I discovered it works great in
doesn't work in:
so maybe it works in GTK and Tcl/Tk apps and not in Qt apps? but I'm not sure. Thanks for any ideas