How do I type the pipe symbol on a Swedish keyboard?

Being a Linux user, as most Linux users, I use the pipe symbol (|) daily.

I'm currently sitting at a Swedish keyboard. There are three keys on the keyboard that (together with an orgy of four or five other symbols) have the pipe symbol on it:

Swedish keyboard with pipe symbol highlighted

But for the life of me, I can't figure out how to make the pipe symbol materialize on the screen, and no amount of alt-gr-ing seems to get me there.

How can I type the pipe symbol (|) on a Swedish keyboard?


Solution 1:

  • Danish: Alt Gr+´` found to the right of +?\.
  • Norwegian: §½ found to the left of 1!.
  • Norwegian with Sami: §½ found to the left of 1!.
  • Swedish: Alt Gr+<> found to the left of Z.
  • Swedish with Sami: Alt Gr+<> found to the left of Z.

If you couldn't get a single | by using Alt Gr, you are most likely using the Norwegian layout.

Solution 2:

The keyboard layout is not "Swedish", it's the "Nordic" layout, used in Denmark, Norway, Sweeden and such. I'm not sure if it works with Linux, but on Windows with the Danish layout, it's "Alt Gr" + the key to the left of the backspace.

enter image description here

Solution 3:

It is an old question, but since nobody gave the easy answer:

alt + 124

124 is the decimal equivalent for the | character in the ASCII table.