因为出现了下面的问题
Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.
然而没有解决这个问题,然后想着直接卸载吧,然后安装一个中文版的firefox
卸载firefox
首先查看有哪些需要卸载的
dpkg --get-selections |grep firefox
然后直接卸载这三个文件
sudo apt-get purge firefox unity-scope-firefoxbookmarks firefox-locale-en firefox-locale-zh-hans
当然可以再次查看是否卸载干净
安装firefox
下载网址:http://firefox.com.cn/download/
我下载的是中文64位的
将下载好的压缩包解压,解压出的文件夹名为firefox,将其移动到/opt目录下,输入指令:
sudo mv firefox /opt
ubuntu所有的快捷方式都在/usr/share/applications目录下。进入到这个目录, 在root账户下,创建一个文件,命名为firefox.desktop,输入的指令:
cd /usr/share/applications/
sudo touch firefox.desktop
打开新创建的文件
sudo gedit firefox.desktop
直接输入,可能地址会有不同,具体指的是Icon
[Desktop Entry]
Name=firefox
Name[zh_CN]=火狐浏览器
Comment=火狐浏览器
Exec=/opt/firefox/firefox
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
Categories=Application
Encoding=UTF-8
StartupNotify=true
然后sudo reboot重启一下就可以了,点开左边最上面那个图标,然后搜索到firefox,最好在lock from Launcher。