Have you tried setting up the compose key?
It seems like it can do the em dash and any other special characters you want:
Linux Mint is a free Linux-based operating system designed for use on desktop and laptop computers.
Want to see the latest news from the blog? Set the Firefox homepage to:
where is a current or past release. Here's an example using release 21.1 'Vera':
https://linuxmint.com/start/vera/
Have you tried setting up the compose key?
It seems like it can do the em dash and any other special characters you want:
A compose key is a great option. You can also use something like Kanata to make a custom layout that's the same as your normal one, but with extra characters on the AltGr layer.
While not as powerful (i just miss Autohotkey) xdotool is a good alternative for ahk. Create your script with it and use a hotkey to run it. Like:
xdotool type "é"