Difference between revisions of "Mozilla Firefox"

fix and improve translation tags.
(add template UserCmd)
(fix and improve translation tags.)
 
Line 68: Line 68:


<!--T:16-->
<!--T:16-->
First ensure the packages xdg-desktop-portal and xdg-desktop-portal-kde using the command:
First ensure to install the packages xdg-desktop-portal and xdg-desktop-portal-kde using the command:
</translate>
{{UserCmd|command=pamac install xdg-desktop-portal xdg-desktop-portal-kde}}
{{UserCmd|command=pamac install xdg-desktop-portal xdg-desktop-portal-kde}}
<translate>


<!--T:17-->
<!--T:17-->
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
</translate>
{{UserCmd|command=mkdir -p ~/.local/share/applications}}
{{UserCmd|command=mkdir -p ~/.local/share/applications}}
{{UserCmd|command=cp /usr/share/applications/firefox.desktop ~/.local/share/applications/}}
{{UserCmd|command=cp /usr/share/applications/firefox.desktop ~/.local/share/applications/}}
<translate>


<!--T:18-->
<!--T:18-->
Line 84: Line 88:
<!--T:20-->
<!--T:20-->
replace:
replace:
</translate>
  Exec=/usr/lib/firefox/firefox %u
  Exec=/usr/lib/firefox/firefox %u
<translate>
with:
with:
</translate>
  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"
<translate>


<!--T:21-->
<!--T:21-->
replace:
replace:
</translate>
  Exec=/usr/lib/firefox/firefox --new-window %u
  Exec=/usr/lib/firefox/firefox --new-window %u
<translate>
with:
with:
</translate>
  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"
<translate>


<!--T:22-->
<!--T:22-->
replace:
replace:
</translate>
  Exec=/usr/lib/firefox/firefox --private-window %u
  Exec=/usr/lib/firefox/firefox --private-window %u
<translate>
with:
with:
</translate>
  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"
<translate>


<!--T:23-->
<!--T:23-->
Save and enjoy your firefox/plasma integration
Save and enjoy your Firefox-Plasma integration
 


=Installing Firefox directly from the Mozilla Website= <!--T:24-->
=Installing Firefox directly from the Mozilla Website= <!--T:24-->
555

edits