Keyboard Shortcut for em dash in Gnome

I finally figured out the keyboard shortcut for em dash (and en dash) in Gnome. I don’t have to type the lame — any more, I can be a real man and type the right thing — :D . If you don’t know what an em dash is, you better read about it on Wikipedia.

Se here is what you do (this worked on my Ubuntu Hardy Heron Linux system):

Go to: System > Preferences > Keyboard > Layouts > Layout Options > Compose key position

and check ‘Right Alt is Compose’.

Et voila!

Now whenever you need to type an em dash, just hold the Right Alt and type three hyphens.

— = Right Alt + —

Similarly you can get an en dash by holding Right Alt and typing two hyphens and then a period (you can leave the RIght Alt before typing the period).

– = Right Alt + –.

Tags: ,

2 Responses to “Keyboard Shortcut for em dash in Gnome”

  1. arrac says:

    Ah-ha! Good. One small step towards better typography.

  2. James says:

    Hi, I found your blog on this new directory of WordPress Blogs at I dont know how your blog came up, must have been a typo, i duno. Anyways, I just clicked it and here I am. Your blog looks good. Have a nice day. James.