Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Download Sublime Text 2 from http://www.sublimetext.com/2
# If you aren't root, sudo su
tar -xvjf Sublime\ Text\ 2*.tar.bz2
mv Sublime\ Text\ 2/ /opt/sublime-text-2/
ln -s /opt/sublime-text-2 /usr/local/sublime-text-2
ln -s /usr/local/sublime-text-2/sublime_text /usr/local/bin/sublime_text
rm Sublime\ Text\ 2*.tar.bz2
# Sublime Text 2 can now be run as normal user with command "sublime_text"
# In GNOME 2, you can add it to the application menu by:
# 1. Right click on the Applications menu
# 2. Select "edit menus"
# 3. Click on "Programming"
# 4. Select "new item"
# - Type: Application
# - Name: Sublime Text 2
# - Command: sublime_text
# - Icon: /opt/sublime-text-2/Icon/48x48/sublime_text.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment