PPA安装Atomsudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
去除PPA-卸载Atomsudo apt-get remove atom
sudo add-apt-repository --remove ppa:webupd8team/atom
sudo apt-get autoremove
解决中文乱码安装文泉驿正黑等相关中文字体
sudo apt-get install -y ttf-wqy-zenhei fonts-wqy-zenhei ttf-wqy-microheiEdit->Open Your Stylesheet,删除原有内容,输入如下内容,保存,重启Atom/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed.
*
* If you are unfamiliar with LESS, you can read more about it here:
* http://www.lesscss.org
*/
@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;
}