Recording audio with Ubuntu lucid lynx

Install the 'paman' (PulseAudio manager) package via Synaptic. Let it resolve all dependencies and hit Apply.

Now you'll find a 'PulseAudio volume control' application in your Sound & Video menu. Run it.

From here on it's very easy to start recording all audio that gets played. Just start a recording application like Audacity and head to the 'Recording' tab of the Volume Control application. If everything is ok you'll see the recording application is detected (if it is recording). If not, use the selector on the bottom right and select 'Applications'.

Android geotagged pictures and Drupal

Yes, there are Drupal modules that can read the geotagging data of geotagged pictures.

We used our HTC Desire. Don't forget to enable the geo-tagging feature in the camera settings.

This site was very helpful in setting up the required modules.
Unfortunately the CCK gmap type could not be set on the geospatial data field. Turns out the GMap + Geo module also needs to be installed.

Mounting remote drives on login with Ubuntu Lucid Lynx

Mounting drives with /etc/fstab and referring to an authentication file in the user's home directory is too complicated.
There is a simpler way: create a script that mount drives somewhere in the user's home directory.
I don't know how ubuntu does this but if you do it this way the drives still appear on your desktop. :)

Create this kind of script and make sure it automatically starts via Preferences / Startup applications and you're set!

/usr/bin/sudo /bin/mount -t cifs //mysambaserver/Public /home/user/mnt/public -o username=user,password=xxxxx,noexec

Orbit

Silly physics game. :-) It requires you have the java plugin installed in your browser.

Instructions:
  • Try to get your ship into the rectangle! Don't crash on the planets (the big circles...).
  • Use numpad keys 4 and 6 to rotate the ship left and right.
  • Use numpad key 8 to apply forward thrust.
  • To restart or move to next level press 'r'.

Asterisk CDR on debian

After a fresh install of asterisk on debian lenny system there are certain things to be done.

In order to get asterisk cdr working on a mysql database you need to install the 'asterisk-mysql' package.

To get a feel start RTFM'ing in /usr/share/doc/asterisk-mysql

Edit /etc/asterisk/modules.conf and add this line in the [modules] section:
load => cdr_addon_mysql.so

Next just copy the example cdr_mysql.conf file to /etc/asterisk and edit it.

Don't forget to create your mysql database and cdr table before starting asterisk!

Syncing with Android

I bought the HTC Desire this weekend at the demo days of www.pdashop.be!

Very impressive phone.

But the main reason we bought this is to have our calendar items on the road. This, unfortunately turns out to be a bit complicated since the Funambol android client only allows contacts to be synced. Bummer.

Synchronisation server, thunderbird and Symbian client

While reading an interesting post on slashdot.org about Ubuntu's new cloud service via funambol I came across the notion of SyncML.

Since my GF is in dire need of her calendar data on the road I decided to install funambol SyncML server on our Debian server.

This pretty much worked out of the box which was impressive in that regard.

udev rules change on Debian

Creating a new udev rule for my 2nd external usb drive was quite easy:

ATTRS{model}=="5000AAK External", KERNEL=="sd?1", NAME="backupdrive"

But after restarting the udev service nothing happened.

Turns out you just have to reboot your system for the new device node to appear. Nothing else will work.

Encrypted filesystem

It was time to start being a bit more security conscious and encrypt my external backup drive.

The server is a massive piece of 4U rack but the backup drive is just a swipe away so...

Note: the server is a Debian Lenny system.

It all went pretty straightforward after following first this guide which should help you setup your encrypted partition and this guide to create a key file. Don't bother editing /etc/crypttab.

Mythbuntu 9.10 and RTC wakeup via ACPI

For the wakeup via ACPI to work correctly, the rtc device needs to be left alone during shutdown.
Apparently the hwclock-save service ignores the HWCLOCKACCESS setting in /etc/default/rcS

My fixed /etc/init/hwclock-save service script:


script
. /etc/default/rcS
[ "$UTC" = "yes" ] && tz="--utc" || tz="--localtime"
[ "$BADYEAR" = "yes" ] && badyear="--badyear"
if [ "$HWCLOCKACCESS" != "no" ]; then
exec hwclock --rtc=/dev/rtc0 --systohc $tz --noadjfile $badyear
fi
end script

Syndicate content