博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
centos7.4 安装sublime3
阅读量:2168 次
发布时间:2019-05-01

本文共 878 字,大约阅读时间需要 2 分钟。

我的centos7.4安装了可视化界面,而且我用不管vim,所以打算在上面装上sublime,记录一下步骤,和修改,

  1. 去官网下载sublime linux压缩包
  2. 解压
  3. 在root目录下新建文件夹为opt
  4. 把解压的sublime_text_3文件夹复制到opt文件夹下面
  5. 打开opt文件夹下的sublime_text.desktop
  6. 把以下内容替换源文件
[Desktop Entry]Version=1.0Type=ApplicationName=Sublime TextGenericName=Text EditorComment=Sophisticated text editor for code, markup and proseExec=/root/opt/sublime_text_3/sublime_text %FTerminal=falseMimeType=text/plain;Icon=/root/opt/sublime_text_3/Icon/48x48/sublime-text.pngCategories=TextEditor;Development;StartupNotify=trueActions=Window;Document;[Desktop Action Window]Name=New WindowExec=/root/opt/sublime_text_3/sublime_text -nOnlyShowIn=Unity;[Desktop Action Document]Name=New FileExec=/root/opt/sublime_text_3/sublime_text --command new_fileOnlyShowIn=Unity;
  1. 将sublime_text.desktop复制到桌面运行。
  2. 将快捷方式放入启动器中,
    把sublime_text.desktop复制到/usr/share/applications 文件夹下
  3. 选择一个python文件,右键属性,设置sublime为默认编辑器。

转载地址:http://kotzb.baihongyu.com/

你可能感兴趣的文章
Intellij IDEA使用(一)—— 安装Intellij IDEA(ideaIU-2017.2.3)并完成Intellij IDEA的简单配置
查看>>
Intellij IDEA使用(二)—— 在Intellij IDEA中配置JDK(SDK)
查看>>
Intellij IDEA使用(三)——在Intellij IDEA中配置Tomcat服务器
查看>>
Intellij IDEA使用(四)—— 使用Intellij IDEA创建静态的web(HTML)项目
查看>>
Intellij IDEA使用(五)—— Intellij IDEA在使用中的一些其他常用功能或常用配置收集
查看>>
Intellij IDEA使用(六)—— 使用Intellij IDEA创建Java项目并配置jar包
查看>>
Eclipse使用(十)—— 使用Eclipse创建简单的Maven Java项目
查看>>
Eclipse使用(十一)—— 使用Eclipse创建简单的Maven JavaWeb项目
查看>>
Intellij IDEA使用(十三)—— 在Intellij IDEA中配置Maven
查看>>
面试题 —— 关于main方法的十个面试题
查看>>
集成测试(一)—— 使用PHP页面请求Spring项目的Java接口数据
查看>>
使用Maven构建的简单的单模块SSM项目
查看>>
Intellij IDEA使用(十四)—— 在IDEA中创建包(package)的问题
查看>>
Redis学习笔记(四)—— redis的常用命令和五大数据类型的简单使用
查看>>
Win10+VS2015编译libcurl
查看>>
Windows下使用jsoncpp
查看>>
Ubuntu下测试使用Nginx+uWsgi+Django
查看>>
Windows下编译x264
查看>>
visual studio调试内存泄漏工具
查看>>
开源Faac实现PCM编码AAC
查看>>