This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Only unable to type em dashes in Firefox in Arch with English (UK, Intl, Macintosh) keyboard layout

  • 4 cavab
  • 1 has this problem
  • 3 views
  • Last reply by generassem

more options

I have a fresh install of Arch with KDE, and just installed Firefox with pacman. Using the settings menu I've set my keyboard layout to English (UK, Intl, Macintosh)¹. The combination alt-, produces an em dash in other applications², but not Firefox. The problem doesn't seem to exist with other special characters³ that I think are unique to this keyboard layout. I'd be grateful for any help.

¹ I'm not on mac, but am using that layout. ² e.g. Konsole, Kate ³ e.g. superscripts, diacritics, and ·.

I have a fresh install of Arch with KDE, and just installed Firefox with pacman. Using the settings menu I've set my keyboard layout to English (UK, Intl, Macintosh)¹. The combination alt-, produces an em dash in other applications², but not Firefox. The problem doesn't seem to exist with other special characters³ that I think are unique to this keyboard layout. I'd be grateful for any help. ¹ I'm not on mac, but am using that layout. ² e.g. Konsole, Kate ³ e.g. superscripts, diacritics, and ·.

Modified by generassem

All Replies (4)

more options

Hi, ya like to confuse things I see.

Is there a reason not using a Great Britain Firefox release ? https://www.mozilla.org/firefox/all/ with a GB Dictionary https://addons.mozilla.org/en-US/firefox/language-tools/ not a language pack unless there is one that will do the characters your looking for and can switch between them.

That would then do away with emulating a mac keyboard.

https://addons.mozilla.org/en-US/firefox/addon/unicode-input/

Just guessing here and looking at other options.

more options

I have set the keyboard in KDE, not in Firefox. Localisation shouldn't affect whether this key is available or not, as em dashes are not unique either to British English or to American English, so I doubt that it would fix this particular issue. The only way to input em dashes other than copying and pasting is to use a keyboard layout that has them; I set the keyboard layout using KDE.

I don't see what you mean by “emulating a mac keyboard”. I can set the keyboard layout in the settings menu of KDE. One of the options produces the same output as a Macintosh international layout. However, it is just as native to KDE as any other layout, e.g., the plain UK layout without internationalisation (I need this to enter diacritics and ligatures), so I don't think that it would affect Firefox.

more options

On Linux you would normally use the compose key to compose the em dashes:

min min min => — (0x2014)
min min period => – (0x2013)

See also:

more options

I am aware of the compose key, and it works for me, but I was hoping to be able to use the original keyboard layout, since it is faster to type an em dash; this may be the only solution though.

Modified by generassem