Window controls flipped to left in Lucid Lynx (Alpha 3)

March 9th, 2010

Ubuntu came out with the Alpha 3 version of Lucid Lynx (Ubuntu 10.04) in the last week of February. The window control buttons (minimize, maximize and close) were still on the right hand side. Then on March 8th, there was a change in metacity. Regardless of which theme you choose, the window controls are seen on the top left hand corner of each window. Its taking me a bit of getting used to. Since I have been using OS-X theme for my windowing, this has come freakishly close to looking like a Mac, and its not good.

Location of controls is switched to left in Lucid Lynx Alpha 3

Location of controls is switched to left in Lucid Lynx Alpha 3

The release is still in its alpha stage. If a lot of people express dissatisfaction at the new placement of these buttons, it might be reverted back to its old location.

slash_boot Linux and OSS , , ,

Converting .hdr/.img files to .nii

March 8th, 2010

In order to convert files in .img and .hdr format to a single .nii file, we first need to install the nifti tools toolbox for matlab.

nifti tools

Once the path for nifti tools has been set in matlab, the files in .hdr and .img format can be combined to create a .nii file by running the following two commands:

nii=load_nii(’filename_with_hdr_extension’);
save_nii(nii, ‘desired_filename_for_niftifile.nii’);

To gzip the nifti file for use in freesurfer:

gzip filename.nii filename1.nii.gz

This will create a gzipped nifti file.

To automatically segment the structural volume:

recon_all -i filename1.nii.gz -subjid SUBJID -all

This will segment the structures containing in the structural file filename.nii.gz. Complete information on using recon-all for freesurfer can be found at FreeSurfer Wiki.

For some reason, Freesurfer seems to work well in tcsh. I’ve often encountered problems of weird nature when running it under bash. In order to run your autosegmentation with freesurfer type in tcsh at the terminal, since by default it is set to bash in most linux distros.

slash_boot Imaging , , ,

Review of Lucid Lynx Alpha 1 (Ubuntu 10.04)

December 23rd, 2009

A few weeks ago, the Ubuntu development team released the Alpha 1 of their upcoming release, Lucid Lynx. Since most Ubuntu releases are known only by their first name, I’m hoping the term that most people would use to describe this release would be ‘Lucid’ - like, “we just got a printer and we’ll be using it with Lucid over the network.”

The options for upgrading to Alpha 1 are:

1. Clean install from a downloaded .iso for the flavour you are interested in.

2. Upgrade from earlier version - 64-bit Karmic in my case.

I chose the second option, since I didn’t want to lose any of my installed non-open source programs such as Matlab during the installation process. In order to upgrade from Karmic, open up the terminal and type in -

sudo update-manager -d

It will bring up the update manager and you can then see the option of upgrading to a newer distro. You’ll be asked if you’re okay with removing certain packages and upgrading some of the existing ones to which you have to answer ‘yes’. During installation, all of your third party repositories would be disabled. The most commonly used third party repository is the Medibuntu repository, which will be disabled. But don’t worry, after (successful) upgrade, you can re-enable the medibuntu repository for Karmic, since there still isn’t a medibuntu repository for Lucid.

During the upgrade process, be sure not to keep any program running otherwise the system starts freaking out a little. In my case, Firefox 3.5 kept signing me out of my gmail account over and over - so the best thing is to keep all programs closed.

After the upgrade is complete, you’ll be asked to restart the system. Currently, Lucid is running the 2.6.32.9 kernel, and it won’t be too long before it goes on to 2.6.33.xx.

I’ve read elsewhere that Ubuntu 10.04 will be stripping out some of the programs like GIMP from the basic distro. You can of course obtain it from the repositories once you have got the basic system up and running. Some people are quite worked up about it - but the simple fact is it doesn’t take that long to get GIMP or any program on the repositories once you have the network up and running. Now that’s the beauty of upgrading from an earlier version - that way you don’t have to worry about such things. All the programs that you’ve installed, and that are now in the repository, are automatically upgraded to the latest snapshot.

It takes about 45-90 minutes depending upon your processor speed, the network speed, and the number of programs that you’ve installed. After all the upgrades are completed, you’ll also be asked if you want to remove certain packages, and after those are removed, you’ll need to restart the computer for the changes to take effect.

So, on to restarting. When you restart you’ll see a painfully long list of kernels and recovery options. Frankly speaking, once you have the latest kernel working correctly, there is no point in having an entry to an older kernel in the Grub menu. After this reviw, I’ll be posting the way you can remove the items from the grub menu that you won’t be needing.

