1.3 KiB
1.3 KiB
Firefox can use KDE file dialogs
As of Firefox 64 it's finally possible to use KDE's file dialog in Firefox and other GTK applications without having to install LD_PRELOAD
hacks. By telling GTK to use the desktop portal and ensuring that I have the correct desktop portal package installed (handled by default in recent Fedora KDE Linux releases) I have access to KDE's file manager dialogs, which can be configured to be palatable to me.
export GTK_USE_PORTAL=1
- fail: msg="not implemented for non-dnf"
when: ansible_pkg_mgr != "dnf"
tags:
- firefox-portal
- name: ensure xdg-desktop-portal-gtk is not installed
dnf:
state: absent
name: xdg-desktop-portal-gtk
tags:
- firefox-portal
- name: ensure xdg-desktop-portal-kde is installed
dnf:
state: installed
name: xdg-desktop-portal-kde
tags:
- firefox-portal