唉!输入法又坏了!

系统字体配置、中文显示和输入法问题
onlylove
论坛版主
帖子: 5231
注册时间: 2007-01-14 16:23

Re: 唉!输入法又坏了!

#16

帖子 onlylove » 2019-06-01 3:19

Ping-Wu 写了: 2019-06-01 1:50
百草谷居士 写了: 2019-05-29 8:06我原来使用ibus智能拼音,在launchpad上提意见,得到冷嘲热讽。
"Launchpad" 应该是 "GitHub" 之误,这个不是 Ubuntu 的计划。

我们这个论坛有一位资深的坛友 “男菜鸟” 有一次热心的要把他多年使用 ibus-pinyin 累积下来的词库贡献到 ibus-libpinyin,结果被一句话就支走了,用的词非常不客气。

ibus-pinyin 的 database 是直截了当的 sqlite,ibus-libpinyin 就复杂多了(除非直接到内码找,完全没有资料)。这也是 后者 会崩溃的主要原因。
所以这么对待用户的开发,我们为啥要买账,你开发你的,我们不用就是了,让那群自以为是的开发自娱自乐去,活该linux环境没好用的中文输入法,国内用户为什么喜欢用搜狗,不就是因为词库么(毕竟二等公民,人对你冷嘲热讽,你还得往前凑,把那群开发惯的,要是国内,早死了几百遍了)
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#17

帖子 Ping-Wu » 2019-06-01 11:25

Ubuntu 开发者正式请求 Ubuntu 中文使用者在 18.04 LTS 里测试 ibus-libpinyin 的 email,包括测试步骤:
On Fri, May 31, 2019 at 2:10 PM Gunnar Hjalmarsson <1768166@bugs.launchpad.net> wrote:
Call for testing
================

I hope for help by both Ping-Wu (the bug reporter) and other Chinese
users to test the proposed upgrade of the ibus-libpinyin package in
Ubuntu 18.04. I have subscribed the Ubuntu CJK Testers team to this bug
report to reach out to more possible testers.

"Intelligent Pinyin", which is provided by ibus-libpinyin, is the
default input method in Ubuntu for inputting Simplified Chinese. While
we want to address the crash problem reported in this bug, we want to
minimize the regression risk.

The new versions of the affected packages are available in bionic-
proposed. These are the steps to install them:


1. Enable bionic-proposed
-------------------------

* Open Software & Updates and select the "Developer Options" tab.

* Check the "Pre-released updates" option.

2. Update the package information on your system
------------------------------------------------

sudo apt update

3. Install/upgrade the packages
-------------------------------

sudo apt install ibus-libpinyin libpinyin-data libpinyin13

(Please note that it's not sufficient for this test to only upgrade
ibus-libpinyin.)

4. Disable bionic-proposed
--------------------------

* Open Software & Updates and select the "Developer Options" tab.

* Uncheck the "Pre-released updates" option.

5. Update the package information on your system
------------------------------------------------

sudo apt update


With that your system is back to normal, except for those three packages from -proposed. You can confirm that you got the right versions by using this command:

dpkg-query -W ibus-libpinyin libpinyin-data libpinyin13

It should show this info:

ibus-libpinyin 1.11.0-1ubuntu0.18.04.1
libpinyin-data:amd64 2.2.2-1~ubuntu18.04.1
libpinyin13:amd64 2.2.2-1~ubuntu18.04.1


Then I simply ask you to use "Intelligent Pinyin" for your daily needs, and submit a comment here after a few days about your experience. Any kinds of comments are helpful, both "works well" and info about issues you stumble upon. Most important, of course, is that no new issues are introduced via this upgrade.

Thanks in advance for your help with this!
我们特地花一些时间,重复了 Gunnar 列出的步骤,一切 OK:
to Bug

At the first run, things are looking good. My biggest concern--ibus-pinyin, also is working OK!
Screenshot from 2019-05-31 17-01-34.jpg
头像
百草谷居士
帖子: 3921
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: 唉!输入法又坏了!

#18

帖子 百草谷居士 » 2019-06-01 16:22

测试有什么具体要求吗?虽然对不支持拼音直接输入特殊符号很不满意,但测试还是可以参加的。
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#19

帖子 Ping-Wu » 2019-06-01 19:08

Ping-Wu 写了: 2019-06-01 0:47 目前 Linux 里唯一还被继续开发的中文输入法就只剩 ibus-libpinyin*。大家都没有兴趣,我当然也不再浪费时间跟自己过意不去。
给 Gunnar 的另一个回函,供参考:
to Bug

