Archive for November 21st, 2008

Is Keyboard not working properly in Ubuntu 8.10?

Recently I have updated my Ubuntu machine at office from 8.04 (Hardy) to 8.10 (Intrepid Ibex). Surprisingly my keyboard was not working properly specially the arrow keys, HOME and END keys. Then I searched through google and found a quick solution. That I am sharing here to help others who may face this problem.
Just run the following command in the terminal all keys of your keyboard will work.

$ setxkbmap -model evdev

Thanking everyone and welcomed to share.

NB. This is not a permanant solution. But works for a single login. After restarting it will need to run the command again.

How to install or add PHP GD support in Ubuntu

PHP is mainly a server side language which renders the code at server and throws the output to the client end through Apache or any other HTTP server. So, being a newbie we often suffer from GD support in Ubuntu. This are the following steps to install or add PHP GD support in Ubuntu.

$ apt-get install php5-gd
OR
$ sudo apt-get install php5-gd
$ /etc/init.d/apache2 restart

Now PHP GD support is ready to work.