Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

How can I make local configurations before starting Firefox?

  • 1 отговор
  • 1 има този проблем
  • 25 изгледи
  • Последен отговор от cor-el

more options

For Debian Linux, I have a post-installation script in which I would like to make a few local settings for a newly created user account in the file ~/.mozilla/firefox/<profile-directory>/user.js. However, before the user has launched Firefox there is no ~/.mozilla directory. Knowing that the default profile directory name ends with .default-esr I tried creating a new profile with the command

firefox -CreateProfile default-esr

but when Firefox is launched it creates another profile directory which ends with .default-esr-1. How can I create local settings from a script (without user intervention) before Firefox has been launched?

I run Debian 12.1 and Mozilla Firefox 102.13.0esr (from the standard repository).

For Debian Linux, I have a post-installation script in which I would like to make a few local settings for a newly created user account in the file ~/.mozilla/firefox/<profile-directory>/user.js. However, before the user has launched Firefox there is no ~/.mozilla directory. Knowing that the default profile directory name ends with .default-esr I tried creating a new profile with the command firefox -CreateProfile default-esr but when Firefox is launched it creates another profile directory which ends with .default-esr-1. How can I create local settings from a script (without user intervention) before Firefox has been launched? I run Debian 12.1 and Mozilla Firefox 102.13.0esr (from the standard repository).

Всички отговори (1)

more options