Search Results for: why fcitx

How to make your application support Input method under Linux

As an Linux application developer, one might not aware that there could be certain effort required to support Input Method (or Input Method Editor, usually referred as IME) under Linux. What is input method and why should I care about … Continue reading

Posted in Linux | Tagged , , , , | 3 Comments

一趟神奇的 Debian 环境变量之旅

更正:startx 进行 unset DBUS_SESSION_BUS_ADDRESS 的行为是来自上游,而不是来自 debian ( https://gitlab.freedesktop.org/xorg/app/xinit/-/issues/9 ),而过去这样做的理由应该主要是让 startx 和已有的 session bus 相互隔离吧,但是在 systemd 的 user session bus 成为主流的现在,这个行为反而会导致问题。arch 只是获得这个修复更早,并不是 debian 自己的 patch 增加的这一行。 这是一件一个月之前的事情,有一个人来到 fcitx 的 telegram 群说他在 debian lxqt 不能在 chromium 下输入。在他贴了一下 chromium 在终端输出的结果之后,事情开始变得奇怪了起来。 $ [12752:12787:1013/110502.625383:ERROR:bus.cc(399)] Failed … Continue reading

Posted in Linux | Tagged , , , | 3 Comments

RFC: a new solution to Input Method + Keyboard Layout

This is not related to KDE itself, but I’d like to hear some opinion from keyboard layout users, especially from those who use more than one keyboard layout. Right now I’m designing a new feature for fcitx (for people who … Continue reading

Posted in KDE, Linux | Tagged | 11 Comments

Fix input method support in Linux world.

As I have stated many times in my blog, the most serious problem of input method in linux world is not input method, but actually the application. That’s why I maintain a page of applications with buggy input method support. … Continue reading

Posted in fcitx development | 4 Comments

My CMake Tutorial 1

CMake 是一个跨平台的开源构建系统。 1、CMake的诞生 既然维基百科有我就不多说了。 http://zh.wikipedia.org/wiki/CMake 2、为什么要使用CMake http://lwn.net/Articles/188693/  Why the KDE project switched to CMake — and how 原因之一是跨平台,本来他们想采用 SCons 作为构建系统, 但在跨平台上遇见了许多问题。CMake的优势在于它只依赖于C++编译器,跨平台,可以生成各个平台特定的Makefile和工程文件,并且支持单元测试。 另外一点就是性能,但我一时间找不到具体的引用了。 3、使用CMake的基本方法 mkdir build cd build cmake .. make make install 针对一般用户来说就是以上内容,和当年的传统 configure make 很像吧? 4、第一个项目 cmake_minimum_required (VERSION 2.6) … Continue reading

Posted in cmake | Tagged | 4 Comments