为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 4 个回答
  • 1 人有此问题
  • 15 次查看
  • 最后回复者为 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 ·.

由generassem于修改

所有回复 (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.

由generassem于修改