得之我幸 失之我命

when someone abandons you,it is him that gets loss because he lost someone who truly loves him but you just lost one who doesn’t love you.

修复 st3 无法输入中文

问题描述:

sublime text 在 debian 上 Fcitx 输入中文

解决方法:

  1. 首先从 github 上获取相关的资源

    1
    $ git clone https://github.com/lyfeyaj/sublime-text-imfix
  2. 复制 libsublime-imfix.so 到 sublime text 目录下

  3. 创建一个脚本 st3,内容为:

    1
    2
    3
    #!/bin/sh
    export LD_PRELOAD=.../sublime_text/libsublime-imfix.so
    exec .../sublime_text/sublime_text "$@"
  4. 修改 desktop 文件,将 Exec 条目修改成如下

    1
    Exec=/opt/sublime_text/st3 %F

either I will find a way, or I will make one.