Re: 唉!输入法又坏了!
发表于 : 2019-06-01 3:19
所以这么对待用户的开发,我们为啥要买账,你开发你的,我们不用就是了,让那群自以为是的开发自娱自乐去,活该linux环境没好用的中文输入法,国内用户为什么喜欢用搜狗,不就是因为词库么(毕竟二等公民,人对你冷嘲热讽,你还得往前凑,把那群开发惯的,要是国内,早死了几百遍了)
所以这么对待用户的开发,我们为啥要买账,你开发你的,我们不用就是了,让那群自以为是的开发自娱自乐去,活该linux环境没好用的中文输入法,国内用户为什么喜欢用搜狗,不就是因为词库么(毕竟二等公民,人对你冷嘲热讽,你还得往前凑,把那群开发惯的,要是国内,早死了几百遍了)
我们特地花一些时间,重复了 Gunnar 列出的步骤,一切 OK:On Fri, May 31, 2019 at 2:10 PM Gunnar Hjalmarsson <[email protected]> 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!
to Bug
At the first run, things are looking good. My biggest concern--ibus-pinyin, also is working OK!
给 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.
先启动 “软件和更新”(Software & Updates)app --》 “开发者选项”(Developers Option) --》“提前释放出的更新”(Pre-Released Updates):
代码: 全选
sudo apt update
代码: 全选
sudo apt install ibus-libpinyin libpinyin-data libpinyin13
代码: 全选
dpkg-query -W ibus-libpinyin libpinyin-data libpinyin13
个体户用什么输入法,自己爽就好了。不过如果在较有制度的公司做事的话,像我们就绝对不会让使用者乱动系统,基本上没有选择自己习惯输入法的自由。目前几个较为企业界接受的中文输入法就只有 ibus-libpinyin。如我前面提到的,最少对我个人而言,不管满不满意,总要帮忙让它好用一点。
Ubuntu 开发团队现在特别关心的是 ibus-libpinyin 的稳定度,这需要多一点人在不同的输入习惯下长期的使用,才能发现是否还会出现 ”不预期崩溃“ 这个问题。其他的,可以等以后再讨论。
同意! 越简单的程序越不会有问题。
终端下不显示光标的问题,转到 Wayland 再重新开机就没事了(或则转用 konsole)。
我的工作台机(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 桌面的开发,以及对开发人员的鼓励,觉得最少尽了一份力量。
Gunnar Hjalmarsson* 跟我抱怨,他发函给一大堆 Ubuntu 里跟中文有关的团队及个人,请他们测试。超过两个星期了,回应人数的总合是 “零”。
你说的坛友指谁啊?这边来来回回就那么几个常在的,还有不少用fcitx的,然后你还一心扑在ibus上Ping-Wu 写了: ↑2019-06-17 3:07Gunnar Hjalmarsson* 跟我抱怨,他发函给一大堆 Ubuntu 里跟中文有关的团队及个人,请他们测试。超过两个星期了,回应人数的总合是 “零”。![]()
目前有反应的就只有你我这两个人啦。不过因为没有人对改善 Ubuntu 的中文环境有兴趣,Gunnar 的努力让他在 Canonical 的地位好像提高了(最少增加了 SRU, stable release update,的特权)。这就是我们所谓的 “机会” 吧,聪明人总会等到大家都有兴趣时再介入,但机会也就消失了。
* 有关 Gunnar Hjalmarsson 这个人我以前介绍过,但我们坛友们都大牌的很,眼睛长在头上,瞧不起这种小人物。Gunnar 是学会计的,没有受过正式电脑训练,10年前从公司退休后,突然对开源作业系统 Ubuntu 有兴趣,于是积极的介入 Ubuntu 的开发工作。因为不是科班出身,只能捡一些其他人不愿意干的事(例如打有关中文环境的软件包)。Gunnar 在退休前,曾做到全世界4大会计师事务所之一 普华永道 (PriceWaterhouseCoopers)的合伙人。我想他在职场的经历上,比我们很多人都要成功,但在电脑功力方面,至少在刚开始时一定跟我们一些大老们不能比。不过最重要的是,这位电脑 “后辈”,虽然年纪比大家大很多,但对他人生第二春热忱的态度,却会让我们论坛里很多更有能力,年纪轻20岁却天天在叫老的人感到惭愧。