Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
sublime text 3 切换项目后 再输入中文会崩溃
Apps Section
805
views ·
0
replies ·
To
floor
Go
ginnerpeace
deepin
2017-12-26 00:52
Author
本帖最后由 ginnerpeace 于 2017-12-25 16:57 编辑
在深度商店里安装的sublime,看出来已经做了输入法修复,/usr/bin/sublime-text-dev文件内容:
#!/bin/bash
# Please note that Sublime Text 3 for some reason opens an empty instance
# if the project you're trying to open is already open in another instance,
# instead of just giving it focus.
SUBLIME_HOME=/opt/sublime_text_3
LD_LIB="${SUBLIME_HOME}/libsublime-imfix.so"
BIN="${SUBLIME_HOME}/sublime_text"
PID=$(pidof -o %PPID ${BIN} 2>/dev/null)
ARGS="--class=sublime-text-dev"
if [[ ${1:(-16)} == ".sublime-project" ]]; then
ARGS="${ARGS} --project"
fi
if [[ -n ${PID} ]]; then
LD_PRELOAD=${LD_LIB} ${BIN} ${ARGS} "$@"
else
LD_PRELOAD=${LD_LIB} ${BIN} ${ARGS} "$@" &
fi
Copy the Code
命令行运行sublime-text-dev,使用很流畅。
但是如果在桌面或者dock中打开后有问题:在切换项目之后,搜狗输入法键入中文时,sublime会直接崩溃掉。
原谅我截不出图。。。不知道为什么截屏只能截取到每次切换项目的时候。大家可以试一试,我觉得是能够重现的。
$ apt policy sublime-text-dev
sublime-text-dev:
已安装:3.0.0+b3143-3
候选: 3.0.0+b3143-3
版本列表:
*** 3.0.0+b3143-3 500
500 http://packages.deepin.com/deepin panda/non-free amd64 Packages
Copy the Code
Reply
Like 0
Favorite
View the author
All Replies
No replies yet
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Looking Deepin ci 25.2.0 Developer/Unstable repositories
How to fix grub boot menu that has disappeared?
Popular Events
More
在深度商店里安装的sublime,看出来已经做了输入法修复,/usr/bin/sublime-text-dev文件内容:
命令行运行sublime-text-dev,使用很流畅。
但是如果在桌面或者dock中打开后有问题:在切换项目之后,搜狗输入法键入中文时,sublime会直接崩溃掉。
原谅我截不出图。。。不知道为什么截屏只能截取到每次切换项目的时候。大家可以试一试,我觉得是能够重现的。