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 do you write a character "o" with upper-line in Ubuntu? Is it possible?

share|improve this question

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

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

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.

share|improve this answer

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.