How to disable middle mouse button in linux?

As I plugged in my Microsoft Bluetooth Wireless Mouse 5000 into my working laptop, I had the unplesant surprise that the middle button was causing text to be pasted in eclipse editor whenever I would scroll upr or down a page.

To fix this I added the foolowing line in my /etc/profile:

xmodmap -e "pointer = 1 0 3 4 5"

More information about mouse configuration can be found at:


Setup script to automatically update Dansguardian blacklists

Dansguardian website does not provide updates to the blacklists that were originally shipped in the Dansguardian package.  You have two options to download blacklists for your Dansguardian install: and Unfortunately requires a comercial subscription if you wish to regularly download their blacklist. I would think you can download once and give it a try.

Power down proxy server and wake it up via TomatoUSB router

For a home proxy server, there is no need to have the server running 24/7 if there is no incoming traffics.  Having the server run that much will just increase kwh usage and therefore increase energy cost.

On the proxy server we need to write a script that will put the server to sleep if there is no unicast traffic on eth0 for at least 10 minutes.  The script should run on the background as the server starts up.

1) ssh to proxy server.

2) change the user to root

     su -

3) create the following script in the root home directory:

Configuring TomatoUSB router to forward all http requests on port 80 to Squid/Dansguardian server

Once I setup my proxy server with Squid and Dansguardian and after I tested it manually by pointing a Firefox web browser to the server, the only thing left to do was to have all http trafic request on port 80 to be routed to the proxy server for content filtering.

Now there are three different ways to accomplish this. These different approaches involves different levels of configuration and they have different drawbacks.  You can have your http traffic going through your proxy server by following one of the proposed solutions:


Subscribe to Technautas RSS