I have been hearing this swan song for several years now that ibus-pinyin is being or has been deprecated. Actually it is a miracle that ibus-pinyin still works in Ubuntu--and only in Ubuntu. For unknown and very strange reasons, I can never make ibus-pinyin work in Fedora, or even in Debian. Indeed, this is the main reason that I am sticking with Ubuntu, even though I was one of the very first supporters of the Fedora Linux when it was being developed at the University of Hawaii.

Most Linux users in the Chinese Ubuntu forum actually use Sogou pinyin (搜狗拼音), this is a proprietary program running on the fcitx input framework. Sogou pinyin is definitely better than ibus-libpinyin (very few people actually use ibus-libpinyin), but is inferior to ibus-pinyin in terms of speed and stability. We have a pro bono project in Honolulu teaching seniors to be proficient in computers. Since many of our students are of Chinese descent, our program also includes teaching them how to input Chinese characters. Ibus-pinyin has been our choice of Chinese input tool because of its snappiness and being trouble-free. You would think that these two characters should also make ibus-pinyin a favorable Chinese input engine? But since so few people in China are using Linux desktops, logic doesn't make sense. It is the so-called upstream developers (mainly Peng Wu of Red Hat), or the lack thereof (ibus-pinyin developers), that prevails.

Based on my interactions with many Chinese Ubuntu forum elders, I am NOT surprised that the upstream developers do not think highly of ibus-pinyin. The reasons are three-fold: first, they are not using the right distro (i.e., not using Ubuntu); second, they did not install a Ubuntu-specific ibus-pinyin database (i.e., system-wide vocabulary); and third, they have not used ibus-pinyin long enough (i.e., they do not have their own user vocabulary).

I think upstream developers do not like ibus-pinyin also because it does not have many bells and whistles (e.g., inputting emojis which I absolutely could care less). But ibus-pinyin also has some of the critical features that are lacking in ibus-libpinyin. For example, the latter cannot conveniently input special symbols (many in the Chinese Ubuntu forum think this a main reason not to use ibus-libpinyin). Also, ibus-libpinyin will treat a decimal point as a Chinese period, such as 19。04 (which should be 19.04). But most important AFAIC, ibus-pinyin uses a simple, straightforward sqlite database structure that is very easy to comprehend. How the table-lookup database is structured in ibus-libpinyin is complicated and undocumented.

Many members of the Chinese Ubuntu forum have a very negative attitude towards ibus-libpinyin partly because of the personality of its principal developer Peng Wu. They have always complained about being contemptuously snobbed when they visited the ibus-libpinyin GitHub forum (many were told to switch to Fedora). I myself also could never get a straight answer from Peng Wu.

I sincerely hope that your effort to make ibus-libpinyin stable ("stable" in an absolute sense) will help attracting more users--ibus-libpinyin in specific and Ubuntu in general. I will definitely use it at least occasionally to make sure that everything is OK. Should Ubuntu powers-that-be make an unfortunate decision and drop ibus-pinyin from its archive, I will simply freeze my version of Ubuntu at 18.04, which is now turning out to be exceptionally good.
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#20

帖子 Ping-Wu » 2019-06-01 19:14

百草谷居士 写了: 2019-06-01 16:22 测试有什么具体要求吗?虽然对不支持拼音直接输入特殊符号很不满意,但测试还是可以参加的。
等这个周末有时间时我会把详细的步骤列出来。
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#21

帖子 Ping-Wu » 2019-06-04 16:19

百草谷居士 写了: 测试有什么具体要求吗?
先启动 “软件和更新”(Software & Updates)app --》 “开发者选项”(Developers Option) --》“提前释放出的更新”(Pre-Released Updates):
Screenshot from 2019-06-03 20-13-35.jpg
然后执行下列指令:

代码: 全选

sudo apt update

代码: 全选

sudo apt install ibus-libpinyin libpinyin-data libpinyin13
装完以后,确认 ibus-libpinyin 是最新版的 1.11:

代码: 全选

dpkg-query -W ibus-libpinyin libpinyin-data libpinyin13
结果应该是:

ibus-libpinyin 1.11.0-1ubuntu0.18.04.1
libpinyin-data:amd64 2.2.2-1~ubuntu18.04.1
libpinyin13:amd64 2.2.2-1~ubuntu18.04.1

一切OK以后,再启动 “软件和更新”(Software & Updates)app --》把 “提前释放出的更新”(Pre-Released Updates) 勾掉。
百草谷居士 写了: 虽然对不支持拼音直接输入特殊符号很不满意,但测试还是可以参加的。
个体户用什么输入法,自己爽就好了。不过如果在较有制度的公司做事的话,像我们就绝对不会让使用者乱动系统,基本上没有选择自己习惯输入法的自由。目前几个较为企业界接受的中文输入法就只有 ibus-libpinyin。如我前面提到的,最少对我个人而言,不管满不满意,总要帮忙让它好用一点。
头像
百草谷居士
帖子: 3921
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: 唉!输入法又坏了!

