Управление профилями

Профиль — это набор настроек Терминала. Терминал поддерживает более одного профиля. Профили Терминала можно настроить на запуск конкретной команды или запуск командного интерпретатора, настроить профиль исключительно на подключение к удалённым компьютерам с помощью SSH, или же настроить профиль, запускающий сеанс GNU Screen.

Доступные настройки Терминала:

  • Название профиля.

  • Цвета шрифтов и фона.

  • Совместимость с клавишами Backspace и Delete.

  • Прокрутка.

Выбор профиля

If you have two or more profiles defined, you can change the profile in your current Terminal tab or window by selecting a profile from Terminal ▸ Change Profile.

Создание нового профиля

To create a new profile with the default settings of Terminal:

  1. Select Edit ▸ Preferences.

  2. In the sidebar, click on the + button next to the Profiles label.

  3. Enter a name for the new profile. You can change this name later.

  4. Click Create to create the new profile.

  5. Set your desired profile preferences. These will be saved automatically.

Создание нового профиля на основе существующего

Можно создать новый профиль на основе настроек существующего:

  1. Select Edit ▸ Preferences.

  2. In the sidebar select the profile on which your new profile should be based.

  3. Click on the arrow next to the profile name.

  4. Select Clone….

  5. Enter a name for the new profile. You can change this name later.

  6. Click Clone to create the new profile.

  7. Set your desired profile preferences. These will be saved automatically.

Создание нового профиля из существующего профиля не повлияет на настройки существующего профиля. Все изменения настроек сохраняются в новом профиле.

Редактирование профиля

Если был изменён профиль по умолчанию, то его невозможно будет восстановить. Если никаких других профилей Терминала не было создано, и былизменён профиль по умолчанию, то Терминал может стать неудобен для использования, если какие-то из настроек будут создавать проблемы. Рекомендуется создать копию профиля по умолчанию и затем изменить эту копию для создания другого профиля.

You can make changes to existing profiles. To edit a profile:

  1. Select Edit ▸ Preferences.

  2. Your current profile is selected in the sidebar. If you wish to edit a different profile, click on its name.

Once the desired profile is selected, you can:

  1. Выберите шрифт, форму курсора и размер Терминала.

  2. Также можно изменить поведение Терминала при выходе из команды, настроить другую командную оболочку с регистрацией или изменить настройки прокрутки.

  3. Чтобы узнать, как изменить цвета фона и текста Терминала, см. цветовые схемы Терминала.

  4. Изменения в профиле применяются сразу же. Чтобы вернуться в Терминал, нажмите Закрыть.

Переименование существующего профиля

Существующие профили можно переименовать, включая профиль по умолчанию:

  1. Select Edit ▸ Preferences.

  2. Выберите профиль, который нужно переименовать.

  3. Click on the arrow next to the profile name.

  4. Select Rename….

  5. Enter the new profile name.

  6. Click Rename to rename.

Delete a profile

Чтобы удалить профиль:

  1. Select Edit ▸ Preferences.

  2. Выберите профиль, который нужно удалить.

  3. Click on the arrow next to the profile name.

  4. Select Delete….

  5. Click Delete to confirm.

The default profile cannot be deleted. If you wish to delete that profile, first set another profile as default.

Указать профиль по умолчанию

The default profile is loaded when a new terminal is opened unless you have selected another profile. Any changes that you make to the settings will be stored in the currently selected profile.

The default profile is used when Terminal could not otherwise decide which profile to use. For example, Terminal is started up freshly and opens its first terminal window. In contrast, when you use a menu entry or keyboard shortcut of Terminal to open a new terminal, the profile of the existing terminal is used.

  1. Select Edit ▸ Preferences.

  2. Select the profile you wish to set as the default.

  3. Click on the arrow next to the profile name.

  4. Select Set as default.

The default profile is marked with a check mark symbol.