一天一点linux(13):Ubuntu14.04 如何安装Phpstorm和Sublime Text3?

ubuntu如何将sublime text在桌面建立快捷方式

  • 在 /usr/share/applications 目录下增长 sublime.desktop 文件,注意权限!php

sudo vim /usr/share/applications/sublime_test.desktop
  • 添加以下内容,而后保存。web

[Desktop Entry]  

Name=Sublime Text 3

Type=Application  

Terminal=false  

Comment=Edit text files  

Exec=/home/xxx/software/SublimeText2/sublime_text %F  

Icon=/home/xxx/software/SublimeText2/Icon/48x48/sublime_text.png
  • 直接在Dash中检索sublime 而后将图标拖到 Launcher 上便可。shell

注意:

  1. 配置信息中路径不要使用引号(最好不要有空格)。ubuntu

  2. 复制以上代码时注意每行末尾不要有空格。vim

建立Phpstorm快捷方式方法相似建立sublime text3的方式:

sudo vim /usr/share/applications/phpstorm.desktop

只是内容以下:app

[Desktop Entry]

Encoding=UTF-8

Name=phpstorm IDE

Comment=

Exec=/bin/sh "/home/xxx/software/PhpStorm/bin/phpstorm.sh"

Icon=/home/xxx/software/PhpStorm/bin/webide.png

Categories=Application;Development;Java;IDE

Version=1.0

Type=Application

Terminal=0
相关文章
相关标签/搜索