unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 25631@debbugs.gnu.org
Subject: bug#25631: epiphany: Ad blocker does not work.
Date: Tue, 07 Feb 2017 05:14:15 -0500	[thread overview]
Message-ID: <87fujqcnpk.fsf@netris.org> (raw)
In-Reply-To: <87wpd3v865.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 06 Feb 2017 13:02:42 +0100")

Ricardo Wurmus <rekado@elephly.net> writes:

> “g_file_new_for_uri” triggers the download via dbus, so it must be made
> aware of the dbus session.  When running “dbus-launch epiphany” the
> error changes to
>
>     ** (WebKitWebProcess:30867): WARNING **: Error retrieving adblock filter: 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’m using stumpwm so I don’t 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

  reply	other threads:[~2017-02-07 10:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-06 11:02 bug#25631: epiphany: Ad blocker does not work Ricardo Wurmus
2017-02-06 12:02 ` Ricardo Wurmus
2017-02-07 10:14   ` Mark H Weaver [this message]
2017-02-07 10:29     ` Ricardo Wurmus
2018-08-30  0:19 ` Leo Famulari
2018-08-30  7:54   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fujqcnpk.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=25631@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).