AHK_X11 icon indicating copy to clipboard operation
AHK_X11 copied to clipboard

create en dash

Open shmu26 opened this issue 1 year ago • 4 comments

Can you tell me how to do this in AHK+X11 ?

I want to create a en dash – But it's not working

shmu26 avatar Jan 26 '24 09:01 shmu26

sorry but I have no idea what you are talking about

phil294 avatar Jan 26 '24 16:01 phil294

En dash and em dash are long hyphens, on Windows you would type two hyphens and it turns into one long dash. But on Linux there is no convenient way to do it.

I want to configure a key combination such as alt + - that will output an En dash.

On Autohotkey for Windows, you would do something like this: ; Alt+Minus = En dash !-:: Send {–} return

On Fri, Jan 26, 2024, 6:05 PM Philip Waritschlager @.***> wrote:

sorry but I have no idea what you are talking about

— Reply to this email directly, view it on GitHub https://github.com/phil294/AHK_X11/issues/70#issuecomment-1912306442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIBH5HSOYF6DX23EPYLZD3YQPH47AVCNFSM6AAAAABCL3K3ZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSGMYDMNBUGI . You are receiving this because you authored the thread.Message ID: @.***>

shmu26 avatar Jan 27 '24 17:01 shmu26

Ah, ok, right, doesn't seem to work. On my system, not even sending a normal dash works... worrying.

This is related to #32 and will be fixed, I presume, in no sooner than 3 months

phil294 avatar Feb 02 '24 18:02 phil294

But on Linux there is no convenient way to do it.

You might want to look into compose key.

The ArchWiki’s Xorg keyboard configuration article has a section on how to set compose key up for Arch Linux. If you use a different distribution there might be some differences, so consult your own distribution’s documentation as well.

Freso avatar Apr 02 '24 10:04 Freso