IV Needle Injecting Tech into the Vein

27Mar/100

Share a folder over VirtualBox with a Windows Host and Ubuntu VM

I ran into some issues while attempting to share a folder from Windows to Ubuntu over VirtualBox. Here are the steps I followed to get this to work:

  • Create a folder in Windows to share (or use one that already exists... your choice)
  • Start the Ubuntu virtual machine
  • On the virtual machine windows, click on Devices>Shared Folder...
  • Click on the "Add Shared Folders (Ins)" button
  • Browse to the Windows folder you are planning to shared, name it, and click OK to save
  • Click OK to close the Shared Folders window
  • Open the terminal on the Ubuntu VM
  • Create a directory to mount the share to:
  • sudo mkdir /mnt/win_share
  • Mount the share to the directory:
  • sudo mount.vboxsf Share /mnt/win_share

Add a file to directory and check to see if it shows on both machines. If you'd like to add a link to the share on your desktop, run the the following command in the terminal:

ln -s /mnt/win_share/ /home/<user>/Desktop/Share

There should now be a link on your Ubuntu Desktop.

17Sep/090

Getting my Bluetooth mouse to work with Ubuntu

Microsoft Bluetooth Mouse 5000

Bluetooth Mouse From Hell

I have a Microsoft 5000 Bluetooth Mouse. Unfortunately it has been a total headache to get it to work with Ubuntu and stay working. Below are the steps I have taken to remedy the issue:

  1. Turn on your mouse and make it discoverable
  2. Open a terminal and enter the command: hcitool scan
  3. It should return a list of bluetooth devices in range (mine returned something like: 00:1D:D8:92:FE:45     Microsoft Bluetooth Notebook Mouse 5000)
  4. Enter: sudo gedit /etc/bluetooth/hcid.conf
  5. Add the following entry to the file (remember the name is the same returned in the previous step):
    device HardwareAddressHere {
    name “Microsoft Bluetooth Notebook Mouse 5000”;
    }
  6. Run the command: sudo /etc/init.d/bluetooth restart
  7. Verify that you get a message indicating that stopping and starting bluetooth is OK
  8. Run the command: sudo apt-get install bluez-compat
  9. With your mouse still in discovery mode, run the command: sudo hidd --search
  10. Your mouse should now be paired and working. (this includes after reboot, it should automatically pair)
17Sep/091

Run Ubuntu on Dell Mini 10 in HD (1366×768)

Dell Mini 10

One Gig Wonder

I found a link on moko's blog that showed how you run Ubuntu Jaunty in 1024x576 on a Dell Mini 10. However, I have the Mini 10 with the HD screen (1366x768) which required a few additional steps to get it work right. Here is the entire process

First, create the file: /etc/apt/sources.list.d/ubuntu-mobile.list

Add the following content and save (these entries will change depending on the version of Ubuntu):

deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main

Open a terminal and run the following two commands:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C6598A30
sudo apt-get update
sudo apt-get install psb-kernel-source psb-kernel-headers

Restart your machine and open the terminal again. Enter the command:

sudo apt-get install xserver-xorg-video-psb

Restart your machine again. You should now have 1366x768 resolution.