Installation Method 1:
To install via apt-get install, you can do the following:
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text-2
Installation Method 2:
1. Download the installation package from the official website
2. Decompression is not difficult, just find a directory to decompress, but considering the need to be able to quickly start under the command line, it is recommended to extract to the /usr/lib/directory, the method I use is first decompressed Move, the command is as follows:
tar -xvf Sublime\\ Text\\ 2.0.1.tar.bz2
mv Sublime\\ Text\\ 2 /usr/lib/
where \\ is the escape character
This is because the $PATH environment variable automatically covers the /usr/lib directory, there is no need to specifically modify the environment variables.
Then type:
ln -s /usr/lib/Sublime\\ Text\\ 2/sublime_text /usr/bin/sublime
3.Sidebar LaunchBar Settings< Br>
Since it is not installed, some basic configuration of the Ubuntu desktop is missing. For example, it cannot be added to the launcher on the desktop side. This is not the same as the program installed through the software installation center. To do this, you need to add a configuration file, placed in the /usr/share/appliations/path, such as adding sublime.desktop, the file content is as follows:
Reference configuration 1:
[Desktop Entry]
Version=2.0.1
Name=Sublime Text 2
GenericName=Text Editor
Exec=sublime
Terminal=false
Icon=/usr/lib/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
Reference Configuration 2:
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/opt/sublime_text/sublime_text %F
Icon=sublime-text
Terminal=false
MimeType=text/plain;
Categories=TextEditor;Development;
StartupNotify=true< Br>
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/opt/sublime_text/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/opt/sublime_text/sublime_text --command new_file
OnlyShowIn=Unity;
FAQ:
In terms of Chinese characters, the previous ST support is not very good. Now I can verify it and display it. The input is still a bit problematic. (Cannot input Chinese characters, but can display Chinese fonts)
The plug-in installation has package control, graphical interface, very convenient operation, zencoding and other famous things must be installed.
Cracking is not necessary, because pop-ups are not too much trouble and the frequency is very low.
vi editor is the most commonly used text editor in Linux system, vi has the reputation of the editor
1.Last Command
Introduction to linux last Command
Description: Lists information about users who have logged into the system in the past.
Syntax: last [-adRx][-f
-d ] [ -k
1. Comparison of several file systems (1) support the file system in the Linux system: Ext2 second e
Liunx shared file server uses samba, so the linux shared server is to set up the samba server; 1, n
How to view the run level in Linux system
Network configuration commands under Linux
Ssh, scp does not enter a password to operate
Linux common users camouflage root users
Linux process management notes
PCI device driver development under Linux
Method for installing RPM format package in Ubuntu system
Linux-0.11 startup process analysis
How to lock the weather in Win8 Metro interface
A simple trick to improve the network speed Win7 network duplex mode setting tutorial
Win8 system to open the Telnet protocol function
How to achieve win10 Use Ctrl key to switch between Chinese and English input method
Windows 7 system comes with AppLocker function to effectively prevent malicious programs
What is the hkcmd.exe process in the Win7 system? Is closing hkcmd.exe affecting the system?
Win8 app store can not open three kinds of solutions