我通过推荐的方式安装了两个sublime:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
但是在遇到一些问题之后我最终还是通过安装程序进行了安装:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
然后卸载安装程序
sudo apt-get purge sublime-text-installer
sudo apt-get purge sublime
sudo apt-get purge subl
sudo apt-get purge sublime-text
sudo apt-get remove sublime-text-installer && sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
然后我这样做了:
sudo apt-get remove sublime-text && sudo apt-get autoremove
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
sudo update-alternatives --config gnome-text-editor
但我仍然得到这个:
第二个结果(右边的结果)只是在启动器上打开一个插槽并不断闪烁直到消失。
如何解决这个问题?