Now comes the fun part. When you’re booting Lucid (Alpha 1) for the first time, the X is quite likely to be all messed up. But Lucid now has a failsafe option which defaults the graphics to 1024×768 regardless of what your monitor resolution is. But the good thing is that, you have the option to log in using the failsafe mode, and it works quite well too.

After searching for a way to fix the X issue, I finally found out that there is a conflict with the fglrx drivers included in Alpha1. The fix is to remove all the fglrx drivers that have been installed. I forget the name of the package, but its something like xorg-drivers-fglrx.

sudo apt-get remove xorg-drivers-fglrx

(or something similar)

In addition to removing the fglrx drivers, you also need to clear out the xorg.conf file.

sudo gedit /etc/X11/xorg.conf

Just clear out all the lines in there such that it looks like an empty file. Then save it and reboot the computer. This time it boots with proper resolution.

If you were to do a hardware driver search, and in case you have a graphics card - its quite likely that the installation of that graphics card will fail at this point in time. On doing a hardware drivers search, it found the driver for my ATI Radeon card, but it wouldn’t let me install the driver stating some sort of conflict. It will soon be resolved, but as of now I can’t use compiz - no big deal.

Besides this - there was no problem whatsoever. The wireless card work flawlesslessly, the previously installed third party programs from Medibuntu worked well, and even the /home folder settings for all users were preserved.

Graphics wise, there doesn’t seem to be any change. The usplash doesn’t show up, so there is no way to tell if that logo has been changed to something else now. The icon set looks the same and so do the pop up boxes. Its too early to have any aesthetic changes compared to the earlier version.

With this said, lets see how long I can go updating each day before something gets broken :) But so far, except for the graphics card (and thus compiz effects), everything is working quite well. If you want to try it out, its definitely not as risky as some of the earlier Alpha versions have been.

slash_boot Linux and OSS , , , ,

Installing Google Chrome in Karmic (Ubuntu 9.10)

November 17th, 2009

I followed the procedure outlined by UbuntuGeek, but some of the things are little different - at least when I installed it today.

First, you’ll need to add the repository which contains the deb for Chrome.

sudo gedit /etc/apt/sources.list

Assuming you are running Karmic Koala (Ubuntu 9.10), you’ll need to add the following two lines towards the end of that file.

deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main

Next, you’ll have to retrieve the PGP keys for this repository.

sudo add-apt-repository ppa:chromium-daily/ppa

Update the sources,

sudo apt-get update

And then instal Chrome

sudo apt-get install chromium-browser

After the installation is successful, you can launch the browser, and import settings from Mozilla Firefox. However, Firefox needs to be closed when the importing of options and favourites is taking place. When Chrome restarts, it will have options configured like you had them in Firefox. The are no add-ons that I could find for Chrome, though - Adblock Plus and Video Download Helper are the two plugins that would make me stick with Firefox for a while.

slash_boot Linux and OSS , ,

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

November 10th, 2009

Sometimes when you change some of the IP settings, or are using a different wireless card on a machine that has been registered with a server, and for many other reasons, you might have encountered a warning which would’ve looked like this:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
f2:92:1d:da:81:2a:d7:16:0a:48:f0:43:20:1c:f4:b5
………………..

The simplest way to deal with this is to remove the ~/.ssh folder, however this clears out all the exchanged keys with all the ssh machines you have ever communicated with. Removing the ~/.ssh folder would mean that each time you reconnect to a SSH server that you have previously connected to, you will have to confirm that the connection is secure and all that.

There is however another simple way to change just the entry for a specific server in question. At the terminal type in -

ssh-keygen -R name_of_the_server.com

name_of_the_server.com in the above example would need to be replaced by the actual server name that you are trying to connect.

slash_boot Linux and OSS , ,

Remove Karmic (Ubuntu 9.10) login screen sound

November 3rd, 2009

The GDM in Ubuntu changed a bit since Karmic. Now you no longer need to type in both username and password. Instead there is a list of users that shows up, similar to what we have in Windows and Mac. That way you don’t accidentally type in the password when you are supposed to be typing your user name. While this is a really nice way to login, Ubuntu added a drum sound which plays each time you arrive at the login screen - this can be when a user logs out or starts the computer. There is no simple way to disable that sound using GUI. There is however a simple command line which disables this login screen sound as lets you login silently.

If you are a sudoer, open up the terminal and type in:

sudo -u gdm gconftool-2 –set /desktop/gnome/sound/event_sounds –type bool false

The next time you logout, or restart the computer, the sound won’t be played again.

****

Update: The above methods doesn’t work for everyone. There have been a couple of other methods that have been known to work.

To actually disable the “login ready” sound you need to edit your /etc/gdm/custom.conf file.

sudo gedit /etc/gdm/custom.conf

Under the [greeter] section add the line:

SoundOnLogin=false

Another method that has worked for some is the removal of ubuntu-sounds package. This will remove all the event sounds as well, but your media should work just fine.

sudo apt-get remove ubuntu-sounds

These are some of the methods that have worked for several people. YMMV - unfortunately.

slash_boot Linux and OSS , ,

Karmic Koala (Ubuntu 9.10) released

October 29th, 2009

The snapshot before the LTS version of Ubuntu is out now! Karmic Koala would be supported for about another year after which one will have to upgrade to  Lucid Lynx, which would be coming out in April 2010, this the name Ubuntu 10.04 LTS.

Karmic has been functional on my machines since Alpha 3 - so no surprises await me as of today. But I would be posting some observations and neat tricks that one can use with Karmic Koala and Ubuntu Linux in general.

The first trick is to use a torrent for downloading the .iso image instead of downloading it directly from some mirror. The advantage of doing that is that you get much faster download rates when using P2P networks for downloading the .iso image, this is especially true for a week since the release, since the mirrors literally crawl to a halt from all the traffic following the release.

Karmic Koala (Ubuntu 9.10): Header used during release

Karmic Koala (Ubuntu 9.10): Header used during release

The listing of all the torrents for Ubuntu 9.10 codenamed Karmic Koala can be found at:

Karmic Koala (Ubuntu 9.10) : List of releases on bit torrent

If you come across some performance issues, you can always take your questions to Ubuntu Forums, where you can search if someone has already resolved that issue, and if not, post a query.

slash_boot Linux and OSS ,

Change default size of gnome terminal

October 26th, 2009

Its not quite obvious how to change the default size of gnome-terminal from the gconf-editor menu. The terminal itself is a subset of xterm. Gnome-terminal is an xterm emulator, and it follows a termcap file for this.

On gnome based distributions (Fedora/SUSE/Debian/Ubuntu etc.) do the following:

sudo gedit /usr/share/vte/termcap/xterm

There’s a lot of stuff in this file you probably don’t want to touch, but you can change the line that describes the terminal geometry:

xterm-xfree86|xterm-new|xterm terminal emulator (XFree86):\
:am:km:mi:ms:xn:\
:co#80:it#8:li#24:\

:co#80 specifies 80 columns, and li#24 specifies 24 lines. Change this to 100 and 30 or whatever you want.

:co#100:it#8:li#30:\

Now all terminals should open for this default size.

Adopted from a post on Fedora Forums.

slash_boot Linux and OSS ,

Using .bashrc without restart

October 8th, 2009

Getting the changes in .bashrc to take effect immediately, all you need to do is execute either of these following commands in the terminal -

source ~/.bashrc

or

bash

That’s it. The changes made to .bashrc file will take effect.

slash_boot Linux and OSS

Pun list

September 29th, 2009