#22

帖子 百草谷居士 » 2019-06-05 14:24

功能上还是老问题:不支持拼音输入特殊符号;紧随数字的逗号和句号不能自动转换为半角符号。
然后发现汉字里面夹杂了不少表情符号,我觉得奇怪,既然可以夹杂表情符号,为什么不能加上特殊符号呢
目前在终端、gnome桌面、geany、libreoffice中使用正常。
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#23

帖子 Ping-Wu » 2019-06-05 15:38

百草谷居士 写了: 2019-06-05 14:24 功能上还是老问题:不支持拼音输入特殊符号;紧随数字的逗号和句号不能自动转换为半角符号。
然后发现汉字里面夹杂了不少表情符号,我觉得奇怪,既然可以夹杂表情符号,为什么不能加上特殊符号呢
目前在终端、gnome桌面、geany、libreoffice中使用正常。
Ubuntu 开发团队现在特别关心的是 ibus-libpinyin 的稳定度,这需要多一点人在不同的输入习惯下长期的使用,才能发现是否还会出现 ”不预期崩溃“ 这个问题。其他的,可以等以后再讨论。

还有,以前总是我跪求 Ubuntu 解决 ibus-libpinyin 不稳定的问题,现在则是他们焦急了,有时候一天会收到不同人寄来的 email,葫芦里不知卖什么药? 我使用中文的机会很少,而且习惯 ibus-pinyin 很好用。如果其他有需要使用中文的人非得等到搜狗/fcitx 出了问题,才来叫天不应,叫地不灵,其实这也不关我的事。
头像
百草谷居士
帖子: 3921
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: 唉!输入法又坏了!

#24

帖子 百草谷居士 » 2019-06-06 11:02

既然ibus-pinyin简单而又稳定,为什么不继续ibus-pinyin的开发呢?
我以前觉得ibus-pinyin唯一的问题是在终端下不显示光标。现在新版又把词频动态调整给去掉了。
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#25

帖子 Ping-Wu » 2019-06-06 16:04

百草谷居士 写了: 2019-06-06 11:02 既然ibus-pinyin简单而又稳定,为什么不继续ibus-pinyin的开发呢?
同意! 越简单的程序越不会有问题。
百草谷居士 写了: 2019-06-06 11:02我以前觉得ibus-pinyin唯一的问题是在终端下不显示光标。现在新版又把词频动态调整给去掉了。
终端下不显示光标的问题,转到 Wayland 再重新开机就没事了(或则转用 konsole)。

ibus-pinyin 已被 deprecated (放弃)了,因此在 19.04/19.10 里词频动态无法调整。Ubuntu 20.04 后,ibus-pinyin 更会从套件库里消失。

我个人觉得 Ubuntu 18.04,经过一年多的折磨,配合 ibus-pinyin 非常好用。非常希望 Linux 桌面的使用者能多花一点时间在 Ubuntu 18.04 + ibus-pinyin 上。 Ubuntu 18.04 的保固期已被延长到2028,比较重要的应用套件,如 LibreOffice,GIMP 等,可以用 ppa 或 snap 方式升级。Ubuntu 系统本身其实停在 18.04 LTS 版本就好了!

Again,非常希望有多一点的坛友把我们有限的资源放在 (Ubuntu 18.04 LTS + ibus-pinyin)上。人数够多了,我们讲的话 Canonical 才会听。如果 Canonical 不愿意维护 ibus-pinyin,只要有足够使用者,我也会想办法自己维护。
头像
百草谷居士
帖子: 3921
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: 唉!输入法又坏了!

#26

帖子 百草谷居士 » 2019-06-10 8:49

我平时使用的是19.04,而不是18.04。安装的有一个18.04不过是xubuntu。
我不太明白,即便libus-pinyin被放弃,为何不继续保留词频调整功能,而要把这个功能屏蔽掉呢?
关于光标问题,是不是和GTK有关?
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#27

帖子 Ping-Wu » 2019-06-16 2:08

百草谷居士 写了: 2019-06-10 8:49 我平时使用的是19.04,而不是18.04。安装的有一个18.04不过是xubuntu。
我不太明白,即便libus-pinyin被放弃,为何不继续保留词频调整功能,而要把这个功能屏蔽掉呢?
关于光标问题,是不是和GTK有关?
我的工作台机(Ryzen 7, RX 580, 16GB DDR)里有 Windows 10 + 5个 Linux 分割区 (各 20~30GB)+ 资料分享区 (ext4,~1TB,软链接到家目录)。99%以上的时间使用 Ubuntu 18.04,其它的 Linux 分割区包括一个可瞬时开机的 18.04 备份,以及 19.04 跟 19.10。偶尔有点空档时可以从 GRUB 重新开机到另一个系统玩玩,根本不必花任何时间,也不占资源,但对整个 Linux 桌面的开发,以及对开发人员的鼓励,觉得最少尽了一份力量。
头像
Ping-Wu
帖子: 1822
注册时间: 2012-11-14 9:34
系统: Debian 12

