Archive for February, 2008

Restoring monitor resolution on 17″ TFT

Saturday, February 16th, 2008

A lot of times I found my Acer 1702W 17″ TFT Monitor loosing its native resolution of 1400 X 900, which is ideal for the monitor to display the content properly. Even after doing a lot of search on various search engines I couldn’t find a method that guaranteed me results. Though I have an Intel Accelerated Graphics driver, I feel this solution should work for any card ATI, NVidia etc.

Follow the following steps in order to get back your monitor’s native resolution: -

1. From display settings, set screen resolution to higher resolution, I changed it to 1600 X 1024.
2. From your display driver installation CD, run setup application.
3. After the drivers are installed restart your computer.

This would bring back the native resolution for the monitor.

Date manipulation using GNU date

Saturday, February 9th, 2008

GNU date command lets you do just about everything related to date and time but date manipulation is something not well documented.

# get date 2 weeks from now
date –date “now 2 week”

# 2 months earlier
date –date “now -2 month”

you can give any date in place of ‘now’ or use a variable.

# what day is it after 10 days?
date –date “now 10 day” +%A