<p>I struggled for many months to work out how produce Pinyin with the tone marks.  Eventually I managed it by installing the Ubuntu ibus (Intelligent Input Bus - core) currently using version 1.5.11.  I also have ibus-pinyin installed but to get the Latin alphabet with the tone marks including ǖ ǘ ǚ ǜ as well as the normal ū ú ǔ ù and of course all the other vowels just by typing the tone number you also need to install ibus-m17n .  This has the input method Chinese Hanyu Pinyin(m17n) as just described and also tonepy(m17n) which gives you a nice trimmed down list of the simplified Chinese characters filtered by the tone number you type when you want to type the characters instead of the Pinyin.  Probably too late for the original questioner but this information is so difficult to find on-line I thought it was worth adding for future reference.</p>

CC BY-SA 4.0
2018-12-31T16:42:22.627Z
2018-12-31T16:42:22.627Z
Bob Anderson
<p>I have Sogou Pinyin on Ubuntu and things work fine, but I haven't been able to figure out how to type Pinyin with tone marks, e.g. 'mǎ', etc.</p>

<p>I've looked into the settings but found no option like that. I've searched online (in Chinese) but results I get show that Windows Sogou has a very different, more comprehensive menu structure with more options. The Ubuntu version seems like a dumbed down version of that, nothing close.</p>

<p>I've tried typing U + Unicode, e.g. U+0101 for 'ā' but that's a hassle. Copying from an online tool is also cumbersome, I have to type a lot of tone marked pinyin.</p>

<p>Has anyone run into this issue?</p>

<p>Edit: Screenshot of Sogou Settings menu on Ubuntu.</p>

<p><a href="https://i.sstatic.net/W6v70.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/W6v70.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2018-02-05T15:17:52.100Z
I think it only works by adding special characters or something like that. You might want to try something like this instead: https://askubuntu.com/questions/32764/using-alt-keycode-for-accents
Mou某
CC BY-SA 3.0
2018-02-05T16:05:36.270Z
@user3306356 Thank you, I know about this, and this was my 1st attempt of workaround, but sadly, for the macron accent (long bar, 1st tone in pinyin) has no alt key combination working for me, so I made myself a list of U+XXXX unicode combinations, but it is really awkward this way. I can't believe Sogou doesn't ship with tone mark input on Ubuntu.
TeXnophobe
CC BY-SA 3.0
2018-02-05T16:21:36.007Z
The Chinese material I read said you need to use 搜狗's "软键盘" (virtual keyboard): https://zhidao.baidu.com/question/241699992.html `你好，先将搜狗输入法中文改成英文，然后点击菜单或在图标上点右键，选“软键盘”再选“拼音字母”，你就会在软键盘上看到带音标的字母了。比如你要打“nǐ  hǎo"就先打“n ho”然后再在软键盘上插入“ǐ“和ǎ就可以了。搞一搞吧，很简单的。`
Mou某
CC BY-SA 3.0
2018-02-05T16:22:08.953Z
Another one: https://zhidao.baidu.com/question/1732956540458549787.html `搜狗没有这个功能，目前任何输入法也没有这个功能，想注音只能用特殊符号
搜狗状态下，ctrl+shift+B，特殊符号，拼音/注音`
Mou某
CC BY-SA 3.0
2018-04-19T12:18:33.593Z
pinyin IME is not designed for this. Most people do not need to type any marked pinyin. So Chinese IME usually do not have this function, not limited to Sogou pinyin or pinyin.
fefe
CC BY-SA 4.0
2018-05-21T08:29:31.793Z
you can input Chinese, then convert it to pinyin.http://www.wb98.com/cx/pinyin/
Zhang
CC BY-SA 4.0
2019-01-02T07:00:02.043Z
I thinks it works for windows version, I am using linux version now, it can not.
sfy
<pinyin><tones><input-methods>
Sogou IME (on Ubuntu): How to output pinyin with tone marks?
# Sogou IME (on Ubuntu): How to output pinyin with tone marks?

(Asked by: username_0 on 2018-02-04)

I have Sogou Pinyin on Ubuntu and things work fine, but I haven't been able to figure out how to type Pinyin with tone marks, e.g. 'mǎ', etc.

I've looked into the settings but found no option like that. I've searched online (in Chinese) but results I get show that Windows Sogou has a very different, more comprehensive menu structure with more options. The Ubuntu version seems like a dumbed down version of that, nothing close.

I've tried typing U + Unicode, e.g. U+0101 for 'ā' but that's a hassle. Copying from an online tool is also cumbersome, I have to type a lot of tone marked pinyin.

Has anyone run into this issue?

Edit: Screenshot of Sogou Settings menu on Ubuntu.

[![enter image description here](https://i.sstatic.net/W6v70.png)](https://i.sstatic.net/W6v70.png)

**Tags:** pinyin, tones, input-methods
> **Comments:**
> **username_1**: I think it only works by adding special characters or something like that. You might want to try something like this instead: https://askubuntu.com/questions/32764/using-alt-keycode-for-accents  
> **username_0**: @user3306356 Thank you, I know about this, and this was my 1st attempt of workaround, but sadly, for the macron accent (long bar, 1st tone in pinyin) has no alt key combination working for me, so I made myself a list of U+XXXX unicode combinations, but it is really awkward this way. I can't believe Sogou doesn't ship with tone mark input on Ubuntu.  
> **username_1**: The Chinese material I read said you need to use 搜狗's "软键盘" (virtual keyboard): https://zhidao.baidu.com/question/241699992.html `你好，先将搜狗输入法中文改成英文，然后点击菜单或在图标上点右键，选“软键盘”再选“拼音字母”，你就会在软键盘上看到带音标的字母了。比如你要打“nǐ  hǎo"就先打“n ho”然后再在软键盘上插入“ǐ“和ǎ就可以了。搞一搞吧，很简单的。`  
> **username_1**: Another one: https://zhidao.baidu.com/question/1732956540458549787.html `搜狗没有这个功能，目前任何输入法也没有这个功能，想注音只能用特殊符号 搜狗状态下，ctrl+shift+B，特殊符号，拼音/注音`  
> **username_2**: pinyin IME is not designed for this. Most people do not need to type any marked pinyin. So Chinese IME usually do not have this function, not limited to Sogou pinyin or pinyin.  
> **username_3**: you can input Chinese, then convert it to pinyin.http://www.wb98.com/cx/pinyin/  
> **username_4**: I thinks it works for windows version, I am using linux version now, it can not.  

---

## 1 answers

### Answer by username_5 on 2018-12-31. Score: 1

I struggled for many months to work out how produce Pinyin with the tone marks. Eventually I managed it by installing the Ubuntu ibus (Intelligent Input Bus - core) currently using version 1.5.11. I also have ibus-pinyin installed but to get the Latin alphabet with the tone marks including ǖ ǘ ǚ ǜ as well as the normal ū ú ǔ ù and of course all the other vowels just by typing the tone number you also need to install ibus-m17n . This has the input method Chinese Hanyu Pinyin(m17n) as just described and also tonepy(m17n) which gives you a nice trimmed down list of the simplified Chinese characters filtered by the tone number you type when you want to type the characters instead of the Pinyin. Probably too late for the original questioner but this information is so difficult to find on-line I thought it was worth adding for future reference.


---

