Archive:Browser Configuration/Firefox Dialog Integration/pt-br: Difference between revisions
(Created page with "{|class="tablecenter vertical-centered" |250px|thumb |A partir da versão 64, o Firefox agora pode exibir as caixas de diálogo nativas d...") |
(Created page with "{{Warning/pt-br|Esse é um novo recurso e deve ser considerado experimental. Como tal, espere encontrar erros e relate qualquer um que encontrar: https://community.kde.org/Get...") |
||
Line 5: | Line 5: | ||
|} | |} | ||
{{Warning| | {{Warning/pt-br|Esse é um novo recurso e deve ser considerado experimental. Como tal, espere encontrar erros e relate qualquer um que encontrar: https://community.kde.org/Get_Involved/Bug_Reporting}} | ||
Para habilitar os diálogos nativos: | |||
* Install the necessary libraries. On most distributions, this can be done installing the '''xdg-desktop-portal''' package. This may be broken into two separate packages, '''xdg-desktop-portal''' and '''xdg-desktop-portal-kde'''. | * Install the necessary libraries. On most distributions, this can be done installing the '''xdg-desktop-portal''' package. This may be broken into two separate packages, '''xdg-desktop-portal''' and '''xdg-desktop-portal-kde'''. |
Revision as of 22:04, 11 February 2020
A partir da versão 64, o Firefox agora pode exibir as caixas de diálogo nativas do Plasma "Abrir" e "Salvar", integrando-se melhor à aparência do Plasma Desktop. |
Para habilitar os diálogos nativos:
- Install the necessary libraries. On most distributions, this can be done installing the xdg-desktop-portal package. This may be broken into two separate packages, xdg-desktop-portal and xdg-desktop-portal-kde.
- Make a copy of the Firefox desktop file:
cp /usr/share/applications/firefox.desktop $HOME/.local/share/applications
If this feature is desired for all users, the system-wide shortcut must be modified as a user with superuser (root) privileges
- Using the kwriteconfig tool in a console window (or a text editor), modify the Exec directives to instruct Firefox to use the Portal functionality.
kwriteconfig5 --file $HOME/.local/share/applications/firefox.desktop --group "Desktop Entry" --key "Exec" "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox %u" kwriteconfig5 --file $HOME/.local/share/applications/firefox.desktop --group "Desktop Action new-window" --key "Exec" "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --new-window %u" kwriteconfig5 --file $HOME/.local/share/applications/firefox.desktop --group "Desktop Action new-private-window" --key "Exec" "GTK_USE_PORTAL=1 /usr/lib/firefox/firefox --private-window %u"