Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do you write a character "o" with upper-line in Ubuntu? Is it possible?

share|improve this question
add comment

3 Answers 3

If you haven't already done this, configure a compose key by going into System Settings > Keyboard > Layout Settings > Options... > Compose key position. (I've set mine to Right Alt.)

Then, all you have to do is type Compose + -, then o and you'll get an ō. This works for the other letters, too, as well as several different types of accents. For example, ' instead of - will give you an acute accent, ` will give you a grave accent, , will give you a cedilla, ^ a circumflex, and ", an umlaut.

share|improve this answer
add comment

Is this what you mean:

Ō

ō

In Ubuntu, we have an application similar to Windows' Character Map called...well, Character Map. Go into it and look around at what all you can do :)

As for a keyboard shortcut, there are keyboard shortcuts listed on the character map. :)

share|improve this answer
add comment

In vim, you can do it with digraphs.

E.g., in insert mode ō is CTRL-K and then "o-" (press control and "k" at the same time, then type "o-")

Ō is CTRL-K and O-.

See here for a more complete explanation: http://vimdoc.sourceforge.net/htmldoc/digraph.html

share|improve this answer
add comment

Your Answer

 
discard

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.