Failed to deencode argv
I installed wtype in order to use it alongside https://github.com/marty-oehme/bemoji, which supposedly can send the emoji output to wtype
But it doesn't do anything, and typing wtype \360\237\230\255 or any number code for any emoji will throw Failed to deencode input argv. Is this intended behavior? Do I have a way to type emojis? It shows the same error if I run bemoji in a terminal
Edit: See below comment.
Related:
- https://github.com/dln/wofi-emoji/issues/11
- https://github.com/fdw/rofimoji/issues/164
- https://github.com/dln/wofi-emoji/pull/10
For now my solution has to be to simply manually patch any tool relying on wtype to instead go directly to wl-clipboard copy/paste.
I managed to fix it on my end by making sure locales were set up correctly. I had ran locale-gen, but had not noticed it did not succeed because I didn't run it as root on this PC. After running it properly (sudo locale-gen) and having locale -a show the layouts I expected e.g. en_US and da_DK, wtype now recognizes (and can type) emojis.
Hope this helps someone else!