Archive for the 'Tips' Category

Debian: HP Officejet 5610 Network Printing How-To

Tuesday, August 21st, 2007

Sorry I’ve been busy with a lot of paper works lately. I just bought a HP Officejet 5610 and has been printing quite a lot documents. This is an ALL IN ONE series, has the capability of scan, print and fax, ideal solution for small business environment. My previous HP PSC 1400 is passed to another friend.

I use my debian box to physically connect to the device with usb cable. Setting up the printer should be as easy as my previous HP PSC 1400 how-to. There’s one extra package needs to be installed for this model.

  • hpijs-ppds

This is a collection of HP printers’ ppd files. 5610 appears to be in it.


Debian: AmaroK Lyrics How-To, Automatically Load Chinese and English Lyrics.

Friday, August 10th, 2007

My second AmaroK entry, you can look at the first entry here. Auto loading lyrics has been an useful feature in AmaroK, it really saves a lot of time for me.

AmaroK with Lyrics
AmaroK with lyrics auto-loaded.


WordPress: Upgraded to version 2.2.2

Tuesday, August 7th, 2007

This blog has been updated to version 2.2.2. Only security updates for this release, again it is recommended to upgrade. Please visit the release page here. Details of bugs fixed can be found here. Instructions of upgrading is here.

I would also like to take this chance to introduce you guys a plugin which I have been watching closely, NOT YET installed. WordPress Automatic Upgrade is a plugin brought to you by techie-buzz.com, it will upgrade your wordpress blog automatically. Including download the archive to your web space, replace old files, setting file permissions and more.

As I’ve said I do not use this plugin yet, let’s wait and see. I have a very high expectation on this.

P/S: Please notify me if you find any error after this upgrade.

Technorati , , ,

WordPress Plugin: Google Sitemap Generator.

Friday, August 3rd, 2007

Every website on the WWW will have to kowtow to Google nowadays, as in comply to their webmaster’s guidelines. Having your site being listed in the supplemental search results is the last thing a webmaster ever wanted, besides being banned by Google Adsense.

So I figured it’s time for me to organize all the posts in this blog and come out with a sitemap, in order to submit to the Google Webmaster Tools. Google Sitemap Generator is one of the top ten results upon Google search.

Google Sitemap Generator

Technorati , , , ,

Thunderbird: Enable Logging for Multiple Protocols How-To.

Tuesday, July 24th, 2007

Often you will find yourself in situation that needs a little bit of debugging. I am today, something in my Icedove mail client(thunderbird) is not right, keeps connecting to the server with 15 - 30 connections at the same time, so I wanted to know what’s going on. I figured maybe there will be some options available in the program, however, it’s not there.

Surprisingly, logging of Thunderbird has to be done outside the program. Here’s how I did it, on both Debian and Windows machine.

On Debian

All you need to do is prepare a shell script on your desktop, double click it to run Thunderbird instead of your previous desktop icon. Name the file runTB.sh, or any name you prefer.

Codes:

#!/bin/sh

MYDATE=`date ”+%Y%m%d_%H%M%S”`
NSPR_LOG_MODULES=POP3:4,SMTP:4
NSPR_LOG_FILE=~/Desktop/icedove_${MYDATE}.log
export NSPR_LOG_MODULES NSPR_LOG_FILE

/usr/bin/icedove &
exit $?

Technorati , , ,