Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

How can you type three triangles in the shape of a triangle? So a ascii art of the Triforce from Zelda using the triangle symbol.

/b/ is a image board on 4chan. Text on this image board is edited by an automatic system which removes all preleading spaces. This makes ascii art quite difficult to achieve. There is a trick to it using a special space char. The alt code to get this space char in windows is Alt + 255 and the alt code to get the triangle in windows is Alt + 30.

What are the keyboard shortcuts to get these symbols on Ubuntu and how can I get them to work on 4chan?

share|improve this question
What is a triforce? What do you mean by /b/? There are plenty of triangle-shaped characters, which one do you mean? You can look up the Unicode code point on Shapecatcher if you don't know it. – Gilles Dec 19 '13 at 21:59
I think now it was clear. – Avinash Raj Dec 20 '13 at 9:43

To get a triangle, type Ctrl + Shift + u, then type 25b2, then press Enter

To get the space, type Ctrl + Shift + u, then type a0, then press Enter

Edit: To answer the comment below:

Ctrl + Shift + u, then type a0, Ctrl + Shift + u, then type a0, type Ctrl + Shift + u, then type 25b2, then press Enter.

type Ctrl + Shift + u, then type 25b2, type Ctrl + Shift + u, then type a0, type Ctrl + Shift + u, then type 25b2

You'll get something like this

▲ ▲

Alternatively you can enable compose keys to create these symbols with ease without remembering these annoying keyboard number-letter combinations.

Open GEdit and insert the following:

include "/usr/share/X11/locale/en_US.UTF-8/Compose"

<Multi_key>     <t>     <r>     <i> : "▲"   U25B2   # Triangle

Save this as .XCompose (case sensitive) in your home directory.

Open your keyboard settings (system settings → keyboard settings) and go to the shortcuts tab. Under the "typing" section you'll find a "Compose Key" setting. Set this to your compose key (I advice right alt)

Compose Key setting

Log out and log back in.
For the non-breaking space press Compose Keyspacespace.
For the triangle char press Compose Keytri

If it isn't working add

export GTK_IM_MODULE="xim"

to the end of ~/.profile. If xim isn't working for you you'll have have to install uim (sudo apt-get install uim) and replace the xim in ~/.profile with uim.

Congratulations you are now triforcing like a pro.

share|improve this answer
I knew that, but if you try that on /b/ you get the typical newfag triforce , what do you have to do to make a proper triforce? – Dmitry hand me the Kalashnikov Dec 19 '13 at 20:07
answering the edit, on youtube it works, but on 4chan it doesn't. I don't know what type of sorcery is behind this – Dmitry hand me the Kalashnikov Dec 19 '13 at 21:17
you have to use another space on 4chan. I've reflected this in the new edit – Arno van der Weijden Dec 20 '13 at 10:06
which is the code for that? – Dmitry hand me the Kalashnikov Dec 20 '13 at 10:12
ctrl + shift + ua0 – Arno van der Weijden Dec 20 '13 at 10:13

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.