linux - fcitx 不适用于 emacsclient --create-frame

标签 linux emacs

emacs --version:24.4.1
emacsclient --version:24.4
fcitx --version:4.2.8.5
uname -a:Linux localhost 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux
gnome 终端 --version:3.14.1

1.在gnome-ternimal中,

$ emacs -q --daemon
$ emacsclient -c   # fcitx available in new frame

2.将emacs守护进程添加到crontab $ crontab -e -u user1

@reboot emacs -q -daemon

在 gnome 终端中,

$ emacsclient -c    #fcitx NOT work in new frame 

3.在终端中,fcitx可用,包括emacsclient -t

4.在GUI应用程序中,fcitx也是可用的,例如来自emacs24.desktop、libreoffice、chrome的emacs。

最佳答案

必须将 im env 添加到 crontab emacs 任务,就像:

@reboot XMODIFIERS="@im=fcitx" emacs --deamon 1 2>/dev/null

关于linux - fcitx 不适用于 emacsclient --create-frame,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34849162/

相关文章:

Java 没有正确写入文件

C: realloc 适用于 Linux,但不适用于 Windows

emacs - 组织模式习惯一致性图未显示

emacs - 某些终端颜色在 emacs 中不显示

qt - 在 Emacs 中打开 Qt Creator 缓冲区

emacs - 在 emacs/w32 上启用 flyspell 模式?

linux - 从 Linux 中的另一个文件中删除包含多个字符串模式的文本文件中的行

c++ - 用于列出正在运行的进程的 Linux API? - 有论点

linux - 合并保留分隔符和格式的文本文件

emacs - 无法移动到 Emacs 中的上一个点