Had these listed on geocities, but soon geocities will be closing down, so had to rescue those puns:

  • A good pun is its own reword.
  • To err is human, to moo bovine.
  • Energizer Bunny arrested, charged with battery.
  • A man’s home is his castle, in a manor of speaking.
  • A pessimist’s blood type is always b-negative
  • My wife really likes to make pottery, but to me it’s just kiln time.
  • Dijon vu — the same mustard as before.
  • Practice safe eating - always use condiments.
  • A Freudian slip is when you say one thing but mean your mother.
  • If electricity comes from electrons… does that mean morality comes from morons?
  • A man’s home is his castle, in a manor of speaking.
  • I fired my masseuse today. She just rubbed me the wrong way.
  • Dancing cheek-to-cheek is really a form of floor play.
  • Reading whilst sunbathing makes you well-red.
  • A hangover is the wrath of grapes.
  • Corduroy pillows are making headlines.
  • Is a big book on voyeurism a peeping tome?
  • Sea captains don’t like crew cuts.
  • Does the name Pavlov ring a bell?
  • A successful diet is the triumph of mind over platter.
  • Two banks with different rates have a conflict of interest.
  • Time flies like an arrow. Fruit flies like a banana.
  • A gossip is someone with a great sense of rumor.
  • Without geometry, life is pointless.
  • When you dream in color, it’s a pigment of your imagination.
  • When two egotists meet, it’s an I for an I.
  • Energizer Bunny arrested, charged with battery.
  • Shotgun wedding: A case of wife or death.
  • I used to work in a blanket factory, but it folded.
  • Marriage is the mourning after the knot before.
  • A successful diet is the triumph of mind over platter.
  • Without geometry, life is pointless.
  • Show me a piano falling down a mine shaft, and I’ll show you a flat minor.
  • When a clock is hungry, it goes back four seconds.
  • The man who fell into an upholstery machine is fully recovered.
  • A grenade thrown into a kitchen in France would give you Linoleum Blownapart.
  • The short fortuneteller who escaped from prison was a small medium at large.
  • The radio station that played particularly good music was a rare medium, well-done.
  • When the actress saw her first strands of gray hair, she thought she’d dye.
  • Bakers trade bread recipes on a knead-to-know basis.
  • Santa’s helpers are subordinate clauses.
  • A good acupuncture is a jab well done.
  • They also surf who only stand on waves.
  • Addicted to brake fluid? Nah, I can stop any time. (Mark Foerster)
  • If puns are outlawed, only outlaws will have puns.
  • Bough, cough, dough, rough, sought, through, hiccough - argh!
  • Man was predestined to have free will.
  • She’s in love with her psychiatrist: she’s shrink-rapt
  • Threw jelly at cop; conviction: carrying congealed weapon
  • Cross a cannon with a bell: boomerang!
  • With fronds like these, who needs anemones?
  • Those who jump off a bridge in Paris are inseine.
  • Australian beer is made out of kangaroo hops
  • Does “Quasimodo” ring a bell? I had a hunch it would…
  • Don’t use a big word where a diminutive one will suffice
  • Dyslexics of the world, untie!!
  • Erik the Red was a Norse of a different colour
  • Help stamp out, eliminate and abolish redundancy
  • In plumbing,a straight flush is better than a full house
  • It looks like an optical illusion, but it isn’t
  • Me…a skeptic? I trust you have proof
  • Pornography? We don’t even have a pornograph!
  • Puns are bad..but Poetry is……verse
  • Red ship crashes into blue ship - sailors marooned.
  • The beauty of a pun is in the argh of the beholder
  • The cost of feathers has risen, now even down is up
  • The cow ate bluegrass and mooed indigo.
  • To learn about paranoids, follow them around.
  • Gentlemen prefer bonds. (Andrew Mellon)
  • Tried to play my shoehorn - all I got was footnotes
  • Try Milk of Amnesia - when you need to forget
  • When you’ve seen one shopping centre, you’ve seen a mall
  • Witches fly on brooms because nature abhors a vacuum
  • I put a dollar in a change machine. Nothing changed. (G. Carlin)
  • A backward poet writes inverse.
  • A bicycle can’t stand alone because it is two-tired.
  • A boiled egg in the morning is hard to beat.
  • A chicken crossing the road is poultry in motion.
  • A lot of money is tainted. ‘Taint yours and ‘taint mine.
  • A plateau is a high form of flattery.
  • A will is a dead giveaway.
  • Every calendar’s days are numbered.
  • He had a photographic memory which was never developed.
  • He often broke into song because he couldn’t find the key.
  • If you don’t pay your exorcist you get repossessed.
  • In democracy it’s your vote that counts; in feudalism it’s your count that votes.
  • Marathon runners with bad footwear suffer the agony of defeat.
  • She had a boyfriend with a wooden leg, but broke it off.
  • The short fortuneteller who escaped from prison was a small medium at large.
  • Those who get too big for their britches will be exposed in the end.
  • With her marriage she got a new name and a dress.
  • You feel stuck with your debt if you can’t budge it.

slash_boot Uncategorized

Finch is a command line Instant Messenger

August 28th, 2009

When you are mostly involved with coding, and use the Terminal for a fair amount of time, it’s quite beneficial if we use another Terminal window/tab for IMs. Searching around for a command line instant messenger, I learnt that there was a variant of Pidgin called Finch. It lets you connect and chat with your online buddies using nothing but text.

To install finch on Ubuntu, run:

sudo apt-get install finch

at the Terminal.

Once Finch is installed, you can load it by typing, finch at the Terminal.

Finch Buddy List

Finch Chat Window

Finch Chat Window

Different commands to access and configure finch can be found at:

Using Finch

