• Usando a ferramenta kwriteconfig em uma janela do console (ou em um editor de texto), modifique as diretivas Exec para instruir o Firefox a usar a funcionalidade do Portal.
    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"
    
Warning.png
Aviso
É necessário alterar todas as diretivas "Exec", pois o Firefox pode ser iniciado em vários modos.



This page was last edited on 11 February 2020, at 22:08. Content is available under Creative Commons License SA 4.0 unless otherwise noted.