Author Archives: csslayer
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
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
演示一下和 openKylin 合作开发的虚拟键盘
将在下一个版本的 Fcitx 加入支持。 界面的代码位于:https://gitee.com/openkylin/kylin-virtual-keyboard 欢迎大家进行测试,虽然功能的支持还非常初级,但是已经可以进行一些简单的测试(X11 下,想要在 Wayland 下使用还有一些工作需要进行)。 (视频闪烁主要是录制问题)
一次休眠导致的 Linux 启动项丢失
最近更新 Arch Linux 的时候,我一次想要重新开机时,却发现 systemd-boot 的启动项没了。一开始,我以为是配置文件被更新删除了,但在我进入系统之后却发现了意想不到的情况。 我的系统在内核更新到一半的时候正好休眠了!正好卡在老的内核镜像文件已经删除,新的内核还未安装的那个节骨眼上。这个系统的待机是有问题的,所以配置成自动进行休眠,但是却没想到正好卡在了更新内核的那个时刻休眠了。休眠尽管会把内存的状态写入到硬盘当中,但是下次再次启动的时候,仍然需要一个内核初始化之后才能进行休眠恢复的操作。 这个不得不说是非常巧合的一个情况。这下我也深刻理解了 Windows 下系统更新时常见的一个提示「正在配置更新,请勿关闭您的计算机」到底有何用意。 对于 Arch Linux 这种不保留老内核的更新方式来说,还是更新之后尽快重启比较好,因为从不同版本的内核恢复也会导致问题。
Switch fcitx theme based on system color
With the next version fcitx will be able to switch to an alternative dark theme when system dark/light theme changes. The feature relies on xdg desktop portal implementation that supports this value. Hopefully accent-color in xdg portal can be merged … Continue reading