slash_boot Entertainment, Linux and OSS ,

Getting VNC to work in Ubuntu (Karmic Koala)

July 3rd, 2009

For the first time I was able to get VNC to work with Ubuntu with Gnome session instead of a xterm on gray background. The steps involved were exactly the same as I was following earlier, with one exception:  the setup of xstartup in the ~/.vnc folder.

For your xstartup file in ~/.vnc (the “.vnc” folder in
your home directory), you need the following:
—————————–
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
gnome-session &
# twm &
————————

instead of uncommenting the lines as the script suggests, you change the window manager to gnome-session

make sure restart vnc4server

The line which got Gnome working was “gnome-session &”

========================================

Now for all the steps involved (works in Karmic Koala Alpha 2, Ubuntu 9.10, kernel 2.6.30-10)

1. Install ssh server, ssh client, VNC viewer, VNC server, and xinetd

sudo apt-get install openssh-server openssh-client vnc4server xinetd  vncviewer

2. Setup the ssh password for your login

ssh-keygen

3. Test out the ssh server by typing in

ssh localhost  or ssh your_login@your_ip_address

4. Then create a vnc password

sudo vncpasswd ~/.vncpasswd

5. Edit the xstartup file in ~/.vnc directory

For your xstartup file in ~/.vnc (the “.vnc” folder in
your home directory), you need the following:
—————————–
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
gnome-session &
# twm &
————————

instead of uncommenting the lines as teh script suggests, you change the window manager to gnome-session

6. Create a VNC desktop

vnc4server :1 -geometry 1024×768

7. Then to tunnel into your VNC desktop, first create a SSH tunnel by logging into SSH with the comand:

ssh -L 5901:your_ip_address:5901 your_username@your_ipaddress

8. Finally, load up your VNC desktop

vncviewer localhost:1

And now you are ready to use connect to your machine remotely and use t

slash_boot Linux and OSS , ,

Kernel 2.6.31-1 arrives; breaks X

July 1st, 2009

The kernel 2.6.31-1 was on the list of upgrades in Ubuntu’s upcoming Karmic Koala release. The Koala is still in its Alpha 2 stage and almost all the other things usually go pretty well. However a kernel upgrade is always brings with it some uncertainty, some unexpected behaviour.

While 2.6.31-1 marks a bigger shift in kernel structure from 2.6.30-10, the older one seemed to have started working correctly after having brought about the first Green Screen of Death while booting with Ubuntu Linux. There were a few kernel upgrades to the older one which overcame the issues, I guess in grub.

dsc00468

Grub Options for 2.6.31-1

Ubuntu boots up until the stage where X starts

Ubuntu boots up until the stage where X starts

And then it drops to terminal

And then it drops to terminal

...with a screen pop-up showing failed X loading notification

...with a screen pop-up showing failed X loading notification

Today’s upgrade to 2.6.31-1 was able to go past the grub stage and when the loading was complete, the display failed to load X. There was also some nvidia drivier update which might have destabilized the X, but apparently the X seems to be working correctly when I choose the older kernel at grub. So there must be some sort of a compatibility issue with the new nvidia update and the latest kernel.

This being the Alpha release, many packages are updated daily. It’s quite likely that a kernel patch would soon be out to make it play well with the nvidia driver. But so far, the easiest way to get X loaded is to boot using the older kernel, 2.6.30-10.

slash_boot Uncategorized ,

Saved a baby tortoise at Oak Mountain

June 27th, 2009

Last night I was unable to sleep due to several things that were going through my mind. The ruckus going on in my apartment around 5:30 AM convinced me that I would be unable to sleep even if I tried. So to clear up my mind and I to tire myself out ( so that I could sleep later) I packed my road bike in the back of my car and headed out to Oak Mountain State Park. I reached there around 6:15 AM and was surprised to see that several other cyclists were in the middle of their workouts already.

If we start biking at the park entrance, a bike route goes 7 miles before you have to turn around. Now as I was on the last downhill towards the end of this 7 mile route, I noticed a tiny tortoise in the middle of the road, utterly confused. There were quite a few cars, trucks and campers passing along that road and its quite likely that if the tortoise had run out of luck, it would have been run over by some automobile. I was going at nearly 30 mph on the downhill and it was impossible for me to stop suddenly. So I went ahead and finished the ~0.2 mile descent and turned around as fast as I could. I was afraid that some vehicle was going to crush that tiny little tortoise before I got to it. So I pedaled as hard and fast as I could and was slightly relieved when I saw the toroise still trying to decide where it wanted to go.

