0

I've installed sublime in Ubuntu, but I just don't know how to launch it.

Is there any special command to launch it? Please note that I've already read this post, but it didn't solved the problem.

I just want to open a blank new file.

Rosamunda
  • 781

2 Answers2

2

If you want to start sublime from the dash, just write sublime. And, depending how you installed sublime either of this will work:

sublime-text

or

subl

if you are not sure just type ls -l $(type subl | awk '{print $3}') or ls -l $(type sublime-text | awk '{print $3}') to know:

$ ls -l $(type subl | awk '{print $3}')
-rwxr-xr-x 1 root root 74 jul  8 07:26 /usr/bin/subl
ls -l $(type sublime-text | awk '{print $3}')
lrwxrwxrwx 1 root root 4 jul 19 06:03 /usr/bin/sublime-text -> subl

As you can see, the second is just a symbolic link to the first, so it doesn't matter which you run.

Braiam
  • 67,791
  • 32
  • 179
  • 269
0

I ran the following command to add sublime to terminal access:

sudo ln -s /opt/sublime_text_2/sublime_text /usr/local/bin/sublime

Then I executed in terminal:

sublime app.js
cl-netbox
  • 31,163
  • 7
  • 94
  • 131