Install Dropbox under Ubuntu

#!/bin/bash

# add repository
sudo apt-add-repository -y "deb http://linux.dropbox.com/ubuntu $(lsb_release -cs) main"

# update repository
sudo apt-get update -qq
 
# install Dropbox
sudo apt-get install nautilus-dropbox -y --force-yes

# install libs
sudo apt-get install -y python-gpgme

# dowload client
#wget http://www.getdropbox.com/download?plat=lnx.x86 -P /tmp
#su $1 -c tar xzf /tmp/dropbox-lnx.x86-*.tar.gz -C ~/
>

# create delayed start
# run this as user
sed -i 's|dropbox start -i|/usr/sbin/dropbox_start_dely|g' ~/.config/autostart/dropbox.desktop

# run this as root
cat < /usr/sbin/dropbox_start_dely
#!/bin/sh
sleep 120
ionice -c 3 dropbox start -i
EOF

chmod a+x /usr/sbin/dropbox_start_dely

Create account and get free Dropbox account with extra 250mb space
https://www.dropbox.com/referrals/NTQxNzA2OTU5

Enable folder share
http://www.dropbox.com/enable_shmodel

Links
http://wiki.ubuntuusers.de/Dropbox
http://www.getdropbox.com/download?plat=lnx.x86
http://www.maximumpc.com/article/features/15_things_you_have_know_about_dropbox