永不妥协 2015-09-28
在Ubuntu14.04 64位机上安装Atom,依次在终端输入如下命令:
1.$ sudo add-apt-repository ppa:webupd8team/atom
2.$ sudo apt-get update
3. $ sudo apt-get install atom
处理中文乱码的问题:
1.安装文泉驿正黑等相关中文字体:$ sudo apt-get install -y ttf-wqy-zenhei fonts-wqy-zenhei ttf-wqy-microhei
2.查看系统中文字体:$ fc-list :lang=zh
3.打开Atom:
(1)、Edit -> Open Your Config,删除原有内容,输入如下内容,保存:
"*":
"exception-reporting":
userId: "fe150ae1-7895-9104-88e4-51ddc09f54d7"
welcome:
showOnStartup: false
core: {}
editor:
invisibles: {}
fontFamily: "Ubuntu Mono, DejaVu Sans Mono, 文泉驿等宽正黑"
fontSize: 15
(2)、Edit ->Open Your Stylesheet,删除原有内容,输入如下内容,保存:
@mono-font-family: "Ubuntu Mono", "文泉驿等宽正黑"; /* 等宽字体 */
@font-family: "Ubuntu", "文泉驿正黑"; /* 非等宽字体 */
html, body, ol, ul, li, h1, h2, h3, h4, h5, h6, div, p, span, pre, section, input, textarea,
table, .atom-panel, .status-bar, .tree-view, .title, .current-path, .tooltip {
font-family: @font-family;
}
.autocomplete-plus span, code, .-tree-view-, .symbols-view /*,.editor*/ {
font-family: @mono-font-family;
}
atom-text-editor.editor {
font-family: @mono-font-family;
}
.-tree-view- {
font-size: 14px;
}
4.关闭Atom,再次打开即可。
Github Atom 的详细介绍:请点这里
Github Atom 的下载地址:请点这里