Manjaro Difference between revisions of "Mozilla Firefox/ru"

Difference between revisions of "Mozilla Firefox/ru"

From Manjaro
(Created page with "[https://community.kde.org/Plasma/Browser_Integration Пакет интеграции с браузером] предоставляет элементы управления...")
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
Line 4: Line 4:
=Установка Firefox=
=Установка Firefox=


<div class="mw-translate-fuzzy">
Firefox можно установить с помощью пакета '''firefox''' в вашем любимом менеджере пакетов или с помощью команды:
Firefox можно установить с помощью пакета '''firefox''' в вашем любимом менеджере пакетов или с помощью команды:
  pamac install firefox
  pamac install firefox
 
</div>


=Другие версии=
=Другие версии=
Line 23: Line 24:
| firefox-esr || aur || https://www.mozilla.org/en-US/firefox/organizations/ || Официальные релизы ESR.  Это самая старая поддерживаемая версия Firefox
| firefox-esr || aur || https://www.mozilla.org/en-US/firefox/organizations/ || Официальные релизы ESR.  Это самая старая поддерживаемая версия Firefox
|}
|}


=Работа с темными темами GTK=
=Работа с темными темами GTK=
Line 49: Line 49:
==Установка интеграции браузера с Plasma==
==Установка интеграции браузера с Plasma==


