Faster Firefox

This article tested on Firefox 3.0.10 ( Ms. Windows XP and Ubuntu JJ )

Open your firefox and type about:config
( click ok i’ll be careful, i promise! )

Work on filter bar :
( type the bold, change the value by double click on it )

network.http.pipelining ; normally it “false”, change to “true”
network.http.pipelining.maxrequests ; normally it “4”, change to “8”
network.http.proxy.pipelining ; change from “false” to “true”
network.dns.disableIPv6 ; change from “false” to “true”
plugin.expose_full_path ; change from “false” to “true”

Create some new preferences:
( you can Right Click (RC) anywhere on the preferences panel )

Right Click > New > Integer > type nglayout.initialpaint.delay
click ok > type zero, 0 > click ok

Right Click > New > Integer > content.notify.backoffcount
click ok > type: 5 > click ok

Right Click > New > Integer > ui.submenuDelay
click ok > type zero, 0 > click ok

Right Click > New > Integer > browser.cache.memory.capasity
click ok > type: 32768 > click ok

Right Click > New > Integer > content.notify.interval
click ok > type: 500000 > click ok

Right Click > New > Integer > content.switch.threshold
click ok > type: 250000 > click ok

Right Click > New > Boolean > content.interrupt.parsing
click ok > choose: False > click ok

It’s Done !!
Now, it’s time to restart the firefox…………It should be faster than before.



Printer Sharing

1. On the computer which printer attached

Open Administration printing then add new printer
setup the printer
right-click on the printer then mark on enable and shared boxes
Go to server setting
make sure that “Shared published printer ……” checked
Open terminal then type : sudo apt-get install samba
Then sudo gedit /etc/samba/smb.conf
edit this :

comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = yes
read only = yes
create mask = 0700


comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = yes

restart samba by sudo /etc/init.d/samba restart

2. on the Linux client ( here, I have ubuntu and mint users )

open their Administration – printing
if you see the shared printer on the left panel….just select it
choose internet protocol printer ( ipp ) then configure it out
you may test by test print

3. on the windows client

Open windows explorer
type the computer address where the printer attached
( for example \\ )
Right click on the printer then choose connect
Set up the printer
You may test by test print


Nautilus Scripts

Started from here, talked about Send To feature ( this feature is famous in Ms. Windows — i think ) , i just realized that i have missed another simple thing !!
I found something in wiki and something in unleashed.

If you need Copy-To script :

#! /bin/bash
location=`zenity --file-selection --directory --title="Select a directory"`
for arg
if [ -e "$location"/"$arg" ];then
   zenity --question --title="Conflict While Copying" --text="File ""$location"/"$arg"" already exists. Would you like to replace it?"
   case "$?" in
      1  )  exit 1 ;;
      0  )  cp "$arg" "$location" ;;
   cp "$arg" "$location"

If you need Move-To script :

#! /bin/bash
location=`zenity --file-selection --directory --title="Select a directory"`
for arg
if [ -e "$location"/"$arg" ];then
   zenity --question --title="Conflict While Moving" --text="File ""$location"/"$arg"" already exists. Would you like to replace it?"
   case "$?" in
      1  )  exit 1 ;;
      0  )  mv "$arg" "$location" ;;
   mv "$arg" "$location"

just copy the script to your text editor and save it to

But, don’t forget one more thing;
your script must be executable by typing
sudo chmod a+x ~/.gnome2/nautilus-scripts
in Terminal.

You can get Send-To script here
Open your Nautilus and the scripts will be there when you right-click on something ( press reload button if you didn’t see any )

Done !!!

HP LaserJet 1020 on Hardy Heron

Frankly, i never know that this printer can’t directly work if we installed it in HH by using direct connection. Otherwise, i always use this printer through network and it works totally well.

When i looked at this problem in google… i was shocked that this issue is there and it was an error from the bundled driver of HH ( i am totally late in figure this out )
So….the solution was I have to replace the bundled driver !!

open Terminal
type sudo bash
apt-get install build-essential { install build-essential }
wget -c
{ to download the driver }
tar zxvf foo2zjs.tar.gz { extract the downloaded driver }
cd foo2zjs { change the working directory }
make { start to build the driver }
./getweb 1020 { get additional firmware }
make install { install the driver }
make install-hotplug { install hotplug }
make cups { restart cups }

done !! and Great Thanks to the resources

Source : and Muhidins Blog

Simple anonymous ftp server

This time, i just wanted to create an ftp server to share some “read-only” files. If i put these files on a public samba shared, it will easily to be changed. It will not be good if you change a teaching schedule by yourself…not by the authorities.
Next example can be a master report file or master forms.

I just did :

install proftp :=> sudo apt-get install proftpd ucf
activate the anonymous section on the /etc/proftpd/proftpd.conf
restart proftp :=> sudo /etc/init.d/proftpd restart
Done !!
from web browser :=> ftp://servername/

When i did not activate the anonymous section on proftpd.conf, it seemed like we can open all home folders of that server ( of course this is BAD !! ) even the ftp asked for a password.


About a beep

Sometimes we heard “beep” sounds from our computer when we tried to turn it on, it was not just “beep”. The beep means something, can be a problem happened to our computer.

Below are some meaning of the “beep”

No Beeps Short, No power, Bad CPU/MB, Loose Peripherals
One Beep Everything is normal and Computer POSTed fine
Two Beeps POST/CMOS Error
One Long Beep, One Short Beep Motherboard Problem
One Long Beep, Two Short Beeps Video Problem
One Long Beep, Three Short Beeps Video Problem
Three Long Beeps Keyboard Error
Repeated Long Beeps Memory Error
Continuous Hi-Lo Beeps CPU Overheating

The above “beeps” were the usually happened beeps
For more beep’s details :

when you heard your computer is beeping…please, LISTEN to it !!


Missing fstab……

I slipped on my own script, my fstab erased…….
It only contain a line to mount CD-ROM….wakakakaka

After googling, i found this
By reading this article, i assumed that we have to know the UUID for each drive, especially for the / and swap ( for windows disk can be done later )

First, used blkid from terminal by typing sudo blkid
here is the output

/dev/sda1: UUID="2C28F09028F059F2" TYPE="ntfs"
/dev/sda5: UUID="2C82313F7F68F931" TYPE="ntfs"
/dev/sda6: TYPE="swap" UUID="f2ea4d4c-ef3f-49dd-9f4a-ea140e93c69e"
/dev/sda7: UUID="ced3011b-4675-4790-8065-d8e0601f6bf1" TYPE="ext3"

I just have to copy / and swap UUID and paste to my (new)fstab,
after some editing, it looks like :

/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
// /media/x cifs rw,uid=root,gid=root,file_mode=0777,dir_mode=0777,noperm 0 0
UUID=ced3011b-4675-4790-8065-d8e0601f6bf1    /    ext3    relatime,errors=remount-ro    0    1
UUID=f2ea4d4c-ef3f-49dd-9f4a-ea140e93c69e    none    swap    sw    0    0   

After reboot, my system is back to normal
( I applied this to Hardy Heron, Intrepid Ibex and Mint Elyssa )