8
submitted 1 year ago by wether@slrpnk.net to c/linuxmint@lemmy.ml

Recent convert from Windows here, and for the most part everything has been smooth, but I've run into a brick wall with this one.

I write a lot and often like to use non-standard characters. On Windows I was using AutoHotKey to convert e.g. a ctrl-shift-hyphen into an em dash (—) or ctrl-e to type an é.

I haven't been able to find any good way to do this on Mint thus far. AutoHotKey doesn't seem to work, and the built-in Keyboard Shortcuts interface is incredibly clunky and slow (i.e. pasting the character maybe 2/3rds of the time, with noticeable delay).

I'd really like to be able to just seamlessly hit a hotkey and type a character like —/é. Does anyone have any suggestions for this? Thanks.

top 4 comments
sorted by: hot top new old
[-] imjustjealous@lemmy.world 2 points 1 year ago

Have you tried setting up the compose key?

It seems like it can do the em dash and any other special characters you want:

https://tstarling.com/stuff/ComposeKeys.html

[-] IndigoGollum@lemmy.world 1 points 1 year ago

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.

[-] 8263ksbr@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

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 "é"

[-] 5teverin0@lemmy.world 1 points 11 months ago

I use a tool called Espanso for this type of thing. It's available on Linux, Windows and MacOS. It's a text expander app that allows you to enter long passages with a simple keystroke, but can also be used to enter special characters. One minus is that the configuration is done in text files using YAML, but it's not at all difficult, and the documentation is very good.

this post was submitted on 02 Jun 2025
8 points (100.0% liked)

Linux Mint

3665 readers
3 users here now

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:

linuxmint.com/start/

where is a current or past release. Here's an example using release 21.1 'Vera':

https://linuxmint.com/start/vera/

founded 5 years ago
MODERATORS