使用原版的Firefox,主要解决flash播放问题

使用原版的Firefox,主要解决flash播放问题

  有 些朋友可能嫌ubuntu版的firefox更新太慢,也可能是不喜欢那个logo,或者干脆就是喜欢“原汁原味”的firefox。这样的话,就要自 己安装和设置firefox,小弟经过奋战,终于摸索出一套方案,不敢私藏,特拿出来,与大家分享。由于小弟才疏学浅,难免有疏漏之处,还请各位海涵。 (注意:代码可能在不同的情况下要修改,例如软件包的版本,必须和你下载的符合,而不一定要符合我的,所以请不要照搬)
  1. http://www.mozilla.com/firefox/下载firefox。
  2. 解压至/opt
    代码:
    tar zxvf firefox-1.5.0.7.tar.gz -C /opt
  3. 设置图标
    代码:
    sudo cp -f /opt/firefox/icons/mozicon128.png /usr/share/pixmaps/firefox.png
  4. 制作桌面图标
    代码:
    sudo gedit /usr/share/applications/firefox-1.5.0.7.desktop
    粘贴以下内容到gedit窗口,并保存
    代码:
    [Desktop Entry]
    Encoding=UTF-8
    Name=Firefox Web Browser 1.5.0.7
    GenericName[zh_CN]=火狐浏览器
    Comment=Firefox web browser
    Exec=/opt/firefox/firefox %u
    Icon=firefox.png
    Terminal=false
    Type=Application
    StartupWMClass=Firefox-bin
    MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;
    Categories=Network;Application;
    现在,可以从“应用程序”-->“Internet”-->“Firefox Web Browser 1.5.0.7”启动firefox
  5. http://www.adobe.com/shockwave/downl...ShockwaveFlash
    下载install_flash_player_7_linux.tar.gz。将文件解压。
    代码:
    tar zxvf install_flash_player_7_linux.tar.gz -C /tmp && cd /tmp/install_flash_player_7_linux
    把flashplayer.xpt和libflashplayer.so移至/opt/firefox/plugins
    代码:
    sudo cp flashplayer.xpt /opt/firefox/plugins && sudo cp libflashplayer /opt/firefox/plugins
    重启firefox,应该就可以播放flash了。
  6. 有的人可能能播放的事后没有声音。在终端下输入
    代码:
    sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so && ln -s /tmp/.esd-1000 /tmp/.esd
    重启firefox即可!
    另外,建议在第一次启动firefox前先把ubuntu版的firefox删掉。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章