Tuesday, August 28, 2012

Sublime in ubuntu


SUBLIME TEXT EDITOR IN UBUNTU


Sublime text Editor its an alternate for the notepad, sublime is very colourfull for the text editors
here are the steps below how to install Sublime text editor 2 in ubuntu

  1. first of all download the the sublime editor from the  internet 
  2. #cd /home/username/Downloads
  3. #tar -xvf Sublime\ Text\ 2\ Build\ 2181.tar.bz2
  4. # mv Sublime\ Text\ 2 /var
  5. #cd /var
  6. #sudo chown -R username. Sublime\ Text\ 2
  7. #sudo ln -s /var/Sublime\ Text\ 2/sublime_text /usr/bin/sublime
  8. Create the file vim /usr/share/applications/sublime.desktop
In the file add the fllowing and then save the file


[Desktop Entry]
Version=2181
Name=Sublime Text 2
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
#hi this is sunny enjoy your sublime


then save the file :wq!

No comments:

Post a Comment