Monday Oct 13, 2008

Sound and shares with Virtual Box

I have just upgraded from Virtual Box 1.64 to 2.0.2 and decided the time has come to turn the sound on and install shared folders.

These are both simple configuration changes since the manual is simple, well written and correct. [ User Manual 2.0.2 ]. Just to remind you, I have a windows host and in this case an Ubuntu 8.0 Linux guest.

In the settings panel for the VM, there is a sound tab, and there is a check box, which is defaulted to off. For a windows host, there is a choice of sound drivers. Since one of these is a null driver, its best to choose the other which is "Windows Direct" sound.

virtual box sound tab

There is a another tab for shared folders, with a file system browser. The purpose is to designate a host file system to act as the target for a guest mount and so act as one route to allow data to exit the VM.

This is what I did,

  1. Create a folder to act as the shared folder.
  2. Use the Virtual Box control panel to specify the shared folder and its device name. I used a folder in 'My Documents' folder and called it hostfs, for host file system.
  3. Boot the VM
  4. Make a mount point, if you want, otherwise use one already there.
  5. Issue a mount -t vboxsf share mount_point. The share is the device name declared in the control panel, in my example 'hostfs'. N.B. The fs type is suffixed with 'sf', presumably for shared folder and not fs for file system like many other file system types.

I then unmounted the shared folder, edited /etc/fstab and issued a mount -a command to test that my syntax works.

tags:

Tuesday Aug 12, 2008

using twitter to share

Some colleagues use twitter to notify their correspondents of their blogs. I have discovered 'twitthis' as a remote javascript and embedded it into this article. Actually it was pointed out in an article in the Guardian which suggest maybe twitter is losing its edgyness. I have changed the picture, to make it a better fit on the article affinity line, as a companion to technorati, digg, slashdot and delicious.

twit this: <script TYPE="text/javascript" SRC="http://s3.chuug.com/chuug.twitthis.scripts/twitthis.js"></script> <script TYPE="text/javascript"> </script>

You might recognise this picture better.

You need to be logged into twitter for this to work, maybe through the script. I have run one test and this article is part of the second test. If this works I'll add it to the 'share this' line, and let you know how it works.

It advertises itself at http://twitthis.com/.

I shall probably not add this to the 'share this' line; the script points at the blog, not the article, so I shall put this in the sidebar sometime.

Please let me know if you find the lag as it executes the script unacceptable.

tags:

About

DaveLevy

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today