As soon as I reached next tot he tortoise, I threw my bike on the gravel by the road and sprinted to the middle of the road and picked it up and brought it to the side.

Here are some pictures of the tortoise I took on my cell phone camera once I brought it safely to the side of the road.

It refused to even take its head and feet out of the shell at first.

It refused to even take its head and feet out of the shell at first.

Here is the angle from its tummy. No signs of feet or head still.

Here is the tummy angle. No signs of feet or head still.

Finally it realized that I meant no hard and it slowly emerged from its shell and looked at me with its tiny red eyes.

Finally it realized that I meant no harm and it slowly emerged from its shell and looked at me with its tiny red eyes.

It looked so cute, I wanted to wrap it in my towel and toss it into my backpack and bring it home as my pet. But then reason took over. The state park, and some of it’s water bodies was this tortoises home. This is where it belonged. Sure I would pamper it and take good care of it. But having a tortoise is a lifelong commitment. They have a life span of around 100 years or so. The answers to these questions were clear. I wasn’t ready for a pet that would outlive me. More importantly, taking it away from its home and its own ecosystem was not the right thing to do. Even though I had saved it from getting crushed underneath a vehicle, it didn’t give me the right to own a creature that was meant to live free. So with a heavy heart I did what I believe was the right thing to do:  set it free in a safer place than the side of the road.

Tortoise set free into its own habitat.

Tortoise set free into its own habitat.

And it slowly walked away from me, back into the wilderness where it belonged.

And it slowly walked away from me, back into the wilderness where it belonged.

I know I would never see this tortoise ever again, but the memories will stay with me for a long long time. The sight of this creature walking away slowly was one of the finest sights I’ve had for the past several months.

This thought of having saved a little tortoise soon helped clear out all my thoughts that were keeping me up last night. With my mind all clear, I went on to do 6 laps of this 7 mile route, completing 42 miles in about 2:40 hours. Then I got back home and slept peacefully for the entire afternoon.

So this is the story. I guess the act of saving an animal helps me reclaim some of the green karma points I have lost on account of buying a SUV. I still have a long way to go to bring my green karma points out of the red, but every step counts and this was a pretty big one I suppose.

slash_boot Environment , ,

HDTV for under $30 (TV Tuner card)

June 26th, 2009

Since the analog TV signals have been discontinued in most cases throughout the country, the only way to catch TV signals is to have TV which can capture and process digital transmission, or if you subscribe to cable. Since I’m not too terribly interested in watching TV, there was no point in investing in a new TV and subscribing to cable was totally out of the question. The option then was to get the reception on my desktop computer.

The solution was to get a cheap ATSC tuner which plugged into the USB port and which had a loop antenna for reception.

ATSC digital Tuner Antenna

ATSC digital Tuner Antenna

The antenna plugs into the USB port through a TV tuner card. The one I own is an Artec tuner card. I learned after I purchased it that it didn’t have support in Linux yet. Schade!

ATSC USB tuner for tuning digital TV reception

ATSC USB tuner for tuning digital TV reception

Once the hardware is setup is complete, we can get the local TV station information through Windows Media Center. That program pleasantly surprised me. After asking you for your zip code, it connects to a database and gets the TV schedules for all broadcast stations in your city. Then it scans for available channels and sets up a list of stations with their programming schedule.

Options seen under Windows Media Center, including one for Live TV.

Options seen under Windows Media Center, including one for Live TV.

You can either watch recorded shows or watch Live TV.

You can either watch recorded shows or watch Live TV.

Windows Media Center Live TV in action.

Windows Media Center Live TV in action.

Once Windows Media Center has scanned for the available channels, you can watch HDTV right on your own computer. In addition to being a TV tuner, Windows Media Center converts you computer into a DVR, where you can record programs or Pause and Rewind the shows that you are watching in real time. Pretty impressive stuff. Whats more impressive is that the equipment costed less than $30, that includes shipping.

Unfortunately the Artec card can’t be used within Linux since the kernel still hasn’t incorporated the hardware specs of Artec USB tuners  in video4linux (v4l). But I’m pretty sure it will be available pretty soon.

slash_boot Entertainment, non-OSS , , , ,

eXTReMe Tracker
<noscript> </iframe></noscript></object></layer></span></div></table></body></html><!-- adsok --> <script language='javascript' src='https://a12.alphagodaddy.com/hosting_ads/gd01.js'></script>