Manjaro Difference between revisions of "Mozilla Firefox/fa"

Difference between revisions of "Mozilla Firefox/fa"

From Manjaro
(Created page with "اکنون باید با ایجاد یک کپی از پرونده توزیع، یک لانچر(launcher) میزکار سفارشی‌سازی‌ شده ایجاد کنیم: <p...")
Tags: Mobile web edit Mobile edit
(Updating to match new version of source page)
Tags: Mobile web edit Mobile edit
 
Line 4: Line 4:
=نصب فایرفاکس=
=نصب فایرفاکس=


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


=نسخه های دیگر=
=نسخه های دیگر=
Line 46: Line 47:
</pre>
</pre>
<br>
<br>


=برخورد با تم های تاریک GTK=
=برخورد با تم های تاریک GTK=
Line 75: Line 75:
==نصب Plasma Browser Intergration (ادغام مرورگر با پلاسما)==
==نصب Plasma Browser Intergration (ادغام مرورگر با پلاسما)==


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


سپس افزونه ادغام مرورگر با پلاسما یا Plasma Intergration را از [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration اینجا] در فایرفاکس نصب کنید.
سپس افزونه ادغام مرورگر با پلاسما یا Plasma Intergration را از [https://addons.mozilla.org/en-US/firefox/addon/plasma-integration اینجا] در فایرفاکس نصب کنید.
Line 87: Line 89:
امکان ادغام انتخابگر پرونده(فایل) از پلاسما در فایرفاکس وجود دارد که به شما تجربه یکپارچه‌تری می‌دهد.
امکان ادغام انتخابگر پرونده(فایل) از پلاسما در فایرفاکس وجود دارد که به شما تجربه یکپارچه‌تری می‌دهد.


<div class="mw-translate-fuzzy">
ابتدا با استفاده از دستور زیر بسته های ''xdg-desktop-portal'' و ''xdg-desktop-portal-kde'' را نصب کنید:
ابتدا با استفاده از دستور زیر بسته های ''xdg-desktop-portal'' و ''xdg-desktop-portal-kde'' را نصب کنید:
<pre>
<pre>
pamac install xdg-desktop-portal xdg-desktop-portal-kde
pamac install xdg-desktop-portal xdg-desktop-portal-kde
</pre>
</pre>
</div>


<div class="mw-translate-fuzzy">
اکنون باید با ایجاد یک کپی از پرونده توزیع، یک لانچر(launcher) میزکار سفارشی‌سازی‌ شده ایجاد کنیم:
اکنون باید با ایجاد یک کپی از پرونده توزیع، یک لانچر(launcher) میزکار سفارشی‌سازی‌ شده ایجاد کنیم:
<pre>
<pre>
Line 98: Line 103:
cp /usr/share/applications/firefox.desktop .local/share/application/~
cp /usr/share/applications/firefox.desktop .local/share/application/~
</pre>
</pre>
</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>




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


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




Line 134: Line 154:




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




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


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




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


<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:}}]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.