Sunday, October 20, 2013

VMware player: To change NAT settings for remote desktop to windows client

This works in Ubuntu 13.10

1. Suspend all virtual machines
2. Edit /etc/vmware/vmnet8/nat/nat.conf
sudo nano /etc/vmware/vmnet8/nat/nat.conf 

For remote desktop in windows,
run ipconfig to check the ip address in address

ipconfig

It should start at 172.16.*.*

Then add the line

3389=172.16.*.*:3389 

under the section
 [incomingtcp]

where *.* is the ip address of your windows box

3. Restart vmware-player
sudo /etc/init.d/vmware restart



Monday, September 16, 2013

PrimoPDF: A simple yet power PDF Creator in Windows

Although the latest MS Office has the function of exporting PDF, I still use PrimoPDF for PDF conversion. It seems that it can produce a more faithful PDF output, and more flexible especially in Excel.

http://www.primopdf.com/

Tuesday, July 23, 2013

But you are not Mercedes-Benz O305....

I know, you are celebrating KMB's 80 year anniversary....

But you are just a Scania K310UD

ASU 20 PC5322 @42A


Sai Kung, the paradise of Hong Kong

Just next to the bus terminus, things are already beautiful.


Sunday, July 21, 2013

VMware player: compile the kernel module after kernel update for Ubuntu Linux

This works for VMware player >5.0

After the kernel update, run this on a console.
(You need the latest kernel header files. Also update them when you update. )

sudo vmware-modconfig --console --install-all 

It works on Ubuntu 13.04

Tuesday, May 7, 2013

Color Picker Tool for Ubuntu Linux

The package "gcolor2" does.

sudo apt-get install gcolor2

Works on 12.04

Wednesday, April 10, 2013

A tribute to Leyland Olympian in Hong Kong

Everything is gone here in the album. The Leyland brand, the Leyland Olympian Model, the Hot Dogs (Non air conditioned bus), the KMB route 70, the 3-door 12m buses, and the old Jordan Road Terminus....

Monday, April 1, 2013

To convert an image in pdf format to jpeg format


In Linux, one may use Ghostscript

gs -sDEVICE=jpeg -o Task1v2.jpg -r300x300 -dJPEGQ=95 Task1v2.pdf
In this example,
resolution=300dpi
Quality=95%