I just created a symbolic link to sublime:
$ sudo ln -s /opt/SublimeText2/sublime_text /usr/bin/subl
The problem is that it opens the last project and the open I want:
$ subl my-project
or
$ ~/my-project/subl .
Both commands open Sublime Text 2 but twice, so I have two ST2 running.
How to solve this?
I use the sublime text 2 text editor for developing in Ubuntu. When I want to open a file form the command line i need to type sublime-text-2 .
For some reason a while back, the behavior of my command line changed, and I don't know why.
I've installed Sublime Text using this method and the installation seems to have went through just fine.
However, I can't seem to run sublime as a normal user. I can only get it to run when I run it as sudo.
sudo subl foo.txt <-- This works
subl foo.txt <-- This doesn't work
Hello,
This is not a terrible situation whatsoever, it's just a doubt.
I use the Ubuntu Text Editor (gedit) to write my C++ codes.
Seen here, d checked on a live session though because it's an X Window System error maybe hardware is a factor.
Easy to see - open any .desktop or .desktop type file in gedit from a terminal (for Ex.
My sublime-text 2 editor no longer starts when I click it's icon in my dock.
The icon does the normal slow pulsing for a while (unity) but nothing seems to load.
How can I determine why sublime has started failing?
I started using Sublime Text 2 a week or so ago and I loved it so much I've spent $60 on it and now want to use it for everything.
Gedit currently has ownership of most of the text file associations. I'd essentially like to replace any association to gedit with sublime-text-2.
Any tips available on bulk association changing?
The first thing you should always do after installing software (apart from viewing the manpages) is to check and see if it supports plugins. If you are not a programmer or hacker it really is the easiest way to extend capabilities. The Gnome text editor supports this feature out of the box.Here's three of the best.
Gedit is a text editor. The Gedit homepage list its full feature set..