Posts Tagged ‘dapper’

Most exciting upgrade to Ubuntu/Edgy

Friday, October 27th, 2006

This morning I had a free hour and this is how I upgraded my hp compaq nc6000 laptop from Ubuntu/Dapper to Ubuntu/Edgy. After updating /etc/apt/sources.list to point to the edgy repos…

sudo apt-get update && sudo apt-get -dy dist-upgrade && sudo apt-get dist-upgrade

Well there was a conflict between x11-common and xinit which both wanted to provide the man page XSession.5.gz.

11:45am Wendy calls me and says the school just called and Griffin is in a ambulance on the way to the hospital and to meet her there. He accidentally ate something that contained pineapple — to which he has a severe allergic reactions to.

11:49 I’m on the road approaching the hospital and get a call on my cell phone. The woman says she is the school nurse and starts saying my son is having an allergic reaction. I interrupt her and say ‘Yes, I just talked to my wife and I’ll meet the ambulance at the hospital’. She says ‘Well, your son is sitting here with me in my office.’ Then we realize she is the school nurse from a different chool and is talking about Trevor who is having an allergic reaction! Trevor had his bee/wasp allergy shot earlier this morning and is reacting to that. Since he too was having difficulty breathing, he too is sent via ambulance to the ER.

12:05 — Wendy and I both arrive at the ER before either of the kids do. Explain to the ER admitting person that yes both boys are ours, they are coming from different schools, with the same problem (allergic reaction, breathing difficulty), but different reasons (food allergy vs reaction to allergy desensitizing injection).

Long story short, after evaluation, some benedril and alburterol breathing treatments, we were sent home.

Around 3pm I worked through a few iterations of apt-get update, apt-get dist-upgrade, apt-get -f install, aptitude dist-upgrade, I have a fully upgraded from Ubuntu/Dapper to Ubuntu/Edgy.

There are a bunch of new, interesting packages to take a look out. The list is here: EdgyConfiguration

Now that was a stressful upgrade.

Logitech USB headset & Ubuntu/Linux

Wednesday, September 13th, 2006

My wife had an unused Logitech Stereo USB Headset 250 kicking around the house that I took into the office today. Joy of joys! Ubuntu/Dapper recognized it and both the headset *and* microphone work out of the box.

Just like Microsoft Windows ;-)

Democracyplayer on Ubuntu/Dapper

Friday, September 8th, 2006

The good folks at GetDemocracyNow.com provide debian packages for Ubuntu/Dapper, but didn’t get the dependencies quite right. After intalling the two democracyplayer packages from their Ubuntu download page, I needed to also install the following packages:

$ sudo apt-get install libboost-python1.33.1 libgtk-mozembed-ruby mozilla-psm

There is a ton of great content!

Moving photos around behind f-spot’s back

Sunday, July 2nd, 2006

I’ve been using f-spot since it showed up in Ubuntu/Breezy and have been keeping all my photos in a directory structure like this:

/PHOTOS/Photos/2006.06.30/
/PHOTOS/Photos/2006.07.01/

But sometimes I’ve forgotten to unclick the “Copy file to the Photos folder” box in the photos import dialog and end up with photos under ~/Photos/. Recently I checked and found there were almost a gigabytes worth of photos under there.

So this is what I did to move them to under /PHOTOS/Photos/ and keep all the tags and metadata correct.

  • Back up /home and /PHOTOS to an external USB. I love rsnapshot.
    $ rsnapshot daily
  • make an extra backup of the f-spot database
    $ cp ~/.gnome2/f-spot/photos.db photos-backup.db
  • Start poking around the f-spot database and updating it.
    $ sqlite3 ~/.gnome2/f-spot/photos.db
    sqlite> .schema photos
    CREATE TABLE photos ( id INTEGER PRIMARY KEY NOT NULL,
    time INTEGER NOT NULL,
    directory_path STRING NOT NULL,
    name STRING NOT NULL,
    description TEXT NOT NULL,
    default_version_id INTEGER NOT NULL
    );
  • See how many photos are in ~/Photos…
    sqlite> select count(*) from photos where directory_path like '/home/marc/Photos/%';
    260
  • Take a look at a few of them to see the path names…
    sqlite> select directory_path from photos where directory_path like '/home/marc/Photos/%' limit 0,10;
  • Update the pathname to my prefered one. I’ve added an ‘a’ to the end just so I won’t overwrite an existing directory.
    sqlite> update photos set directory_path = "/PHOTOS/Photos/2006.06.22a" where directory_path = "/home/marc/Photos/2006/6/22";
    sqlite> .quit
  • Make the directory and move the files to the new location…
    mkdir /PHOTOS/Photos/2006.06.22a
    mv -v /home/marc/Photos/2006/6/22/HPIM117* /PHOTOS/Photos/2006.06.22a
  • Repeat for each directory. I did it all within emacs’ shell so cut-n-paste made it a snap.

Another list of Ubuntu essentials

Thursday, June 29th, 2006

Mark Pilgrim has compiled his list of Ubuntu essentials — time to add some KDE goodness to ‘My Ubuntu/Dapper Configuration‘ page…

My Ubuntu/Dapper Configuration

Wednesday, June 28th, 2006

I’ve posted some extensive notes on all the post-installation configuration steps needed to make an Ubuntu/Dapper standard install the way I like it — dual head, personal & corporate email, network manager, f-spot, etc

Check it out: My Ubuntu/Dapper Configuration

Creative Webcam Live! works with Ubuntu/Dapper

Wednesday, June 7th, 2006

I just picked up a Creative Webcam Live! which does a reasonable 1024×768 snapshot and 640×480 video resolution for $49. At first it looked like I’d have to build the spca5xx kernel module for Ubuntu/Dapper, but it is now included in the default kernel & modules packages.

Just plug it in and start using one of the many video capture packages like camorama, webcam, camstream, motion, gqcam, etc and start playing around!

FWIW here below the fold are my loaded kernel modules:

(more…)