Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 just installed Ubuntu 12.04 Server (32-bit) on an old machine, and have problems writing the | (pipe) symbol. I have no graphical UI installed.

My keyboard has danish layout, and all other symbols than |, that I have needed, work perfectly. If I change to e.g. US layout, I can write |, but of course through a combination that makes little sense on my keyboard, and makes be unable to write special danish symbols that I need.

In /usr/share/X11/xkb/symbols/dk, under section xkb_symbols "basic" there is the line

key <AE12> { [ dead_acute, dead_grave, bar, brokenbar ] };

which, as I see it, points to the correct key (5th row from bottom, 13th key from left, just to the left of backspace). Also the acute and grave keys works.

I also tried changing to 'eliminate dead keys' (which has a similar line) to no avail.

It's not that AltGr is broken either, since it works well on other key combinations.

Any suggestions as to what may be wrong?

share|improve this question

Seems to have been an old-crappy-keyboard-issue - just connecting another keyboard fixed it. Hope I didn't waste anyone's time on this.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.