Hyperbola 0.4 running ungoogled-chromium, luakit, and icecat browsers

9 replies [Last post]
andyprough
Offline
Joined: 02/12/2015

I was able to install guix on Hyperbola 0.4 today, and install a bunch of browsers. Working great!

One thing I like is that they populated the Lumina main menu right away.

AttachmentSize
hyperbola-ungoogled-chomium.jpg138.91 KB
hyperbola-luakit.jpg152.08 KB
hyperbola-icecat.jpg139.07 KB
SkedarKing
Offline
Joined: 11/01/2021

Side note, badwolf has been added recently, do you know how to get https://github.com/jun7/wyebadblock

to work with badwolf?

I have not figured this out yet at all...

Just wondered if you know how... ;)

andyprough
Offline
Joined: 02/12/2015

I do not know. For something like badwolf, I just manually pasted a pre-formatted adblocker list like one of these into /etc/hosts - https://github.com/ProgramComputer/Easylist_adservers_hosts

That's one reason I like luakit - just drop the easylist text files into the ~/.local/share/luakit/adblock/ folder. So simple.

SkedarKing
Offline
Joined: 11/01/2021

Huh, how would I get it to automatically run?

Aka, when I open web browser it automatically blocks ads?

hmm... I will look this up just in case you dont respond for a while.

andyprough
Offline
Joined: 02/12/2015

If you paste a pre-formatted adblock list like from here into /etc/hosts - https://github.com/ProgramComputer/Easylist_adservers_hosts

... then it should automatically block all those ad-slinging domains for your entire OS, including your browser.

Did I answer your question? Not sure if that's what you were asking.

SkedarKing
Offline
Joined: 11/01/2021

Yeah, indirectly it did help enormously. :)

Used a list from here:

https://github.com/StevenBlack/hosts

;)

andyprough
Offline
Joined: 02/12/2015

Excellent, I've used those lists before as well.

andyprough
Offline
Joined: 02/12/2015

One interesting thing about running luakit from a guix package manager installation is that some of the config files will not be under /etc/xdg/luakit/ like normal, but instead will be under /gnu/store/[bunch of numbers and letters]luakit-2.3/etc/xdg/luakit/

On my Hyperbola system with guix package manager, the rc.lua file I need to edit to enable noscript is located in:
/gnu/store/80ix6mwp2gmm6081588mr9vyhpxmzfv7-luakit-2.3/etc/xdg/luakit/
You can tab complete in your terminal emulator after entering the first 3-4 numbers and letters of the luakit entry in the /gnu/store.

The way to find out the location of the directory on your system is: while in luakit, start a new "command" (yes, luakit takes commands like a terminal emulator) by typing the ":" colon character. Then paste this after the colon -
lua w:notify(package.path:gsub(";","\n"))
So your whole luakit command should look like this:
:lua w:notify(package.path:gsub(";","\n"))
That will spit out a bunch of directories. Look for the one that starts with /gnu/store/ and ends with /xdg/luakit/ - that will be the directory you want for changing the rc.lua file in order to enable noscript.

The rest of the instructions for getting noscript running on luakit are here:
https://trisquel.info/en/forum/configuring-and-running-luakit-browser#comment-162956

Legimet
Offline
Joined: 12/10/2013

Interesting, I thought Icecat was dead but it seems to be actively maintained in the git repo, although for some reason they haven't made any releases for years.

koszkonutek
Offline
Joined: 03/19/2020

I even complained to RMS about it (only as part of a larger discussion) and he said he'd ask Ruben to fix this up. It was more than 2 months ago, though. Perhaps it'd help if more people complained?

Anyway, I've been told browsers like Abrowser and Parabola's Iceweasel are in fact based on those IceCat patches