Setting up Vala - Trying a new programming language

Here I am, trying to learn a new programming language. Actually it feels more like getting to know the child of an old friend. Vala is a little bit like C but in a modern way and a lot like C# without having to install a huge runtime when you just want a "Hello world"

If you want to learn more just go to

I am using Mint. An Ubuntu derivative so these instructions reflect that.

I'll first share my odyssey and then the instructions that actually worked.

Set a static IP for WPA wireless network

1. Get the encrypted WPA wireless key
wpa_passphrase <network name> "<passphrase>"
wpa_passphrase myNetwork "This is my passphrase"
You will get something like the following:
#psk="This is my passphrase"

Copy the text after psk=

2. Edit the interfaces configuration
sudo nano /etc/network/interfaces

(you can use any text editor you want)

Add the following to the file replacing

Remove the need to enter the keyring password every time I Login to Ubuntu / Mint

EDIT: No longer necessary as of Mint 9 Isadora as it already has the libraries and parameters to do this automatically.

1. Install pam-gnome-keyring
sudo apt-get install pam-gnome-keyring

2. Delete your default keyring
rm ~/.gnome2/keyring/default.keyring

3. Modify the GDM configuration and save it
sudo nano /etc/pam.d/gdm
auth optional
session optional auto_start

4. Reboot

Why and How I removed unecessary steps to loggin in to Mint/Ubuntu

Disclaimer: The actions described here are suitable for a Home desktop. I would not do the same to a laptop or public desktop.

I'm trying to convince my sons to use Linux instead of booting in Windows. They really dislike having to enter the userid and password then enter the keyring password. For now, they don't care about having their "own" desktop or custom configurations.

After the installation Ubuntu asks for my wireless network parameters and it saves the WPA key

In subsequent log ins the default behaviour of Ubuntu is the following:

58 Queen Street pix


I am trying to upload information about 58 Queen Street. Here is a picture!

Here is a map!

Ogg Vorbis Theora -- Floss Fund Nominee

Mozilla is including support natively in Firefox with Version 3.1.
This means that when a user encounters a sound or video file on the
web, Firefox will automatically play it as the CODECS to do this are
built in.

This is a major step forward. In the past, in order to play files
created with Ogg or Theora, we would have to configure our browswers
to do so -- creating another step for the average user to go through
before it would be possible to enjoy multi-media content created with
free and open source software.

My regular blog


Yes I have been blogging


I have been blogging, but at another site. You may be interested in my latest blog entry which is a swipe at Bill 61 without mentioning Bill 61.

I would encourage everyone to speak out against the DRM aspects of this Bill.

This Bill may have been tabled before Summer Break so that we can make our thoughts known about it.

I also have a comment on the Globe and Mail website.

how to donate a computer

What are the current minimum requirements for the computer donations to The Working Centre and/or KWLUG?

Should one contact a person in charge before bringing an older computer?

Presentation topic suggestion From DV Cam to DVD

Using a combination of open source software you can go from your digital video camera to a DVD, complete with titles, fading between scenes, and a variety of video and audio effects.

Syndicate content Syndicate content Syndicate content