Loading Blog Search...

Sunday, April 22, 2007

sopcast to NBA

I must stay in home today to wait a cleaner, our home is so dirty now.

While I was so boring that I wander around to find anything interesting to do, I recalled today is the first game in the series of houston VS. utan.

I haven't subscribed any sports channel like ESPN, so the only chance is to try whether those P2P network TV can work.

I downloaded sopcast and installed its GUI gsopcast on my kubuntu.

So great that free China sports channels are broadcasting this game and can play smoothly using sopcast. What even better is the result. :-D

Sunday, April 15, 2007

How to print duplex pages using Brother DCP-115C

It is not convenient to print duplex pages on Brother DCP-115C, here gives the tips.

  • Print duplex, long edge:
  1. print odd pages, with reverse order
  2. remove the printed papers from output tray
  3. rotate the papers 180'C
  4. insert the papers to input tray
  5. print even pages
  • Print duplex, short edge
  1. print odd pages, with reverse order
  2. remove the printed papers from output tray
  3. insert the printed papers to input tray
  4. print even pages
For word, the print dialog may have no options to print odd/even pages, so:
  • Word's extra setting to print odd pages in reverse order
  1. check manual duplex option
  2. click option button in print dialog, to open option dialog
  3. check the front side box

Friday, April 13, 2007

How to remove annoying location auto-detection by Google

If you are in some countries, when you search in Google, it may auto-redirect you to search results specified according to your location. For example, if you are in Hongkong, Google will automatically search from google.com.uk, which is undesired for many of us.

I just submitted a search plugin to Firefox community, you can install it to avoid Google to do that, i.e., it always search from google.com.

Please search "Li, Zhao", and install the plugin with id=16536 (when mouse move over, the ID will display) from:
all google's search plugins

Monday, April 09, 2007

startup vnc server automatically with xdm

You may expect a xdm will display when you open a vnc viewer to a server, there are at least two benefits:

  1. no need vnc to maintain its own password
  2. automatically start vnc service
There are some links you can follow to set as you desired:
  • http://ubuntuforums.org/showthread.php?t=259448
  • http://www.oreilly.com/catalog/morelnxsvrhks/chapter/hack13.pdf
  • http://gentoo-wiki.com/HOWTO_RealVNC,_TightVNC,_XF4VNC
I am using kubuntu 7.04, and found some gtk applications always complain vnc4server, for reasons such as xinputextension is missed, or 109 erros (I do not know what's these). But tightvncserver works well. So, I choose tightvnc, and my /etc/xinet.d/vnc is:

socket_type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -ac -query localhost -once -geometry 1300x900 -depth 16
The reason to use 16 depth instead of 8 is eclipse cannot run on 256 colors.