Ubuntu Additions Guide

 

Ubuntu Products 

Ubuntu 8.04 Wiki 

Ubuntu 8.04 Installation 

Ubuntu 正體中文 Wiki 

Ubuntu 常用軟體介紹 

Ubuntu 6.10 Guide 

強化 Ubuntu 中文環境 


FireFox 3.0 Flash installation for 64 bit Ubuntu:

sudo apt-get install flashplugin-nonfree lib32nss-mdns
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-addons/plugins/
sudo ln -sf /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so /usr/lib/firefox-3.0/plugins/

Flash installation for 32 bit Ubuntu:

sudo apt-get install flashplugin-nonfree

Acrobat Reader Skype

sudo apt-get install skype acroread acroread-plugins cups-pdf acroread-escript mozilla-acroread

Acrobat Reader 8.1.3 (AMD64, deb)

Webilder Google Desktop

sudo apt-get install webilder-gnome google-desktop-linux picasa

VirtualBox with USB support

Install the essential build utilities so the vbox kernel module builds.
sudo apt-get install build-essential linux-headers-`uname -r`
Install i386 VirtualBox w/o repository:
wget http://www.virtualbox.org/download/1.6.2/virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb
; sudo dpkg -i virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb
Install amd64 Virtualbox w/o repository:
wget http://www.virtualbox.org/download/1.6.2/virtualbox_1.6.2-31466_Ubuntu_hardy_amd64.deb ; sudo dpkg -i virtualbox_1.6.2-31466_Ubuntu_hardy_amd64.deb

Now you Must add your self to the vboxusers group:
sudo adduser $USER vboxusers
Adding user `ionstorm' to group `vboxusers' ...
Adding user ionstorm to group vboxusers
Done.


Setup VirtualBox USB Support:
sudo gedit /etc/init.d/mountdevsubfs.sh
You'll see a block of code that looks like this:
#
# Magic to make /proc/bus/usb work
#
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb

Now uncomment the last 4 lines above to look like this:
#
# Magic to make /proc/bus/usb work
#
mkdir -p /dev/bus/usb/.usbfs
domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644
ln -s .usbfs/devices /dev/bus/usb/devices
mount --rbind /dev/bus/usb /proc/bus/usb

Get the vboxusers group id:
grep vbox /etc/group
vboxusers:x:124:ionstorm

sudo gedit /etc/fstab
Append this to the fstab then save/exit:
## usbfs is the USB group in fstab file:
none /proc/bus/usb usbfs devgid=124,devmode=664 0 0

Edit the mountkernfs.sh file with the gid in bold:
sudo gedit /etc/init.d/mountkernfs.sh
Paste the 2 lines below above the line: 

# Mount spufs, if Cell Broadband processor is detected"
## Mount the usbfs for use with Virtual Box
domount usbfs usbdevfs /proc/bus/usb -onoexec,nosuid,nodev,devgid=124,devmode=664


You may not need to reboot, try doing:
sudo /etc/init.d/mountkernfs.sh