<div class="mw-translate-fuzzy">
[https://community.kde.org/Plasma/Browser_Integration Пакет интеграции с браузером] предоставляет элементы управления мультимедиа, уведомления и интеграцию с krunner. Вы можете установить его с помощью:
[https://community.kde.org/Plasma/Browser_Integration Пакет интеграции с браузером] предоставляет элементы управления мультимедиа, уведомления и интеграцию с krunner. Вы можете установить его с помощью:
  pamac install plasma-browser-integration
  pamac install plasma-browser-integration
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Next install the [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration plasma integration add-on] in Firefox.
Next install the [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration plasma integration add-on] in Firefox.
</div>




==Использование встроенного средства выбора файлов==
==Использование встроенного средства выбора файлов==


<div lang="en" dir="ltr" class="mw-content-ltr">
It is possible to integrate the file chooser from plasma into Firefox giving you a more seamless experience.
It is possible to integrate the file chooser from plasma into Firefox giving you a more seamless experience.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
First ensure the packages xdg-desktop-portal and xdg-desktop-portal-kde using the command:
First ensure the packages xdg-desktop-portal and xdg-desktop-portal-kde using the command:
pamac install xdg-desktop-portal xdg-desktop-portal-kde
{{UserCmd|command=pamac install xdg-desktop-portal xdg-desktop-portal-kde}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Now we need to create a customized desktop launcher by creating a copy of the distribution file with
Now we need to create a customized desktop launcher by creating a copy of the distribution file with
mkdir -p ~/.local/share/applications
{{UserCmd|command=mkdir -p ~/.local/share/applications}}
cp /usr/share/applications/firefox.desktop ~/.local/share/applications/.
{{UserCmd|command=cp /usr/share/applications/firefox.desktop ~/.local/share/applications/}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Next we need to edit the newly created file at ~/.local/share/applications/firefox.desktop using a [[Viewing_and_editing_configuration_files|text editor]]
Next we need to edit the newly created file at ~/.local/share/applications/firefox.desktop using a [[Viewing_and_editing_configuration_files|text editor]]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
There are 3 edits that need to made to this file.
There are 3 edits that need to made to this file.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
replace:
replace:
  Exec=/usr/lib/firefox/firefox %u
  Exec=/usr/lib/firefox/firefox %u
with:
with:
  Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u"
  Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u"
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
replace:
replace:
  Exec=/usr/lib/firefox/firefox --new-window %u
  Exec=/usr/lib/firefox/firefox --new-window %u
with:
with:
  Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --new-window %u"
  Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --new-window %u"
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
replace:
replace:
  Exec=/usr/lib/firefox/firefox --private-window %u
  Exec=/usr/lib/firefox/firefox --private-window %u
with:
with:
  Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --private-window %u"
  Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --private-window %u"
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Save and enjoy your firefox/plasma integration
Save and enjoy your firefox/plasma integration
</div>




=Установка Firefox непосредственно с веб-сайта Mozilla=
=Установка Firefox непосредственно с веб-сайта Mozilla=


<div lang="en" dir="ltr" class="mw-content-ltr">
Generally it is better to use the version of Firefox that is available in the repos but installing Firefox directly has one advantage: Firefox will update itself automatically as soon as an update is available.
Generally it is better to use the version of Firefox that is available in the repos but installing Firefox directly has one advantage: Firefox will update itself automatically as soon as an update is available.
This is great for users, who want to get the latest update as soon as possible without waiting for the next Manjaro update.
This is great for users, who want to get the latest update as soon as possible without waiting for the next Manjaro update.
</div>




==Загрузка Firefox с сайта Mozilla==
==Загрузка Firefox с сайта Mozilla==


<div lang="en" dir="ltr" class="mw-content-ltr">
Download the latest Firefox in your language from here: https://www.mozilla.org/en-US/firefox/all/
Download the latest Firefox in your language from here: https://www.mozilla.org/en-US/firefox/all/
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Most users will download "Linux 64-bit" in your chosen language.  If you are using manjaro32, download "Linux 32-bit"
Most users will download "Linux 64-bit" in your chosen language.  If you are using manjaro32, download "Linux 32-bit"
</div>




==Извлечение файлов==
==Извлечение файлов==


<div lang="en" dir="ltr" class="mw-content-ltr">
Ensure that '''~/bin''' exists with
Ensure that '''~/bin''' exists with
mkdir -p ~/bin
{{UserCmd|command=mkdir -p ~/bin}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Unpack/extract the downloaded <code>firefox-xx.x.tar.bz2</code> file to ''~/bin/'' using a graphical tool or with the ''tar'' command.  Here is an example:
Unpack/extract the downloaded <code>firefox-xx.x.tar.bz2</code> file to ''~/bin/'' using a graphical tool or with the ''tar'' command.  Here is an example:
tar -xf ~/Downloads/firefox-66.0.5.tar.bz2 --directory ~/bin
{{UserCmd|command=tar -xf ~/Downloads/firefox-66.0.5.tar.bz2 --directory ~/bin}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
You can now start to use Firefox by double clicking on the file (or executing it in a terminal):
You can now start to use Firefox by double clicking on the file (or executing it in a terminal):
~/bin/firefox/firefox
{{UserCmd|command=~/bin/firefox/firefox}}
</div>




==Создание иконки==
==Создание иконки==


<div lang="en" dir="ltr" class="mw-content-ltr">
Let's create an icon in order to start Firefox much more easily.
Let's create an icon in order to start Firefox much more easily.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Create an empty file
Create an empty file
mkdir -p ~/.local/share/applications
{{UserCmd|command=mkdir -p ~/.local/share/applications}}
touch ~/.local/share/applications/firefox.desktop
{{UserCmd|command=touch ~/.local/share/applications/firefox.desktop}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Edit the file ''~/.local/share/applications/firefox.desktop'' in your favorite editor.  For a list of common editors see [[Viewing_and_editing_configuration_files|this page]]
Edit the file ''~/.local/share/applications/firefox.desktop'' in your favorite editor.  For a list of common editors see [[Viewing_and_editing_configuration_files|this page]]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Copy and paste the following code into your <code>firefox.desktop</code> file and save it:
Copy and paste the following code into your <code>firefox.desktop</code> file and save it:
  [Desktop Entry]
  [Desktop Entry]
Line 133: Line 174:
  Terminal=false
  Terminal=false
  StartupNotify=false
  StartupNotify=false
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
In most Desktop Environments(DEs), Firefox will now be added to the menu.  In some DEs you can click on the desktop to launch the application as well.
In most Desktop Environments(DEs), Firefox will now be added to the menu.  In some DEs you can click on the desktop to launch the application as well.
</div>





Revision as of 11:14, 29 December 2022

Other languages:
Deutsch • ‎English • ‎español • ‎español de América Latina • ‎français • ‎русский • ‎فارسی • ‎中文(中国大陆)‎

Установка Firefox

Firefox можно установить с помощью пакета firefox в вашем любимом менеджере пакетов или с помощью команды:

pamac install firefox

Другие версии

Назв. пакета Источник URL Описание
firefox-developer-edition repo https://www.mozilla.org/firefox/channel/#developer Официальные сборки Developer Edition
firefox-nightly aur https://www.mozilla.org/en-US/firefox/nightly Официальные ночные сборки
firefox-kde-opensuse aur https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox Версия Firefox для OpenSUSE включает интеграцию appmenu и встроенную интеграцию Plasma
firefox-appmenu aur https://aur.archlinux.org/packages/firefox-appmenu/ Неофициальная сборка Firefox с добавленными исправлениями appmenu
firefox-esr aur https://www.mozilla.org/en-US/firefox/organizations/ Официальные релизы ESR. Это самая старая поддерживаемая версия Firefox

Работа с темными темами GTK

Некоторые страницы будут плохо читаемы при использовании темных тем gtk. Существует несколько различных способов решения этой проблемы:

  • Наиболее гибкий способ - установить дополнение Text Contrast for Dark Themes, позволяющее сохранить Вашу тематику, но при необходимости настроить ее для каждой страницы.
  • Более простой способ - Настройки->Язык и внешний вид->Цвета->Управление цветами и снять флажок "Использовать системные цвета". Недостатком этого подхода является то, что Firefox больше не будет использовать темную тему.
  • Мы можем использовать css для принудительного создания белого фона с темным текстом и элементами управления, отредактировав или создав ~/.mozilla/profile.default/chrome/userContent.css со следующим содержанием:
input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']):not([type='radio']), textarea, select {
    -moz-appearance: none !important;
    background-color: white;
    color: black;
}

#downloads-indicator-counter {
    color: white;
}


Интеграция с Plasma

Установка интеграции браузера с Plasma

Пакет интеграции с браузером предоставляет элементы управления мультимедиа, уведомления и интеграцию с krunner. Вы можете установить его с помощью:

pamac install plasma-browser-integration

Next install the plasma integration add-on in Firefox.


Использование встроенного средства выбора файлов

It is possible to integrate the file chooser from plasma into Firefox giving you a more seamless experience.

First ensure the packages xdg-desktop-portal and xdg-desktop-portal-kde using the command:

user $ pamac install xdg-desktop-portal xdg-desktop-portal-kde COPY TO CLIPBOARD

Now we need to create a customized desktop launcher by creating a copy of the distribution file with

user $ mkdir -p ~/.local/share/applications COPY TO CLIPBOARD

user $ cp /usr/share/applications/firefox.desktop ~/.local/share/applications/ COPY TO CLIPBOARD


Next we need to edit the newly created file at ~/.local/share/applications/firefox.desktop using a text editor

There are 3 edits that need to made to this file.

replace:

Exec=/usr/lib/firefox/firefox %u

with:

Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u"

replace:

Exec=/usr/lib/firefox/firefox --new-window %u

with:

Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --new-window %u"

replace:

Exec=/usr/lib/firefox/firefox --private-window %u

with:

Exec=/usr/bin/sh -c "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --private-window %u"

Save and enjoy your firefox/plasma integration


Установка Firefox непосредственно с веб-сайта Mozilla

Generally it is better to use the version of Firefox that is available in the repos but installing Firefox directly has one advantage: Firefox will update itself automatically as soon as an update is available. This is great for users, who want to get the latest update as soon as possible without waiting for the next Manjaro update.


Загрузка Firefox с сайта Mozilla

Download the latest Firefox in your language from here: https://www.mozilla.org/en-US/firefox/all/

Most users will download "Linux 64-bit" in your chosen language. If you are using manjaro32, download "Linux 32-bit"


Извлечение файлов

Ensure that ~/bin exists with

user $ mkdir -p ~/bin COPY TO CLIPBOARD

Unpack/extract the downloaded firefox-xx.x.tar.bz2 file to ~/bin/ using a graphical tool or with the tar command. Here is an example:

user $ tar -xf ~/Downloads/firefox-66.0.5.tar.bz2 --directory ~/bin COPY TO CLIPBOARD

You can now start to use Firefox by double clicking on the file (or executing it in a terminal):

user $ ~/bin/firefox/firefox COPY TO CLIPBOARD


Создание иконки

Let's create an icon in order to start Firefox much more easily.

Create an empty file

user $ mkdir -p ~/.local/share/applications COPY TO CLIPBOARD

user $ touch ~/.local/share/applications/firefox.desktop COPY TO CLIPBOARD


Edit the file ~/.local/share/applications/firefox.desktop in your favorite editor. For a list of common editors see this page

Copy and paste the following code into your firefox.desktop file and save it:

[Desktop Entry]
Name=Firefox
GenericName=Web Browser
Icon=~/bin/firefox/browser/icons/mozicon128.png
Type=Application
Categories=Application;Network;WebBrowser;
Exec=~/bin/firefox/firefox
Terminal=false
StartupNotify=false

In most Desktop Environments(DEs), Firefox will now be added to the menu. In some DEs you can click on the desktop to launch the application as well.


Смотрете также

Cookies help us deliver our services. By using our services, you agree to our use of cookies.