Sublime text

is a cross-platform text and source code editor, with a Python application programming interface (API). Its functionality is also extendable with plugins; Sublime Text is not open source software, nor free software, but most of the extending packages have free-software licenses and are community-built and maintained. From Wikipdia

Written with

  • C++
  • Objective C
  • Python (for plugins)

Installation

go to Sublime and download the compatible version for your system.
tar zxvf Sublime\ Text\ 2.0.2.tar.bz2
Move `Sublime Text 2` folder under /opt
sudo mv Sublime\ Text\ 2 /opt/
add “Sublime Text” to the Unity launcher.
 sudo sublime /usr/share/applications/sublime.desktop
copy the following content into it. Save and close.
[Desktop Entry]
Version=2.0.1
Name=Sublime Text 2

GenericName=Text Editor

Exec=sublime
Terminal=false
Icon=/opt/Sublime Text 2/Icon/48x48/sublime_text.png
Type=Application
Categories=TextEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow

[NewWindow Shortcut Group]
Name=New Window
Exec=sublime -n
TargetEnvironment=Unity
that's all, you should now have a beautiful sublime icon in your lunsher.
if you find any problems in installation of sublime, leave me a comment and I'll try to find the solution.

0 comments:

Post a Comment

 
Top