Manjaro Difference between revisions of "Mozilla Firefox/fa"

Difference between revisions of "Mozilla Firefox/fa"

From Manjaro
(Created page with "=نصب فایرفاکس=")
Tags: Mobile web edit Mobile edit
 
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
 
(34 intermediate revisions by 2 users not shown)
Line 4: Line 4:
=نصب فایرفاکس=
=نصب فایرفاکس=


<div class="mw-translate-fuzzy">
فایرفاکس را می‌توان با استفاده از بسته '''firefox''' در مدیریت بستهٔ مورد علاقه‌تان یا با استفاده از دستور زیر، نصب کرد:
فایرفاکس را می‌توان با استفاده از بسته '''firefox''' در مدیریت بستهٔ مورد علاقه‌تان یا با استفاده از دستور زیر، نصب کرد:
pamac install firefox
<pre>
 
pamac install firefox
</pre>
</div>


=نسخه های دیگر=
=نسخه های دیگر=


{| class="wikitable"
'''firefox-developer-edition''': فایرفاکس نسخه توسعه‌دهنده در مخازن رسمی وجود دارد. این نسخه رسمی فایرفاکس برای توسعه‌دهندگان است.
! Package Name !! Source !! URL !! Description
در [https://www.mozilla.org/firefox/channel/#developer اینجا] اطلاعاتی درباره فایرفاکس نسخه توسعه‌دهنده موجود است.
|-
با دستور زیر می‌توانید آن را نصب کنید.
| firefox-developer-edition || repo || https://www.mozilla.org/firefox/channel/#developer || Official Developer Edition builds
<pre>
|-
pamac install firefox-developer-edition
| firefox-nightly || aur || https://www.mozilla.org/en-US/firefox/nightly || Official Nightly builds
</pre>
|-
<br>
| firefox-kde-opensuse || aur || https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox || OpenSUSE's version of Firefox includes appmenu integration and native plasma integration
'''firefox-nightly''': فایرفاکس شبانه در مخزن کاربر آرچ(AUR) موجود است. این نسخه رسمی و ناپایدار برای کسانی است که می‌خواهند ویژگی های جدید را به سرعت دریافت کنند.
|-
در [https://www.mozilla.org/en-US/firefox/nightly اینجا] اطلاعاتی درباره فایرفاکس شبانه وجود دارد.
| firefox-appmenu || aur || https://aur.archlinux.org/packages/firefox-appmenu/ || Unofficial Firefox build with appmenu patches added
با دستور زیر می‌توانید آن را نصب کنید.
|-
<pre>
| firefox-esr || aur || https://www.mozilla.org/en-US/firefox/organizations/ || Official ESR releases.  This is the oldest supported version of Firefox
pamac build firefox-nightly
|}
</pre>
<br>
'''firefox-kde-opensuse''': نسخه فایرفاکس مخصوص توزیع [https://fa.m.wikipedia.org/wiki/%D8%A7%D9%BE%D9%86%E2%80%8C%D8%B3%D9%88%D8%B2%D9%87 OpenSUSE] با میزکار کی‌دی‌ئی پلاسما که appmenu در آن ادغام شده و بصورت بومی با میزکار کی‌دی‌ئی پلاسما سازگار و ادغام شده است.
این نسخه در مخزن کاربر آرچ(AUR) موجود است.
در [https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox اینجا] اطلاعاتی وجود دارد.
با دستور زیر می‌توانید آن را نصب کنید.
<pre>
pamac build firefox-kde-opensuse
</pre>
<br>
'''firefox-appmenu''': ساخت غیررسمی فایرفاکس با وصله‌های appmenu که به آن اضافه شده است. این نسخه در مخزن کاربر آرچ(AUR) وجود دارد. [https://aur.archlinux.org/packages/firefox-appmenu این صفحه‌ی] این بسته در مخزن کاربر آرچ(AUR) است.
با دستور زیر می‌توانید آن را نصب کنید.
<pre>
pamac install firefox-appmenu
</pre>
<br>
'''firefox-esr''': فایرفاکس با پشتیبانی بلندمدّت در مخزن کاربر آرچ(AUR) موجود است. این نسخه‌ای رسمی از فایرفاکس با پشتیبانی بلندمدّت است. در [https://www.mozilla.org/en-US/firefox/organizations این صفحه] اطلاعاتی وجود دارد.
با دستور زیر می‌توانید آن را نصب کنید.
<pre>
pamac build firefox-esr
</pre>
<br>


=برخورد با تم های تاریک GTK=


=Dealing with dark GTK themes=
هنگام استفاده از تم های تاریک GTK خواندن برخی از صفحات سخت خواهد بود. چند راه مختلف برای رسیدگی به این موضوع وجود دارد:


Some pages will be hard to read when using dark gtk themes.  There are a few different ways to handle this:
* منعطف ترین راه نصب افزونه [https://addons.mozilla.org/en-US/firefox/addon/text-contrast-for-dark-themes تضاد متن برای تم های تیره] است که به شما امکان می دهد طرح زمینه خود را حفظ کنید اما در صورت نیاز آن را بر اساس هر صفحه تنظیم کنید.
* The most flexible way is to install the add-on [https://addons.mozilla.org/en-US/firefox/addon/text-contrast-for-dark-themes Text Contrast for Dark Themes] which will allow you to keep your theming but adjust it on a per page basis as needed
<br>


* A simpler way is Preferences->Language & Appearance->Colors and uncheck "Use System Colors". The downside of this approach is that Firefox will no longer use a dark theme.
* یک راه ساده تر، رفتن به Preferences->Language & Appearance->Colors و برداشتن علامت ''Use System Colors'' است. نقطه ضعف این روش این است که فایرفاکس دیگر از تم تیره استفاده نخواهد کرد.
<br>


* We can use css to force white backgrounds with dark text and controls by editing or creating ''~/.mozilla/profile.default/chrome/userContent.css'' with the following content:
* می‌توانیم با ویرایش یا ایجاد ''.mozilla/profile.default/chrome/userContent.css/~'' با محتوای زیر، پس‌زمینه‌های سفید را با متن و کنترل‌های تیره مجبور کنیم از css استفاده کنند:


  input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']):not([type='radio']), textarea, select {
  input:not(.urlbar-input):not(.textbox-input):not(.form-control):not([type='checkbox']):not([type='radio']), textarea, select {
Line 45: Line 71:




=Plasma Integration=
=ادغام با کی‌دی‌ئی پلاسما=
 
==نصب Plasma Browser Intergration (ادغام مرورگر با پلاسما)==


==Installing plasma Browser Integration==
<div class="mw-translate-fuzzy">
بسته [https://community.kde.org/Plasma/Browser_Integration plasma-browser-interfration] کنترل‌های رسانه، اعلان‌ها و ادغام با krunner را ارائه می‌کند. شما می توانید آن را با دستور زیر نصب کنید:
<pre>
pamac install plasma-browser-intergration
</pre>
</div>


The [https://community.kde.org/Plasma/Browser_Integration browser integration package] provides media controls, notifications and integration with krunner. You can install it with:
سپس افزونه ادغام مرورگر با پلاسما یا Plasma Intergration را از [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration اینجا] در فایرفاکس نصب کنید.
pamac install plasma-browser-integration


Next install the [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration plasma integration add-on] in Firefox.


==با استفاده از انتخابگر پرونده(فایل) بومی==


==Using the native file chooser==
امکان ادغام انتخابگر پرونده(فایل) از پلاسما در فایرفاکس وجود دارد که به شما تجربه یکپارچه‌تری می‌دهد.


It is possible to integrate the file chooser from plasma into Firefox giving you a more seamless experience.
<div class="mw-translate-fuzzy">
ابتدا با استفاده از دستور زیر بسته های ''xdg-desktop-portal'' و ''xdg-desktop-portal-kde'' را نصب کنید:
<pre>
pamac install xdg-desktop-portal xdg-desktop-portal-kde
</pre>
</div>


First ensure the packages xdg-desktop-portal and xdg-desktop-portal-kde using the command:
<div class="mw-translate-fuzzy">
pamac install xdg-desktop-portal xdg-desktop-portal-kde
اکنون باید با ایجاد یک کپی از پرونده توزیع، یک لانچر(launcher) میزکار سفارشی‌سازی‌ شده ایجاد کنیم:
<pre>
mkdir -p ~/.local/share/applications


Now we need to create a customized desktop launcher by creating a copy of the distribution file with
cp /usr/share/applications/firefox.desktop .local/share/application/~
mkdir -p ~/.local/share/applications
</pre>
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>




=Installing Firefox directly from the Mozilla Website=
=نصب مستقیم فایرفاکس از تارنمای موزیلا=


<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>




==Download Firefox from Mozilla==
==بارگیری فایرفاکس از موزیلا==


Download the latest Firefox in your language from here: https://www.mozilla.org/en-US/firefox/all/
جدیدترین فایرفاکس به زبان خودتان را از: https://www.mozilla.org/fa-IR/firefox/all/ بارگیری کنید.


Most users will download "Linux 64-bit" in your chosen language. If you are using manjaro32, download "Linux 32-bit"
بیشتر کاربران «لینوکس ۶۴-بیت»، با زبان انتخابی خود را بارگیری خواهند کرد. اگر از مانجارو۳۲ استفاده می‌کنید «لینوکس ۳۲-بیت» را بارگیری کنید.




<div lang="en" dir="ltr" class="mw-content-ltr">
==Extract the files==
==Extract the files==
</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>




==Create an icon==
==ایجاد نقشک==


Let's create an icon in order to start Firefox much more easily.
بیایید نقشکی بسازیم تا فایرفاکس را آسان‌تر اجرا کنیم.


<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 199:
  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>




=See also=
=جستار های وابسته=


<div lang="en" dir="ltr" class="mw-content-ltr">
* [https://wiki.archlinux.org/index.php/Firefox The arch wiki page]
* [https://wiki.archlinux.org/index.php/Firefox The arch wiki page]
* [[Internet_Browsers|Internet Browsers wiki page]]
* [[Internet_Browsers|Internet Browsers wiki page]]
</div>


[[Category:Contents Page{{#translation:}}]]
[[Category:Contents Page{{#translation:}}]]

Latest revision as of 11:14, 29 December 2022

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

نصب فایرفاکس

فایرفاکس را می‌توان با استفاده از بسته firefox در مدیریت بستهٔ مورد علاقه‌تان یا با استفاده از دستور زیر، نصب کرد:

pamac install firefox

نسخه های دیگر

firefox-developer-edition: فایرفاکس نسخه توسعه‌دهنده در مخازن رسمی وجود دارد. این نسخه رسمی فایرفاکس برای توسعه‌دهندگان است. در اینجا اطلاعاتی درباره فایرفاکس نسخه توسعه‌دهنده موجود است. با دستور زیر می‌توانید آن را نصب کنید.

pamac install firefox-developer-edition


firefox-nightly: فایرفاکس شبانه در مخزن کاربر آرچ(AUR) موجود است. این نسخه رسمی و ناپایدار برای کسانی است که می‌خواهند ویژگی های جدید را به سرعت دریافت کنند. در اینجا اطلاعاتی درباره فایرفاکس شبانه وجود دارد. با دستور زیر می‌توانید آن را نصب کنید.

pamac build firefox-nightly


firefox-kde-opensuse: نسخه فایرفاکس مخصوص توزیع OpenSUSE با میزکار کی‌دی‌ئی پلاسما که appmenu در آن ادغام شده و بصورت بومی با میزکار کی‌دی‌ئی پلاسما سازگار و ادغام شده است. این نسخه در مخزن کاربر آرچ(AUR) موجود است. در اینجا اطلاعاتی وجود دارد. با دستور زیر می‌توانید آن را نصب کنید.

pamac build firefox-kde-opensuse


firefox-appmenu: ساخت غیررسمی فایرفاکس با وصله‌های appmenu که به آن اضافه شده است. این نسخه در مخزن کاربر آرچ(AUR) وجود دارد. این صفحه‌ی این بسته در مخزن کاربر آرچ(AUR) است. با دستور زیر می‌توانید آن را نصب کنید.

pamac install firefox-appmenu


firefox-esr: فایرفاکس با پشتیبانی بلندمدّت در مخزن کاربر آرچ(AUR) موجود است. این نسخه‌ای رسمی از فایرفاکس با پشتیبانی بلندمدّت است. در این صفحه اطلاعاتی وجود دارد. با دستور زیر می‌توانید آن را نصب کنید.

pamac build firefox-esr


برخورد با تم های تاریک GTK

هنگام استفاده از تم های تاریک GTK خواندن برخی از صفحات سخت خواهد بود. چند راه مختلف برای رسیدگی به این موضوع وجود دارد:

  • منعطف ترین راه نصب افزونه تضاد متن برای تم های تیره است که به شما امکان می دهد طرح زمینه خود را حفظ کنید اما در صورت نیاز آن را بر اساس هر صفحه تنظیم کنید.


  • یک راه ساده تر، رفتن به Preferences->Language & Appearance->Colors و برداشتن علامت Use System Colors است. نقطه ضعف این روش این است که فایرفاکس دیگر از تم تیره استفاده نخواهد کرد.


  • می‌توانیم با ویرایش یا ایجاد .mozilla/profile.default/chrome/userContent.css/~ با محتوای زیر، پس‌زمینه‌های سفید را با متن و کنترل‌های تیره مجبور کنیم از 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 Browser Intergration (ادغام مرورگر با پلاسما)

بسته plasma-browser-interfration کنترل‌های رسانه، اعلان‌ها و ادغام با krunner را ارائه می‌کند. شما می توانید آن را با دستور زیر نصب کنید:

pamac install plasma-browser-intergration

سپس افزونه ادغام مرورگر با پلاسما یا Plasma Intergration را از اینجا در فایرفاکس نصب کنید.


با استفاده از انتخابگر پرونده(فایل) بومی

امکان ادغام انتخابگر پرونده(فایل) از پلاسما در فایرفاکس وجود دارد که به شما تجربه یکپارچه‌تری می‌دهد.

ابتدا با استفاده از دستور زیر بسته های xdg-desktop-portal و xdg-desktop-portal-kde را نصب کنید:

pamac install xdg-desktop-portal xdg-desktop-portal-kde

اکنون باید با ایجاد یک کپی از پرونده توزیع، یک لانچر(launcher) میزکار سفارشی‌سازی‌ شده ایجاد کنیم:

mkdir -p ~/.local/share/applications 

cp /usr/share/applications/firefox.desktop .local/share/application/~

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


نصب مستقیم فایرفاکس از تارنمای موزیلا

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.


بارگیری فایرفاکس از موزیلا

جدیدترین فایرفاکس به زبان خودتان را از: https://www.mozilla.org/fa-IR/firefox/all/ بارگیری کنید.

بیشتر کاربران «لینوکس ۶۴-بیت»، با زبان انتخابی خود را بارگیری خواهند کرد. اگر از مانجارو۳۲ استفاده می‌کنید «لینوکس ۳۲-بیت» را بارگیری کنید.


Extract the files

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


ایجاد نقشک

بیایید نقشکی بسازیم تا فایرفاکس را آسان‌تر اجرا کنیم.

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.