From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#25631: epiphany: Ad blocker does not work. Date: Tue, 07 Feb 2017 05:14:15 -0500 Message-ID: <87fujqcnpk.fsf@netris.org> References: <87zihzvaym.fsf@elephly.net> <87wpd3v865.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb2nk-00045x-26 for bug-guix@gnu.org; Tue, 07 Feb 2017 05:15:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb2ne-0001Nu-Hr for bug-guix@gnu.org; Tue, 07 Feb 2017 05:15:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cb2ne-0001Nb-EC for bug-guix@gnu.org; Tue, 07 Feb 2017 05:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cb2ne-00014k-4n for bug-guix@gnu.org; Tue, 07 Feb 2017 05:15:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87wpd3v865.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 06 Feb 2017 13:02:42 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 25631@debbugs.gnu.org Ricardo Wurmus writes: > =E2=80=9Cg_file_new_for_uri=E2=80=9D triggers the download via dbus, so i= t must be made > aware of the dbus session. When running =E2=80=9Cdbus-launch epiphany=E2= =80=9D the > error changes to > > ** (WebKitWebProcess:30867): WARNING **: Error retrieving adblock fil= ter: HTTP Error: TLS/SSL support not available; install glib-networking > > If I first export the same environment variables (for GIO modules) that > are set in the epiphany wrapper the error disappears: > > guix environment --ad-hoc dbus > source <(sed $(readlink -f $(which epiphany)) -e "s/exec.*//") > dbus-launch epiphany > > Should we use dbus-launch in the wrapper script or should we ensure > system-wide that after logging in the DBUS_SESSION_BUS_ADDRESS is > exported? > > I=E2=80=99m using stumpwm so I don=E2=80=99t know if GNOME usually takes = care of this. It seems that both GNOME and Xfce take care of setting DBUS_SESSION_BUS_ADDRESS, since that variable is set on both my x86_64 GuixSD system running GNOME and my mips64el GuixSD system running Xfce. Mark