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 :)

  • My laptop have ubuntu, and i am using a terminal emulator.
    – ghaschel
    Sep 27, 2012 at 14:24
  • it suddenly started to work properly. I will mark as answer the first answer by "oldest"
    – ghaschel
    Sep 27, 2012 at 16:57

2 Answers 2


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

Here are tips from about.com: http://spanish.about.com/od/writtenspanish/a/dia_ubuntu.htm

  • 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, 2012 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
  • 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, 2012 at 14:27
  • What sort of terminal are you in? It works here in both Gnome Terminal and Terminator.
    – Oli
    Sep 27, 2012 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, 2012 at 14:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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