Howto: really get more than one sound playing at once

This hasn’t worked for me since 2006!

This is what I did:

1) Open up a terminal and enter in the following:

gedit ~/.asoundrc

2) Copy and paste the following into the file:

pcm.dsp0 {
type plug
slave.pcm “dmix”
}
ctl.mixer0 {
type hw
card 0
}

Save and exit.

2) Restart the sound server:

sudo /etc/init.d/alsa-utils restart

Now I can play sound in Amarok and Audacity at the same time. Not that I ever need to…but I’m tired of opening Audacity while Amarok closes and not being able to play any sound!

The harmful command

Since I was bored, and curiosity killed me, I decided to take a hand at setting up my own server. To do it I used the guide at https://help.ubuntu.com/community/ApacheMySQLPHP. To install, the guide specified to run:

sudo tasksel install lamp-server

After this, however, I remembered that I had such a bad upload connection that any hit would create a noticeable lag on my Internet. Not being familiar with tasksel, I assumed it worked in the same vein as apt-get and that running the opposite would remove lamp-server and nothing more. It made sense, right?

How wrong I was.

It wasn’t before long until I caught it removing some of my most used programs, without my consent! So far, this is what I’ve found it remove:

audacity gnome-games exfalso update-notifier ubuntu-tweak brasero bluefish tomboy gnome-utils thunar conky hal network-manager policykit

Most of these programs aren’t a crucial loss. But some, like network-manager, disabled my Internet connection! Luckily, I had a plan: I would download these programs from the Windows laptop, save them on my flash drive and install them from there. Or so I thought. Without hal, my flash drive wasn’t detected on the computer. (I also wasn’t able to burn the contents of the flash drive onto a CD, since the other computers don’t have a CD burner. That and I don’t think the CD would’ve been detected without hal either.)

Eventually, I decided to boot from a Live CD (TinyMe, since I couldn’t find Ubuntu), plug in the flash drive, copy the contents onto my hard drive, reboot, and install them from there. Had I not thought of that, I may have been willing to reinstall, and lose over 20GB of *cough*legal*cough* music (with no external hard drive at the moment to back it up).

Anyway, long story short: don’t take commands for granted!!

Script to get the aMSN SVN on Ubuntu

With the release of 0.97.2, everyone is rushing to find a .deb for Ubuntu. I’d just like to direct everyone to this script: with it, you can get a perfect working version of the SVN version of aMSN everytime. (note: SVN is newer than 0.97.2!)

Try it out here:

http://www.amsn-project.net/forums/viewtopic.php?t=3242

It also comes with Farsight support. It’s a good deal!