使用原版的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删掉。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值