【问题标题】:fcitx not work on emacsclient --create-framefcitx 不适用于 emacsclient --create-frame
【发布时间】:2016-04-23 07:05:34
【问题描述】:

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-ternimal --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也是可用的,比如emacs from emacs24.desktop, libreoffice, chrome。

【问题讨论】:

  • 问题与程序无关,请在超级用户上提问
  • 非常感谢。完成了。

标签: linux emacs


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-27
    • 2017-01-12
    • 1970-01-01
    • 2015-07-04
    相关资源
    最近更新 更多