Re: ublock extension for ungoogled-chromium

2022-02-03 Thread Marius Bakke
Hi Reza,

Reza Housseini  skriver:

> Hello Guixers
>
> I installed ungoogled-chromium and ublock-origin-chromium and just assumed
> it will work. But it seems that the extension does not get registered in
> chromium. Does anybody know what I have to do to achieve this?

It should definitively "just work", however there are caveats:

* It relies on the $CHROMIUM_EXTENSION_DIRECTORY variable, which is
  automatically configured by Guix when you install both packages; but
  you may need to log out and in again for it to take effect.
* If you have a previous ~/.config/chromium directory from the (googled)
  Chromium laying around, there may be strange interactions.

You can avoid both caveats by running:

  guix shell {ungoogled,ublock-origin}-chromium -- \
chromium --user-data-dir=/tmp/chromium-profile

Does the extension show up then?

> Marius Bakke mentioned in his patch [1] that updating does not work, is
> this the reason why?

Updating has since been fixed.  :-)

Thanks,
Marius


signature.asc
Description: PGP signature


Re: ublock extension for ungoogled-chromium

2022-02-04 Thread Reza Housseini
On Thu, Feb 3, 2022 at 11:07 AM Marius Bakke  wrote:

> Hi Reza,
>
> Reza Housseini  skriver:
>
> > Hello Guixers
> >
> > I installed ungoogled-chromium and ublock-origin-chromium and just
> assumed
> > it will work. But it seems that the extension does not get registered in
> > chromium. Does anybody know what I have to do to achieve this?
>
> It should definitively "just work", however there are caveats:
>
> * It relies on the $CHROMIUM_EXTENSION_DIRECTORY variable, which is
>   automatically configured by Guix when you install both packages; but
>   you may need to log out and in again for it to take effect.
> * If you have a previous ~/.config/chromium directory from the (googled)
>   Chromium laying around, there may be strange interactions.
>
> You can avoid both caveats by running:
>
>   guix shell {ungoogled,ublock-origin}-chromium -- \
> chromium --user-data-dir=/tmp/chromium-profile
>
> Does the extension show up then?
>
> > Marius Bakke mentioned in his patch [1] that updating does not work, is
> > this the reason why?
>
> Updating has since been fixed.  :-)
>
> Thanks,
> Marius
>

Hi Marius

Logging in and out did the trick, should've known better.

So it should work updating the extension via guix?

Thanks,
Reza


icecat ublock-origin? (Re: ublock extension for ungoogled-chromium)

2022-02-03 Thread Remco
But what about icecat?  The description of the ublock-origin-chromium
states:

> uBlock Origin is a "wide spectrum blocker" for IceCat and
> ungoogled-chromium.

A ublock-origin-icecat or ublock-origin-xpi does not exist.  There's a
ublock-origin package with outputs xpi, firefox and chromium (see
gnu/packages/browser-extensions.scm) but it's not exported.  Are these
artifacts of different times or a work in progress?

Also removing ~/.mozilla/icecat (as removing ~/.config/chromium) doesn't
help to get ublock-origin-chromium to work with icecat.

R.