Linux firefox profile location

Linux firefox profile location

Библиотека сайта rus-linux.net

Как управлять профилями Firefox

Это руководство описывает систему профилей, используемых в Firefox’е. Мы узнаем, что такое профиль, для чего он нужен, как создавать новые профили, и как пользоваться ими. Однако имейте в виду: профили — это «продвинутые» свойства Firefox’а. Они рассчитаны на тех, кто занимается тестированием новых конструкций, кто разрабатывает расширения, и прочими тому подобными вещами. Обычным пользователям вэб-браузера система профилей ни к чему.

Большая часть этого руководства является пересказом раздела «Управление профилями» справки Firefox’а. Если вы обнаружите какие-нибудь ошибки в этом руководстве, или просто захотите сделать комментарий или предложение, пожалуйста, дайте мне знать .

Что такое профиль и зачем он нужен?

В Firefox’е профиль — это сумма всех настроек, закладок, расширений, паролей и истории, короче говоря, все ваши персональные установки. Эти данные сохраняются в специальном файле профиля на вашем жестком диске. Скоро мы выясним, где находится этот файл. Если вы еще этого не знаете, то знайте, что Firefox использует профиль по умолчанию (default profile) для сохранения ваших персональных настроек.

Спрашивается, если существует профиль по умолчанию, то зачем нам нужен какой-то еще? Ответ простой: дополнительные профили чрезвычайно удобны для тех пользователей, которые занимаются тестированием новых версий Firefox’а, а также для тех, кто разрабатывает расширения. Когда вы создаете отдельный профиль для нужд разработки или тестирования, и что-то вдруг идет ужасно «неправильно» (скажем, все ваши данные пропадают), у вас всегда остается «дефолтный» профиль, с которого все можно начинать заново, так как там все данные сохранены.

Где находится папка с профилем

Местонахождение папки с профилем Firefox’а зависит от вашей операционной системы. Так:

В Windows XP / 2000, это будет:
%AppData%\Mozilla\Firefox\Profiles\xxxxxxxx.default\

В Windows 95 / 98 / ME это будет:
C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\

В Линукс это будет:

В Mac OS X это будет:

К этой таблице есть два примечания:

Примечание первое: строка xxxxxxxx перед названием профиля (.default) это просто набор из восьми случайных цифр и символов, используемых для обеспечения уникальности профиля. Firefox автоматически приписывает случайно сгенерированную строку каждому новому профилю, так что вам не приходится заботиться об этой части имени профиля.

Второе примечание относится к пути к папке в Windows XP / 2000. Строка %AppData% — это специальная переменная окружения, применяемая в Windows, указывающая на путь к «Application Data». Обычно она полностью выглядит так: C:\Documents and Settings\ \Application Data .

Руководство по быстрому созданию профиля

Если вам нужно быстро создать и запустить новый профиль, воспользуйтесь следующим кратким рецептом. Он рассчитан на ОС Windows, но те же самые шаги будут работать на всех платформах:

  1. Убедитесь, что все копии Firefox’а закрыты.
  2. Нажмите кнопку Старт >> Выполнить (Запустить программу) в стартовом меню Windows.
  3. Введите следующую команду: firefox -ProfileManager и нажмите ОК.
  4. В появившемся окне Profile Manager (Менеджера Профилей) нажмите кнопку Create Profile (Создать Профиль).
  5. Нажмите кнопку Next (Дальше) в Мастере Создания Профилей.
  6. В следующем окне Мастера введите имя нового профиля, и нажмите кнопку Finish (сами понимаете).
  7. Оказавшись снова в Менеджере профилей, выберите ваш новый профиль из списка справа и нажмите кнопку Start Firefox (Запустить Firefox).

Если вы собираетесь использовать этот профиль Firefox каждый раз, то примите следующие меры:

  1. Первое и главное, не включайте опцию «Don’t ask at startup» (не спрашивать при запуске) в Менеджере профилей. Если подключить эту опцию, то какой бы экземпляр Firefox’а, вы бы не запустили, он будет использовать выбранный профиль. Это контрпродуктивно, если вы занимаетесь тестированием, и хотите каждый тест делать с новым профилем.
  2. Сделайте ярлык (симлинк) для той копии Firefox’а, которую вы хотите использовать с настроенным вами профилем.
  3. В Windows, правым кликом мыши вызовите меню и выберите Свойства. В поле Объект, в конце команды допишите следующее: -P «

«, при этом замените

