Wednesday, June 27, 2007

My Ubuntu Experience: Day 2

More items accomplished from my list:

4) I've finally got Chinese input working! Again, I did everything from the menu system (i.e, no command line :D ) Here are the steps (courtesy of this instruction):
i) Choose System->Administration->Language Support. It will automatically download some packages. Check the Chinese checkbox. It will install Chinese. Close it when it's done.
ii) Again, Choose System->Administration->Language Support. The previously checked "Enable Support to input Complex character" will become unchecked. Check it again.
iii) Log out and log back in.
我現在可以打中文了!

Also, contrary to what some people said, I was actually able to type Chinese in Open Office as well.

5) Watch Real Media encoded video:
Download the installer from http://www.real.com/linux . Change permission to executable and execute it. I chose to install to /usr/local/RealPlayer and the symlink dir option is the default (/usr) which symlink it as /usr/bin/realplay

Since I use SCIM, I got core dump when executing realplay, the workaround is do first:
export GTK_IM_MODULE=xim
Then execute "realplay &" from the same shell.
(Link to Detailed Instructions)

[Update: To associate the .rmvb file extension with Real Player, try this]

Tuesday, June 26, 2007

My Ubuntu Experience: Day 1

That Frethog!generic episode motivated me to switch to Linux for my primary workstation, finally. And Ubuntu has the biggest buzz/hype in the Linux world these days so I went with it. (I know mainsteam is not my thing but with limited Linux experience for personal usage, I'd rather go with the mass since more info/help/how-to will be available and I'm sure I need a lot of them)

Let me briefly go over my installation: I downloaded the iso from here. Burned a CD. Went to BIOS and move my CD-ROM up in the order of boot device. Then boot the computer with the CD. Chose the first option on the menu, which start Ubuntu from the CD (that's why it's called a Live CD) Once I'm in it. I clicked the Install icon on the Desktop and the installer asked a series of questions, which I picked the default for most of them. The only tricky question was about partitioning: I had 5 partitions on my first hard drive: 1) Windows (NTFS), 2) Swap, 3) a /boot (ext3), 4) a root (ext3) and 5) a FAT16 partition. (2)-(4) were there because I had previously installed RedHat and I want to replace RedHat with Ubuntu, i.e., use the same partitions but don't care about keeping the content. So I picked "Manual" when the Installer asked about partitioning and edit the old RedHat parititions to indicate they will be used as /boot, root(/) and so on. Finally, the default location for the "Dual Boot loader" (which allows me to run multiple OS as I'm still keeping XP) was (hda0) and I was a bit skeptical at first since I recall going through a few extra steps to take care of that for RedHat (put GRUB on /boot instead of MBR) but it turns out fine.

Now, actually using it was when the fun began. I have a habit of making a list of things I want to try with any new toy before it arrive. So I did the same for Ubuntu. More things work out of the box then expected!

1) Browsing Chinese websites: I didn't need to install any extra font. It just worked!
2) Change monitor resolution to 1920x1200: this requires some work, non-trivial but manageable:
- Install Restricted driver
- Run the Autodetect Script Again (follow the section with the same name)
3) Watch videos: I tried a few of my favourite videos and the included Totem player can't play any of them but I knew a simple solution:
- Install VLC (Application->Add/Remove, choose All available applications and look for VLC)
I have been using VLC on Windows anyway.

Stay tuned for more of my Ubuntu Experience!

Monday, June 25, 2007

How I got rid of Frethog!generic

My computer was infected by the trojan Frethog!generic when I accidentally clicked on an unknown Chinese website last week. My CA Anti-virus (got it free from SBC Yahoo as a DSL customer) discovered it very quickly. Unfortunately, it was only able to remove copies of the virus but not the "original." I googled it immediately but couldn't find much info at first. The first thing I found out was that it was a password stealer. And that's enough to make me lose sleep. Since I was not able to find a quick solution, the next best thing I did was turn off the computer and unplug it from the network.

Fortunately I found a solution from Google later:
1) download a program called ComboFix from here or here.
2) reboot your PC, hit F8 before Windows started and start Windows in "Safe mode"
3) execute ComboFix.exe. It will start a "Text" window and scan your system for "bad stuff." This may take a long time (~10 min for me) After it removed the bad files, it will ask you to reboot. The program resumes after reboot and finally generate a report which includes all files created on your system recently. So in case it cannot find the offender, you still get a clue on what files could possibly be infecting your system.

Even though I dodged a bullet this time, I think it's a sign that I should finally seriously consider to switch OS on my primary workstation. Please read my next post!

Monday, June 04, 2007

Free RSS Reader for Pocket PC/Windows Mobile

My Dell Axim X30 is getting even more useful these days thanks to the free RSS Reader pRSSReader

When I had my Palm, I used to sync RSS feeds to using Sunrise (on Desktop) and Plucker (on Palm) However, now pRSSReader allows me to take advantage of the built-in Wifi on X30 to download directly to the PDA.

Two useful tips:
1) To download the web page linked to the news item for offline viewing, simple choose your feed from Site Manager, then choose File->Properties. Choose the "Caching" tab and check "Cache content for offline browsing" box.
2) To download podcast, again, choose your feed from Site Manager, then choose File->Properties. Choose the "Caching" tab and check "Automatically cache enclosures" box