Re: 唉!输入法又坏了!

#28

帖子 Ping-Wu » 2019-06-17 3:07

百草谷居士 写了: 2019-06-05 14:24目前在终端、gnome桌面、geany、libreoffice中使用正常。
Gunnar Hjalmarsson* 跟我抱怨,他发函给一大堆 Ubuntu 里跟中文有关的团队及个人,请他们测试。超过两个星期了,回应人数的总合是 “零”。 :Aadterboom

目前有反应的就只有你我这两个人啦。不过因为没有人对改善 Ubuntu 的中文环境有兴趣,Gunnar 的努力让他在 Canonical 的地位好像提高了(最少增加了 SRU, stable release update,的特权)。这就是我们所谓的 “机会” 吧,聪明人总会等到大家都有兴趣时再介入,但机会也就消失了。

* 有关 Gunnar Hjalmarsson 这个人我以前介绍过,但我们坛友们都大牌的很,眼睛长在头上,瞧不起这种小人物。Gunnar 是学会计的,没有受过正式电脑训练,10年前从公司退休后,突然对开源作业系统 Ubuntu 有兴趣,于是积极的介入 Ubuntu 的开发工作。因为不是科班出身,只能捡一些其他人不愿意干的事(例如打有关中文环境的软件包)。Gunnar 在退休前,曾做到全世界4大会计师事务所之一 普华永道 (PriceWaterhouseCoopers)的合伙人。我想他在职场的经历上,比我们很多人都要成功,但在电脑功力方面,至少在刚开始时一定跟我们一些大老们不能比。不过最重要的是,这位电脑 “后辈”,虽然年纪比大家大很多,但对他人生第二春热忱的态度,却会让我们论坛里很多更有能力,年纪轻20岁却天天在叫老的人感到惭愧。
上次由 Ping-Wu 在 2019-06-19 9:01,总共编辑 1 次。
头像
百草谷居士
帖子: 3921
注册时间: 2006-02-10 16:36
系统: Mint21.1/Deepin20.8

Re: 唉!输入法又坏了!

#29

帖子 百草谷居士 » 2019-06-19 8:45

天呐!竟然也是学会计,和我是同行!不过看起来不管是会计专业,还是计算机专业,他都比我牛逼
debian 12 / 深度系统 20.9 / Mint 21.3

为何热衷于搞发行版的多,搞应用程序开发的少?Linux最多余的就是各种发行版,最缺的就是应用程序,特别是行业应用程序。
onlylove
论坛版主
帖子: 5231
注册时间: 2007-01-14 16:23

Re: 唉!输入法又坏了!

#30

帖子 onlylove » 2019-06-19 9:32

Ping-Wu 写了: 2019-06-17 3:07
百草谷居士 写了: 2019-06-05 14:24目前在终端、gnome桌面、geany、libreoffice中使用正常。
Gunnar Hjalmarsson* 跟我抱怨,他发函给一大堆 Ubuntu 里跟中文有关的团队及个人,请他们测试。超过两个星期了,回应人数的总合是 “零”。 :Aadterboom

目前有反应的就只有你我这两个人啦。不过因为没有人对改善 Ubuntu 的中文环境有兴趣,Gunnar 的努力让他在 Canonical 的地位好像提高了(最少增加了 SRU, stable release update,的特权)。这就是我们所谓的 “机会” 吧,聪明人总会等到大家都有兴趣时再介入,但机会也就消失了。

* 有关 Gunnar Hjalmarsson 这个人我以前介绍过,但我们坛友们都大牌的很,眼睛长在头上,瞧不起这种小人物。Gunnar 是学会计的,没有受过正式电脑训练,10年前从公司退休后,突然对开源作业系统 Ubuntu 有兴趣,于是积极的介入 Ubuntu 的开发工作。因为不是科班出身,只能捡一些其他人不愿意干的事(例如打有关中文环境的软件包)。Gunnar 在退休前,曾做到全世界4大会计师事务所之一 普华永道 (PriceWaterhouseCoopers)的合伙人。我想他在职场的经历上,比我们很多人都要成功,但在电脑功力方面,至少在刚开始时一定跟我们一些大老们不能比。不过最重要的是,这位电脑 “后辈”,虽然年纪比大家大很多,但对他人生第二春热忱的态度,却会让我们论坛里很多更有能力,年纪轻20岁却天天在叫老的人感到惭愧。
你说的坛友指谁啊?这边来来回回就那么几个常在的,还有不少用fcitx的,然后你还一心扑在ibus上
回复