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.

Regards;
~E~

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 :

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

and

[print$]
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
or
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 \\192.168.1.122 )
Right click on the printer then choose connect
Set up the printer
You may test by test print

Regards;
~E~

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
do
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" ;;
   esac
else
   cp "$arg" "$location"
fi
done

If you need Move-To script :

#! /bin/bash
location=`zenity --file-selection --directory --title="Select a directory"`
for arg
do
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" ;;
   esac
else
   mv "$arg" "$location"
fi
done

just copy the script to your text editor and save it to
~/.gnome2/nautilus-scripts/

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 !!!
~E~