如何通过cli禁用firefox的自动更新(全局) [英] How do I disable firefox's auto update (globally) via cli
问题描述
我需要禁用firefox的自动更新功能,因为我的硒测试在我的无头服务器上失败,当Firefox在selenium支持之前决定更新版。我也不是在这台服务器上安装Firefox的人。我相信这是通过yum安装firefox
服务器:
采取的措施:
$ cd〜/ .mozilla / firefox /
$ b $$ firefox -v
(process:11171):GLib-CRITICAL ** :g_slice_set_config:assertion`sys_page_size == 0'failed
链接我去了解情况:
我必须做错事。我似乎无法理解如何从这些链接中获得所需的内容:
可能有更直接的方法,但是我创建了No Updates
配置文件已关闭所有自动更新,并将
快捷方式重写为:
firefox.exe -PNo Updates
来源:
https://support.mozilla.org / en-US / questions / 768901
Background: I need to disable firefox's auto-update feature because my selenium tests fails on my headless server when firefox decides to update before selenium supports that version. I am also not the one who installed firefox on to this server. I believe it was through yum install firefox
Server:
- Fedora 19 Schrödinger’
- Linux
- kernel-release: 3.11.6-201.fc19.i686.PAE
- processor: i686
- platform: i386
Actions Taken:
$ cd ~/.mozilla/firefox/
(could not find a Profiles dir do I create one?)
$ firefox -v
(process:11171): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
Links I went to for info: I must be doing something wrong. I can't seem to understand how to do what I want from these links:
- developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options
- support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_finding-your-profile-without-opening-firefox
- kb.mozillazine.org/Profile_Manager#Linux
- support.mozilla.org/en-US/questions/877235
There may have been a more direct method, but I created a "No Updates" profile which has all auto-updating turned off, and rewrote the shortcut to:
firefox.exe -P "No Updates"
Source:
https://support.mozilla.org/en-US/questions/768901
这篇关于如何通过cli禁用firefox的自动更新(全局)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!