[3rd-Party Apps] Firefox 窗体整体缩放变大问题
Tofloor
poster avatar
xuwentang
deepin
2025-05-11 00:11
Author

每次重新登陆或系统重启后,Firefox 窗体整体缩放变大,影响使用。

经分析,是由 ~/.mozilla/firefox/fmt8oo63.default-default/prefs.js 文件导致的。

解决办法:

把正常的 ~/.mozilla/firefox/fmt8oo63.default-default/prefs.js 文件 保存到 ~/.mozilla/firefox/prefs.js 处。

每次开机或重启、用户注销后登陆时,用正常的文件 ~/.mozilla/firefox/prefs.js 覆盖 ~/.mozilla/firefox/fmt8oo63.default-default/prefs.js 文件。

创建 ~/.config/systemd/user/firefox-fix.service 文件,内容如下:

[Unit]
Description=Firefox UI Bug fix
Requires=graphical-session.target
After=graphical-session.target

[Service]
ExecStart=/usr/bin/cp -f ${HOME}/.mozilla/firefox/prefs.js ${HOME}/.mozilla/firefox/fmt8oo63.default-default/prefs.js
Type=exec

[Install]
WantedBy=graphical-session.target

执行 下面命令,把 firefox-fix.service 服务设置为登陆时自动运行

systemctl --user daemon-reload
systemctl --user enable firefox-fix.service 
Reply Favorite View the author
All Replies
xuwentang
deepin
2025-05-11 00:16
#1

Firefox 浏览器 取消视频全屏时的“ESC 退出全屏”提示,打开 about:config 设置页面,把 full-screen-api.warning.timeout (默认值 3000)设置为 0

Reply View the author
商店运营-小七
Moderator
2025-05-15 09:51
#2

思考...)个例吗?我反馈维护者看看能不能优化一下

Reply View the author
New Thread

Popular Ranking

Change

Popular Events

More
国际排名
WHLUG