完美解决系统升级后Firefox浏览器Flash插件崩溃问题
Tofloor
poster avatar
sysop
deepin
2016-01-07 04:58
Author
本帖最后由 sysop 于 2016-1-6 21:03 编辑

Flash虽然是过期产品  但是由于网站更新换代速度不一 有些网站离开它还真不行
Firefox是我最喜欢的浏览器 linux下尤其好用  但是新版firefox有着废弃flash的意思
我们的办法就是降级Firefox  建议选用延长支持版 目前最新版本是38.5.2esr 安装后不会提示更新  下一个长期稳定版发布的时候flash该被彻底淘汰了吧
下载地址附后

安装方法 关闭现有firefox 下载压缩包 解压
进入/usr/lib/ 目录
右键 以管理员身份打开
将此目录下原有的firefox文件夹 重命名为firefox_bak
将刚才解压的firefox文件夹 复制到 /usr/lib/ 目录
firefox_bak目录的 firefox.sh 复制到firefox目录

flash扩展安装
下载解压
主文件夹(home)
选择显示隐藏的文件夹
在.mozilla目录下新建plugins文件夹
将libflashplayer.so复制到plugins文件夹

flash下载
https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.559/install_flash_player_11_linux.i386.tar.gz
x64 自己获取地址
https://get.adobe.com/flashplayer/?loc=cn

firefox下载地址(任选一):
延长支持版
http://ftp.mozilla.org/pub/firefox/releases/38.5.2esr/linux-i686/zh-CN/
http://ftp.mozilla.org/pub/firefox/releases/38.5.2esr/linux-x86_64/
这个是中文国际版比较纯净

http://download.firefox.com.cn/releases/firefox/esr/38.5/zh-CN/Firefox-latest.tar.bz2
http://download.firefox.com.cn/releases/firefox/esr/38.5/zh-CN/Firefox-latest-x86_64.tar.bz2
这个是中国版 预装了几个实用扩展 首页 标签 管理  拖拽 等功能 但是有首页导航盈利性推广

再者就是 找之前的releases版了 不建议
http://ftp.mozilla.org/pub/firefox/releases/
中文国际版

http://www.firefox.com.cn/download/#more
中国版
Reply Favorite View the author
All Replies
1 / 2
To page
sysop
deepin
2016-01-07 05:01
#1
想恢复到系统自动版本
只需删除home/.mozilla/plugins/
删除/usr/lib/firefox/
将/usr/lib/firefox_bak/ 重命名为/usr/lib/firefox/

Reply View the author
sen9527
deepin
2016-01-07 19:56
#2
装上看看 , 哎, flash崩溃是个大麻烦。
Reply View the author
177******49
deepin
2016-01-08 19:18
#3
按照如上操作没成功呢,是cp过去的firefox文件夹里面权限问题吗?直接快捷图标没反应
Reply View the author
sysop
deepin
2016-01-08 19:42
#4
https://bbs.deepin.org/post/35629
按照如上操作没成功呢,是cp过去的firefox文件夹里面权限问题吗?直接快捷图标没反应 ...

firefox_bak目录的 firefox.sh 复制到firefox目录了?
不行的话终端执行
chmod -R 777 /usr/lib/firefox
Reply View the author
177******49
deepin
2016-01-08 19:47
#5
https://bbs.deepin.org/post/35629
firefox_bak目录的 firefox.sh 复制到firefox目录了?
不行的话终端执行
chmod -R 777 /usr/lib/firefox ...

其实权限和文件归属我都修改过,还是运行不起来
Reply View the author
sysop
deepin
2016-01-08 19:57
#6
https://bbs.deepin.org/post/35629
其实权限和文件归属我都修改过,还是运行不起来

到firefox目录
终端执行
./firefox.sh
Reply View the author
177******49
deepin
2016-01-08 20:00
#7
https://bbs.deepin.org/post/35629
到firefox目录
终端执行
./firefox.sh

