Geeks making the world a bit better.

Entries Tagged Windows

Access to my Ubuntu files from Windows

For some if my Windows testing VMware, sadly, won’t do the job. For example, I can’t get my USB webcam’s to work on an XP guest running on VMware on my Ubuntu machine. For testing these things I have to use my laptop. Unfortunately that requires copying files over. So I wanted to share my Ubuntu files with my laptop.

It took a while and I tried many things but I think this is the combination that did the trick.

In Synaptic, install samba.

At the command prompt, run

 sudo smbpasswd -a yourid

give it your password and the password you want to use from the windows machine.

Now on the windows machine you should be able to connect. You may need to use the numeric IP address of the host.

Guest clock running way too fast in VMware

I just noticed that the clock on my guest Windows XP system was running way too fast on my host Ubuntu Gutsy system. I had also noticed that double clicking seemed really difficult and there were a few anomalies with sound.

A bit of Googling turned up this tip from the VMware knowledge base. So to fix things I added these lines to the bottom of /etc/vmware/config.

host.cpukHz = 3060000
host.noTSC = TRUE
ptsc.noTSC = TRUE

Now the clock and lots of other things are better.

Building aubio for windows

What I tried, so I can reconstruct it later.

Install cygwin. Change the Devel category from Default to Install in their setup tool.

Download libsndfile, extract, configure, make make install.
Download libsamplerate, extract, configure, make, make install.

Download aubio and extract it.
cd into its folder

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./configure --disable-shared
make
make install