Ask Different is a question and answer site for power users of Apple hardware and software. 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 have my MacBook late 2008 sometimes running Windows 7 via BootCamp. The keyboard has a German layout. Pretty much like the Wikimedia image below except that the blue symbols in the lowest line are not accessible.

enter image description here

How could I enter the vertical bar | via my keyboard?

Unfortunately Right Alt + < does not seem to work. (However, I can enter @ with Right Alt + Q et al. as I can do on external keyboards.)

Update2: From what I can tell from the languages settings, the Windows layout is missing the <-key between Left Shift and Y. What layout would provide it?

enter image description here

Update 3: On a co-workers current MacBook Pro its working as expected.

I'd also be happy with some comments suggesting ways to have it entered. I'm tiered of copying it from Wikipedia every time.

share|improve this question
What keyboard layout are you using? – CajunLuke Jun 1 '12 at 18:58
I assume you are German from your location, which keyboard exactly from the 4 keyboard layouts in the German (Germany) setup are you using in Windows? – Stu Wilson Jun 1 '12 at 20:26

My US English Qwerty keyboard has it as Shift-\, with the \ key right above the Return key.

share|improve this answer
Unfortunately I have a German keyboard which does not this key. – DerMike Jun 11 '12 at 9:19
Does it have a key next to shift that isn't Z? – Tim Apr 4 '15 at 12:18


cmd + Shift + <

Re-reading your question, I looked at some standard German Keyboard layouts and you have the <>| key in the bottom left hand corner of the layout.

The only issue you have is the right hand Alt (cmd) doesn't do anything different than the left one!

See the image to show where the keyboard is defined in Windows 7: enter image description here Edit: added screenshot of which keyboard layout (in English unfortuantely)

share|improve this answer
[CMD] does not change anything and so far I did not find another modifier that modified [ < ] the way I wanted. – DerMike Jun 11 '12 at 9:26
I changed my keyboard within Parallels to a german layout, and tested this and it works, however I am using a UK Apple keyboard. If you can please edit your question with the details asked (which exact keyboard layout you have selected in Windows) and which physical Apple Keyboard you are using – Stu Wilson Jun 11 '12 at 10:46
Where is this defined in Windows? (Also see update...) – DerMike Jun 11 '12 at 11:32
added a screenshot to show where in Windows 7 the keyboard layouts are. – Stu Wilson Jun 11 '12 at 11:47
I look there after your previous comment. When I select any layout and check the "Preview" button, the > button between Shift and Y is always missing. Thank you anyway. – DerMike Jun 11 '12 at 12:37

I just had a similar problem with VirtualBox running Ubuntu and Right Alt+7 worked - whereas Left Alt+7 didn't.

share|improve this answer

I had the same problem with the German keyboard. Press the key <>| and Alt and Strg key together. It works!

You see, there is already the vertical line sign on the double arrow key if you notice clearly.

share|improve this answer

You can get the | symbol by pressing alt+7 on a german keyboard layout.

share|improve this answer
That yields a { for me. – DerMike Jun 11 '12 at 11:18
Mh thats strange. I'll look into it when i boot bootcamp later .. – Pfitz Jun 11 '12 at 11:42

I have a HP laptop from the UK, after trying several combinations I finally found that alt gr + shift + | (pipe) worked. No idea why it won't work normally in Linux!

share|improve this answer

I was working on Linux Mint Live on a USB I found out that its default keyboard was different when piping commands in terminal. I could guess that the tilde sign on UK qwerty keyboard is alternative for that (shift and hash sign next to ENTER key)

share|improve this answer
What do you recommend the OP to do to solve the problem stated in the question? – patrix Sep 17 '15 at 11:52

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.