на настоящее имя, которое вы дали профилю.

  • Нажмите ОК.
  • Теперь, когда вы кликаете на созданном вами ярлыке, Firefox стартует, используя настроенный вами профиль, при условии, что ни один из экземпляров Firefox’а ранее не был запущен.

    Детальные инструкции

    Шаг 1: Закрыть все экземпляры Firefox’а

    Для того чтобы успешно создать новый профиль, все экземпляры Firefox’а должны быть закрыты. Менеджер профилей, которым мы воспользуемся для создания нашего профиля, доступен только в момент запуска программы. Следовательно, мы должны обеспечить «чистый старт».

    Шаг 2: Запуск Менеджера Профилей Firefox’а

    Для того чтобы запустить менеджер профилей, мы должны в командной строке запустить исполняемый файл Firefox’а с прибавлением специальной опции. В ОС Windows это проще всего сделать, нажав кнопку «Старт», а затем выбрать «Выполнить» (Run). В открывшемся окошке ввести следующую команду: firefox -ProfileManager

    Шаг 3. Запуск Мастера Создания Профиля

    После выполнения команды, данной нами в предыдущем шаге, появится окно Менеджера профилей Firefox’а:

    В этом окне перечислены текущие профили, предусмотрены возможности создания и удаления профилей, и многое другое. Сейчас нас интересует кнопка Create Profile. (Создать профиль), которая запускает Мастера Создания профилей. На первой странице Мастера просто нажмите кнопку Next (Дальше).

    Шаг 4. Назови свой профиль

    Следующая страница мастера выглядит так:

    На этом этапе вы должны просто ввести имя профиля, который собираетесь создать. Мой совет: назовите его достаточно подробно, что впоследствии легко вспомнить для чего применяется этот профиль. Для целей этого руководства, я выбрал название «»My Test Profile» (Мой пробный профиль). После того, как вы ввели подходящее имя, нажмите кнопку Finish. Окошко Мастера закроется, а в окне Менеджера Профилей нажмите кнопку Exit (Выход).

    Шаг 5. Создать новый ярлык для Firefox

    Вместо того чтобы каждый раз использовать Менеджер профилей для выбора нужного профиля, мы создадим ярлык для запуска Firefox’а с новым профилем (так что мы сможем использовать этот профиль когда угодно). Итак, создаем ярлык для файла Firefox.exe, щелкаем правой кнопкой мыши на новом ярлыке, и в открывшемся меню выбираем Свойства (Properties):

    В строку Target (Объект) вписываем следующее:

    \Firefox.exe -P «My Test Profile». На рисунке видны изменения, которые я сделал (смотрите поле Target). Вместо «My Test Profile» впишите то имя, что вы дали своему профилю. Затем нажмите кнопки Apply (применить) и ОК.

    Шаг 6: Запуск Firefox’а с новым профилем

    Для запуска нового профиля Firefox’а достаточно щелкнуть мышью на его ярлыке. Только убедитесь сначала, что прочие экземпляры Firefox’а закрыты, иначе новый профиль не будет использован. По умолчанию, два профиля Firefox’а не могут работать одновременно.

    Резервное копирование профилей.

    Для резервного копирования созданных профилей просто скопируйте их на какие-нибудь безопасные носители (CD-RW, USB флэшка, etc). Но прежде чем копировать убедитесь что:

    • Кэш вашего браузера очищен. Это сэкономит много места при резервном копировании.
    • Все экземпляры Firefox’а закрыты. Это гарантирует, что при резервном копировании все файлы будут скопированы полностью.

    Имея в виду вышесказанное, скопируйте папки с вашими профилями на стандартный запасной носитель: CD, другой винчестер, либо флешку.

    Источник

    Profile Manager — Create, remove or switch Firefox profiles

    Firefox saves your personal information such as bookmarks, passwords, and user preferences in a set of files called your profile, which is stored in a separate location from the Firefox program files. You can have multiple Firefox profiles, each containing a separate set of user information. The Profile Manager allows you to create, remove, rename, and switch profiles.

    • If you have (or plan to have) multiple installations of Firefox on one computer, see Dedicated profiles per Firefox installation.
    • If you are troubleshooting a problem with Firefox: The Refresh Firefox feature can fix many issues by restoring Firefox to its default state while saving your essential information. Consider using it before going through a lengthy troubleshooting process.

    Table of Contents

    Starting the Profile Manager

    Manage profiles when Firefox is open

    Type about:profiles into the address bar and press the Enter Return key. This will open the About Profiles page.

    The following options are available:

    • Create a New Profile Click this and follow the prompts in the Create Profile Wizard (see the Creating a profile section below for details). After you finish creating the new profile, it will be listed in the Profile Manager. The new profile will become the default and will be used the next time you start Firefox.

    To manage profiles, find the profile you want to change and choose from these buttons underneath that profile:

    • Rename Click this to change the name of a profile in the Profile Manager. Note: The folder containing the files for the profile is not renamed.
    • Remove Click this to delete a profile. (The profile in use cannot be deleted.) Don’t Delete Files is the preferred option. See the Removing a profile section below for more information.
    • Set as default profile This option allows you to switch profiles. Click this to make Firefox use this profile by default at startup.
    • Launch profile in new browser When you click this, another Firefox window will open using that profile.

    Start the Profile Manager when Firefox is closed

    1. If Firefox is open, close Firefox: Click the Firefox menu and select Exit . Click the Firefox menu at the top of the screen and select Quit Firefox . Click the Firefox menu and select Quit .
    2. Press + R on the keyboard. A Run dialog will open.
    3. In the Run dialog box, type in:
      firefox.exe -P
      You can use -P , -p or -ProfileManager (any of them should work).
    4. Click OK . The Firefox Profile Manager (Choose User Profile) window should open.

    Multiple Firefox installations

    You can have multiple Firefox programs installed in different locations. To start the Profile Manager for a specific Firefox installation, replace firefox.exe in the above instructions with the full path to the Firefox program, enclose that line in quotes, then add a space followed by -P.

    Examples:
    Firefox (32-bit) on 64-bit Windows
    «C:\Program Files (x86)\Mozilla Firefox\firefox.exe» -P

    Firefox (32-bit) on 32-bit Windows (or 64-bit Firefox on 64-bit Windows)
    «C:\Program Files\Mozilla Firefox\firefox.exe» -P

    1. If Firefox is open, close Firefox: Click the Firefox menu and select Exit . Click the Firefox menu at the top of the screen and select Quit Firefox . Click the Firefox menu and select Quit .
    2. Using Finder navigate to /Applications/Utilities .
    3. Open the Terminal application.
    4. In the Terminal application, enter the following:
      /Applications/Firefox.app/Contents/MacOS/firefox-bin -P

    If Firefox is already included in your Linux distribution or if you have installed Firefox with the package manager of your Linux distribution:

    1. If Firefox is open, close Firefox: Click the Firefox menu and select Exit . Click the Firefox menu at the top of the screen and select Quit Firefox . Click the Firefox menu and select Quit .
    2. In Terminal run:
      firefox -P

    The P is capitalized. Alternatively, you can use -ProfileManager instead of -P .
    The Firefox Profile Manager (Choose User Profile) window should open.

    If the Profile Manager window still does not open, Firefox may have been running in the background, even though it was not visible. Close all instances of Firefox or restart the computer and then try again.

    Creating a profile

    After starting the Profile Manager as explained above, you can create a new, additional profile as follows:

    1. In the Profile Manager, click Create Profile. to start the Create Profile Wizard.
    2. Click Next and enter the name of the profile. Use a profile name that is descriptive, such as your personal name. This name is not exposed on the Internet.


    3. Disregard the Choose Folder prompt unless you wish to choose where to store the profile on your computer.

    You will be taken back to the Profile Manager and the new profile will be listed. When you first start Firefox with the new profile, you will be prompted to sign in to your Firefox Account so that you can sync your data with the new profile (see below).

    Removing a profile

    After starting the Profile Manager as explained above, you can remove an existing profile as follows:

    1. In the Profile Manager, select the profile to remove, and click Delete Profile. .
    2. Confirm that you wish to delete the profile:

      • Don’t Delete Files removes the profile from the Profile Manager yet retains the profile data files on your computer in the storage folder, so that your information is not lost. «Don’t Delete Files» is the preferred option because it saves the old profile’s folder and allows you to recover the files to a new profile.
      • Delete Files removes the profile and its files (including the profile bookmarks, settings, passwords, etc.). If you use the «Delete Files» option, the profile folder and files will be deleted. This action cannot be undone.
      • Cancel interrupts the profile deletion.

    Renaming a profile

    After starting the Profile Manager as explained above, you can rename a profile as follows:

    1. In the Profile Manager, select the profile to rename, and then click Rename Profile. .
    2. Enter the new name for the profile. Type in the new profile name, and click on OK .
      • Note: The folder containing the files for the profile is not renamed.

    Options

    Work Offline

    Choosing this option loads the selected profile and starts Firefox without connecting to the Internet. You can view previously viewed web pages and experiment with your profile.

    Use the selected profile without asking at startup

    When you have multiple profiles, this option tells Firefox what to do at startup:

    • If you check this option, Firefox will automatically load the selected profile at startup. To access other profiles, you must start the Profile Manager first.
    • If you uncheck this option, Firefox will show you the Profile Manager each time you start Firefox, so that you can select a profile to use.

    Use Sync with a new profile

    When you first open Firefox in a new profile, a Welcome to Firefox page will open, with a space to enter your email address.

    Enter your email address and click Continue , to create or sign into a Firefox Account. You can then set up Sync for the new profile so that you can share the same bookmarks, browsing history, passwords and other user data with other Firefox profiles or devices.

    • If you already use Sync in another profile or device, enter the email address and password for your Firefox account so that your new profile can use those settings.
    • If you don’t use Sync, don’t want to sync your data with the new profile, or if you want to decide later, you can still sign into your Firefox Account and choose the Don’t sync this device option (see Disable Firefox Sync for details) or you can skip this step.

    Moving a profile

    To copy all of your Firefox data and settings to another Firefox installation (e.g. when you get a new computer), you can make a backup of your Firefox profile, then restore it in your new location. For instructions, see Back up and restore information in Firefox profiles.

    Recovering information from an old profile

    If you have important information from an old Firefox profile, such as bookmarks, passwords, or user preferences, you can transfer that information to a new Firefox profile by copying the associated files. For instructions, see Recovering important data from an old profile. You can also switch to a previous profile to recover old profile data. See Recover user data missing after Firefox update for details.

    These fine people helped write this article:

    Volunteer

    Grow and share your expertise with others. Answer questions and improve our knowledge base.

    Источник

    Читайте также:  Дампы памяти ядра windows
    Оцените статью