Guy Rutenberg

Keeping track of what I do

Archive for the ‘Ubuntu’ tag

Disable Touchpad Tapping in Kubuntu

with one comment

In Ubuntu (gnome) there is an easy graphical way to disable tapping on the touchpad. However, KDE lacks such thing. But lacking graphical configuration doesn’t mean this should be difficult. All you need is the gsynaptics package. The package provides a small utility called synclient. Now you can disable tapping by doing

 synclient TapButton1=0

To disable the tapping permanently you should use the following to run the command at the start of every KDE session.

echo "synclient TapButton1=0" > ~/.kde/env/disable-tapping.sh

Written by Guy

January 8th, 2010 at 11:13 pm

Posted in Tips

Tagged with , ,

Blocking IP Range using UFW

with one comment

Uncomplicated Firewall (ufw) is one of the greatest frontends to IPTables I’ve encountered. It is very simple to use and I just wish it was also available for Gentoo. Up until recently everything went smoothly for me and ufw, but we hit some rough waters when I’ve tried to block an IP range.

To block an ip or I’p range in ufw you should do

sudo ufw deny from 188.162.67.197/21

Read the rest of this entry »

Written by Guy

November 7th, 2009 at 9:19 pm

Posted in Linux,Tips

Tagged with ,

Installing Lighttpd-1.4.22 on Ubuntu 8.04

without comments

I had some problems with the lighttpd-1.4.19 that comes with Ubuntu 8.04, mainly it’s problems of handling the HTTP header Expect: 100-continue (which older versions of Lighttpd return error 417). The problem was fixed in Lighttpd-1.4.21, but 1.4.22 is the newest version so I’ve decided to install it.

As I mentioned before, Ubuntu doesn’t have lighttpd-1.4.22 for 8.04, and it’s also not available in the updates or backports repositories. Fortunately, I’ve found that the package is available from Debuian Sid (unstable). Here are some instructions on how to install it.
Read the rest of this entry »

Written by Guy

May 31st, 2009 at 10:43 pm

Posted in Linux,Tips

Tagged with ,