一样跑不起来,我就纳闷了
Reply View the author
177******49
deepin
2016-01-08 20:18
#8
https://bbs.deepin.org/post/35629
到firefox目录
终端执行
./firefox.sh

jiang@jiang-pc:~/下载/firefox$ ./firefox
XPCOMGlueLoad error for file /home/jiang/下载/firefox/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

我38版本直接运行如上提示。
Reply View the author
sysop
deepin
2016-01-08 20:22
#9
https://bbs.deepin.org/post/35629
jiang@jiang-pc:~/下载/firefox$ ./firefox
XPCOMGlueLoad error for file /home/jiang/下载/firefox/lib ...

是把系统自带的firefox目录的firefox.sh复制到版的firefox目录里
执行./firefox.sh
不是./firefox
Reply View the author
177******49
deepin
2016-01-08 20:25
#10
本帖最后由 jianghwjx 于 2016-1-8 12:26 编辑
https://bbs.deepin.org/post/35629
是把系统自带的firefox目录的firefox.sh复制到版的firefox目录里
执行./firefox.sh
不是./firefox ...

root@jiang-pc:/usr/lib/firefox# ./firefox.sh
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
root@jiang-pc:/usr/lib/firefox#

还是悲催,没搞明白
Reply View the author
sysop
deepin
2016-01-08 20:35
#11
https://bbs.deepin.org/post/35629
root@jiang-pc:/usr/lib/firefox# ./firefox.sh
XPCOMGlueLoad error for file /usr/lib/firefox/libxul. ...

你不是X64的 下了X86的firefox安装包吧?
Reply View the author
177******49
deepin
2016-01-08 21:04
#12
https://bbs.deepin.org/post/35629
你不是X64的 下了X86的firefox安装包吧?

好吧 原谅我这个逗比,我马上试试重新下载
Reply View the author
177******49
deepin
2016-01-08 21:14
#13
https://bbs.deepin.org/post/35629
你不是X64的 下了X86的firefox安装包吧?

非常感谢,完美解决,原来是我太粗心造成了这么奇葩的问题
Reply View the author
177******49
deepin
2016-01-09 01:34
#14
测试B站的直播看不了
Reply View the author
sysop
deepin
2016-01-09 01:53
#15
https://bbs.deepin.org/post/35629
测试B站的直播看不了

还真是
时间长度显示不对 卡顿播放
我试了下firefox跟Opera都是这样 别的视频网站暂时没发现问题
应该是flash插件的问题 你可以找以前的版本试试
我不上这网站 不知道他们支不支持html5
Reply View the author
tjw4521
deepin
2016-01-12 01:39
#16
flash插件的 ,绝对路径是哪里?
Reply View the author
tjw4521
deepin
2016-01-12 02:08
#17
flash插件的 ,绝对路径/usr/lib/mozilla/plugins/            刚刚试了一下插件放这里也是可以的
Reply View the author
sysop
deepin
2016-01-12 02:44
#18
https://bbs.deepin.org/post/35629
flash插件的 ,绝对路径/usr/lib/mozilla/plugins/            刚刚试了一下插件放这里也是可以的 ...

还有一个
/usr/lib/firefox-addons/plugins/   
不同版本的firefox可能不同 试试就行了
Reply View the author
kinggu
deepin
2016-01-13 16:34
#19
谢谢楼主。完美搞定!
Reply View the author
strikersb
deepin
2016-01-18 02:41
#20
firefox下载地址(任选一):
延长支持版
http://ftp.mozilla.org/pub/firefox/releases/38.5.2esr/linux-i686/zh-CN/
http://ftp.mozilla.org/pub/firefox/releases/38.5.2esr/linux-x86_64/
这个是中文国际版比较纯净



下载了这个版本  就不用那么麻烦的解决插件问题了吗?
Reply View the author
1 / 2
To page