From 6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Mon, 29 Apr 2024 14:02:43 +0200 Subject: gnu: make-torbrowser: Fix file picker. * gnu/packages/tor-browsers.scm (make-torbrowser): Set "widget.use-xdg-desktop-portal.file-picker" to 1 (Always) instead of 2 (Auto) to force the use of XDG portal. Change-Id: Id3c24a292a309c3a079a3843e8cb1c00f2cf9551 --- gnu/packages/tor-browsers.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm index f25a5c9269..0c43804881 100644 --- a/gnu/packages/tor-browsers.scm +++ b/gnu/packages/tor-browsers.scm @@ -805,7 +805,11 @@ Browser.") "https://gnuzilla.gnu.org/mozzarella") (format #t "pref(~s, ~s);~%" "lightweightThemes.getMoreURL" - "https://gnuzilla.gnu.org/mozzarella")))))) + "https://gnuzilla.gnu.org/mozzarella") + ;; FIXME: https://github.com/NixOS/nixpkgs/issues/307095 + (format #t "pref(~s, ~a);~%" + "widget.use-xdg-desktop-portal.file-picker" + "1")))))) (add-after 'autoconfig 'autoconfig-tor (lambda* (#:key inputs #:allow-other-keys) (let ((lib (in-vicinity #$output "lib/torbrowser")) -- cgit v1.2.3