Howto: Install VirtualBox in Ubuntu Hardy Heron with USB Support in 5 easy Steps!
*update* New Verson of Virtualbox Just released! Click Here!
When I last checked Virtualbox did not update their repositories for Hardy Heron, its not a problem, their is a hardy package without a repository. I have created a howto last year on howto setup VirtualBox completely and to seamlessly integrate windows xp into your ubuntu desktop here
So lets install the brand new virtualbox package for Hardy Heron...
Lets Install the essential build utilities so the vbox kernel module builds.sudo apt-get install build-essential linux-headers-`uname -r`
Install i386 VirtualBox without repository:wget http://www.virtualbox.org/download/1.5.6/virtualbox_1.5.6-28266_Ubuntu_hardy_i386.deb ; sudo dpkg -i virtualbox_1.5.6-28266_Ubuntu_hardy_i386.deb
Install amd64 Virtualbox without repository:wget http://www.virtualbox.org/download/1.5.6/virtualbox_1.5.6-28266_Ubuntu_hardy_amd64.deb ; sudo dpkg -i virtualbox_1.5.6-28266_Ubuntu_hardy_amd64.deb
Check Here for updated Virtualbox Packages since the repository isnt added yet
Alternate install with Gutsy repository as some people have suggested works fine, just copy/paste these exact commands into the terminal:sudo sh -c 'echo "# VirtualBox repository for Ubuntu Gutsy
deb http://www.virtualbox.org/debian gutsy non-free" \
> /etc/apt/sources.list.d/gutsy-virtualbox.list'
wget http://www.virtualbox.org/debian/innotek.asc -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install virtualbox
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:
USB is disabled by default, so you'll probably want to enable it. Otherwise you'll get an error when you go into the "Settings" of your virtual machine. To correct this, you'll need to edit the mountdevsubfs.sh file: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
Ok now logoff, then log back in so the vbox driver see's you are logged in to the vboxusers group.
If the above doesnt work try rebooting, if that doesnt enable usb you can try this:
Grab the vboxusers group id:grep vbox /etc/group
vboxusers:x:124:ionstorm
Edit the fstab with the group id # in bold: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
Now lets 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
If not, reboot, and virtualbox should detect your usb devices!
You can follow my directions here to learn how to integrate Windows XP into your desktop!
Checkout the Official VirtualBox User Manual Here
Howto: Easily Setup DVD Playback in Ubuntu with 1 Click
Here is the easiest way to get dvd playback in Ubuntu Hardy Heron!
Open the Terminal and paste these commands:sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.listsudo apt-get update && sudo apt-get install medibuntu-keyring apturl && sudo apt-get update
Click here to install DVD playback from your browser!
If the above does not work simply:sudo apt-get install libdvdcss2
Now startup your favorite media player and it *should decrypt the dvd* :)
Clean up Duplicate Files, Symlinks, Directories in Ubuntu with an easy GUI!

I have 8TB of archived music, movies, games, applications,iso's, and documents from the past 12 years that I have saved and accumulated and have been plagued by having the same files copied in multiple locations across all my drives. Over the years I have re-downloaded music, movies, and tons of other things that I already have... It really sucks when I download something and run this application and notice I already have it... Other than this issue, I have gigs of config files that are duplicates that needed to be cleaned. So ive been using a program called FSLint, It means Filesystem Lint. So lets get to work and clean the lint from our drives shall we?
Lets install FsLint
clickme for 1-click install! or:sudo apt-get install fslint
Ok now that FsLint is install you will be able to access it via Applications->System Tools->FSLint
As default it will have your home directory selected.
Here are the options you have to choose from:
Find Duplicate Files
Find Installed Packages
Find Bad Named files
Find Name Clashes
Find Temp Files
Find Bad/Broken Symlinks
Find Bad Id's
Find Empty Directories
Find Non-Striped Binaries
Find Redundant Whitespace
You are given Advanced Search options to exclude certain directories that dont apply to the above Search Patterns
Once you select one of the search options and select your search directory, click find, it will take a while depending on drive speed, processing power, and drive size. Once done searching it will give you options to delete the duplicates, save duplicate list and Merge.
I hope this tool is helpful to others, I personally think this tool should be integrated into nautilus.
Happy Cleaning!
Howto: Install Picasa within Ubuntu Gutsy and Hardy Heron!
Here is a very easy way to install Picasa 2.7 Beta in Ubuntu Gutsy....
1. Open Software Sources
Press ALT-F2 and enter:
gksu software-properties-gtkDownload GPG key from here and Click on Authentication Tab and then click import key file, now import the key file.
Now lets add the Repository:
Click Third Party Software and then click "Add" now enter:
deb http://dl.google.com/linux/deb/ testing non-free
Once added click ok and refresh Repositories.
Now just click here to install Picasa 2.7 Beta within Firefox
Here is a rundown of the new Features:
- Upload to Picasa Web Albums
Use the new "Web Album" button to post your best photos online to share with friends and family. - Save edits to disk
Save edits, undo saves, and revert to the original file with ease. We've got batch saving too! Picasa will even match the jpeg quality of the original. Right-click on your saved files to try the new "locate original" feature. - Folder hierarchy views
Browse through folders Explorer-style. Use the button at the top of your Albums List to try them out. - Improvements to Import
Import into an existing folder- we know you've wanted this feature for a long time! We've made importing photos from your camera faster too. - Better RAW support
Now you can work with RAW files from the Canon 30D, the Nikon D200, Adobe DNG files, and more. - Many other enhancements
Larger thumbnails, better caption editing, ability to configure the row of buttons, special "Starred Photos" album, search by ISO and focal length.
1. Open your /etc/apt/sources.list file with gedit:
$ sudo gedit /etc/apt/sources.list
2. Add the following line and save file:
deb http://dl.google.com/linux/deb/ testing non-free
3. Download GPG key from here and run this command:
$ sudo apt-key add linux_signing_key.pub
$ sudo apt-get update
$ sudo apt-get install picasaHowto: Install Innotek VirtualBox in Ubuntu Gutsy with 1 click!

I was bored, Here is a little example of what VirtualBox can do in Ubuntu Running Windows And Linux Mint Side by side.
I only have a 3.0 ghz with 1 Gig of ram running XP/Mint on Ubuntu Gutsy and I can switch through Os's without any slow down at all, I dont have any reason to run XP or Linux Mint, to me Ubuntu is far better than both.
1-Click Install Innotek VirtualBox:
Add this apt repository to your Software Sources:
deb http://www.virtualbox.org/debian gutsy non-free
The innotek public key for apt-secure can be downloaded here. You can add this key with
apt-key add innotek.asc
Then update repo's:
Click Here to install




