Comment 80 for bug 530541

Revision history for this message
corrie (corrie-engelbrecht) wrote :

Re #79:

But if you want a work around, then:

1. Rename the large /etc/hosts file with all the adblock entries to something like /etc/hosts.normal
2. Make a small /etc/hosts file with only localhost and so on in it. I called mine /etc/hosts.minimal
3. Launch gwibber from a script that copies the minimal hosts file to /etc/hosts, runs gwibber in the background, then copies the normal hosts file back.

#!/bin/bash
sudo cp /etc/hosts.minimal /etc/hosts
nohup gwibber 1>/dev/null 2>/dev/null &
sudo cp /etc/hosts.normal /etc/hosts