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 am using NANO as my everyday text editor. I'm using an old laptop, so NANO it's fast, lightweight, and saves me battery. The only problem is the fact i can't use Special Characters and accents.

For example, as i am from Brazil, i need to use some everyday-accentued-portuguese-characters: à, á, Ç, ç, ó, ô, õ, ã, â...

Is there any way i can enable it?

To make õ be printed if '~' + 'o' is pressed, or ü if '¨' + 'u' is pressed...

Thank you :)

share|improve this question
My laptop have ubuntu, and i am using a terminal emulator. – ghaschel Sep 27 '12 at 14:24
it suddenly started to work properly. I will mark as answer the first answer by "oldest" – ghaschel Sep 27 '12 at 16:57
up vote 0 down vote accepted

Check you keyboard layout, maybe with the help of right-alt you have the characters.

Here are tips from

share|improve this answer
Right alt. I'll try it today. But it would be great if it was easier to access them, like ´ + a = á Thx =) – ghaschel Sep 27 '12 at 14:32

If you're just using a terminal emulator (terminator/gnome-terminal/etc) you can still use the Compose-Key combinations.

And/or if you're using a TTY and these keys are keys you have on your keyboard, you might just need to set your keyboard up correctly:

sudo dpkg-reconfigure keyboard-configuration
share|improve this answer
I Know about the Compose-Key combinations. They do not work on nano. If i'm on chrome, and i type ´ + a it returns me á, but if i type it on nano, it returns me ´a – ghaschel Sep 27 '12 at 14:27
What sort of terminal are you in? It works here in both Gnome Terminal and Terminator. – Oli Sep 27 '12 at 14:40
Gnome-terminal. I have not read about the right-alt key. I will try it today. It would be inpractical to press right-alt to every special character =( – ghaschel Sep 27 '12 at 14:44

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.