Category Archives: fcitx development

fcitx.org 的归乡记

虽然本身是个让我开心的事情,这个故事本身其实回过头来想,有着诸多地欠缺考虑头脑一热的决定。因此主要的目的是给来者记录一些关于域名方面的教训。文中有一些相关人名隐去。 Fcitx 3 和 4 的时代 最早,这个域名是 Fcitx 最早的作者所有的,他把它也当作自己的 blog 来使用。后来我逐渐接手 Fcitx 的开发之后,约于 2012 年,我创建了自己的域名 fcitx-im.org,主要是 Fcitx 增加了很多国际化/可扩展相关的功能,因此想要维护一个 Wiki 的网站,然而我也不好意思直接向 Yuking 要求把域名拿过来,所以才选择自己管理一个域名。 但是由于 DBus 相关的事情实现得更早,DBus 服务本身采用的是基于 fcitx.org 的Reverse DNS。这也一定程度挖下了个坑。 在 2012 年 fcitx.org 也更改为重定向到 fcitx-im.org,当然此时域名的所有权并没改变。现在想来脸皮还是应该厚一些把域名要过来,对项目本身更加有利。 没有什么是永恒的 2017 年,fcitx.org 变成了一个澳门赌场网站…可能是因为没有续费或者什么原因,但总之 fcitx.org … Continue reading

Posted in fcitx development | Tagged | 2 Comments

去除 Fcitx 5 码表的 PUA 字符

首先来讲一些历史,在更加久远的 Fcitx 3 的时代,Fcitx 的码表文件是使用 gb18030 存储的。在 Fcitx 3 -> Fcitx 4 的过程中,所有的文件都被替换为了 UTF-8,但是受限于当时的 glibc,出现了很多转换的结果是 PUA 区的情况(Private Use Area)。从根本上来说,导致这个的原因是 Unicode 标准仍未收入这些文字,因此采用 PUA 存储这些文字的权宜之计。 Unicode 有一些历史文档记载这些,但是并不是所有我们遇见的字符都记载其中 https://www.unicode.org/L2/L2004/04161-hkscs-gb-pua.pdf 但是时过境迁,现在已经过去十几年了,因此这些 PUA 的字符也都获得了对应的码位。也就是说,是时候把他们重新拉出来更新了。 对于 fcitx5-chinese-addons 当中的码表(实际上是 libime 这个包),这倒不是一件难事。只需要把 fcitx3 的文件找回来,然后在新的 glibc 的系统上重新转换一次即可。为了验证当年的流程,我还特地安装了一个 debian 5 … Continue reading

Posted in fcitx development | Tagged , , , | 4 Comments

Accent color support in Fcitx 5

Recently a new feature was added to XDG desktop portal, which allows portal to return an accent color. Since the default theme of fcitx5 is almost monochrome, it is a good addition the default theme together with the dark/light theme … Continue reading

Posted in fcitx development | Tagged , , | Leave a comment

Key repetition and key event handling issue with Wayland input method protocols

I do have lots of complaints about wayland current input method protocols. Some of them are just lacking features, but this issue is the one that I think have design flaw from the beginning. Let’s first review how the keyboard … Continue reading

Posted in fcitx development, Linux | Tagged , , , | 4 Comments

演示一下和 openKylin 合作开发的虚拟键盘

将在下一个版本的 Fcitx 加入支持。 界面的代码位于:https://gitee.com/openkylin/kylin-virtual-keyboard 欢迎大家进行测试,虽然功能的支持还非常初级,但是已经可以进行一些简单的测试(X11 下,想要在 Wayland 下使用还有一些工作需要进行)。 (视频闪烁主要是录制问题)

Posted in fcitx development | Tagged , | 3 Comments