Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've disabled dead keys on my Swedish keyboard layout to more easily type characters such as ~,´ and `.

How do I temporarily enable the old behavior of these keys? Now I can't type an e with an acute character, for instance. Do I need to switch keyboard layouts temporarily, or is there some key-combo I am missing out on?

share|improve this question
up vote 2 down vote accepted

You can press Ctrl+Shift+U, then hold down Ctrl+Shift while typing the Unicode code point of any character, then release Ctrl+Shift to realize it as a character. For example, to type é, this becomes Ctrl+Shift+U+E9 because é is U+00E9 (you don't have to type out the initial zeroes).

This trick works fine with GTK-based applications running under Xfce for me.

If you only need to type a few different such characters, this may be acceptable, but I'll be the first to admit that I wouldn't want to commit half of even the Unicode BMP to memory.

Another alternative is to augment the key map to define a Compose key, as suggested by ott-- in the comments. I looked around a little and couldn't immediately find any way to do it through the GUI (from the looks of the Wikipedia article it should be perfectly doable, but I failed to find the dialog in question), but did come across a forum post that suggested using the likes of setxkbmap -option compose:rwin, which could quite possibly be done through ~/.xinitrc or ~/.xsession. Then Compose+' followed by E (where Compose = Right Win) yields É.

share|improve this answer
Isn't the compose key Shift AltGr in Linux? – ott-- Jul 26 '13 at 10:58
Try Shift AltGr ' e. See – ott-- Jul 26 '13 at 11:02
This is excellent! Thanks to both of you! – Jonatan Jul 26 '13 at 11:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .