1.安装
sudo
-s
su
-add-apt-repository ppa:webupd8team/
sublime-text-2
apt-get
update
apt-get
install
sublime-text-2
2.解决中文输入法问题
原文地址:http://huobazi.asp xboy.com /2012/02/04/ubuntu-sublime-text-chinese/
Sublime text 2在mac os 下用的很舒服,今天尝试在ubuntu下使用一下,发现汉字显示不了,
后来找到方法:
菜单栏 -> Preferences -> File Settings - User,在配置文件中增加:
// Settings in here override those in "Default/Base File.sublime-settings", and // are overridden in turn by file type specific settings. Place your settings // here, to ensure they're preserved when upgrading. {
然后我们来解决中文输入的问题
sudo apt-get install scim
sudo apt-get install scim-pinyin
在“系统 -首选项-scim设置里“
scim设置->全局设置->将预编辑字符串嵌入到客户端 中
下来 在“系统-语言支持”里面选上“scim-bridge”就可以了,记得这些修改完要注销重新登录进来哦。
或者 ,打开终端,输入 pkill scim,然后输入 scim -d,如果不起作用,那还是建议你注销一下
原文:http://star.web.gg/post/146