Restoring Default Ubuntu Panel

This is for the newbies in the Ubuntu Community. Sometimes we want to configure our panels on Ubuntu to give a nicer look. And the newbies often fail to do that as they want and may want to restore the default panel settings. Restoring the default panel setting on Ubuntu is pretty simple. Just run the following command in the terminal and you will get your default Ubuntu panels back. (more…)

Read More

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.

Read More

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


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

Now PHP GD support is ready to work.

Read More

How to install JDK in Ubuntu

Those who are involved in Java based application development must need to use Java Development Kit (JDK). And those are newbie in the world of Ubuntu may don’t know how to install JDK in Ubuntu. This is quite simple to install JDK in ubuntu. Just run the following command in the terminal and follow the steps.

$sudo apt-get install sun-java5-jdk

After this the rest of the process will display a dialog that will require you to accept the license agreement. When you do, the rest of the setup will happen on its own.

When you’re on the command prompt type

javac -version


java -version

Now you should be ready to work with Java.

Read More

Installing true type fonts in Ubuntu

Even we are using Ubuntu we may sometimes want to or need to use some Microsoft true type fonts. For that we can follow the following steps to install true type fonts in our Ubuntu.

We can install the MS core fonts by installing the msttcorefonts package.
To do this, enable the “Universe” component of the repositories.
Then run the following command in the terminal:

$sudo apt-get install msttcorefonts

This will give us the core fonts, but if there are other TrueType fonts that we want installed, it is as easy as copying the font files to the ~/.fonts/ directory.

After installing new fonts, we will have to log out and log in again to be able to see and use the new fonts. If we want to avoid this, we can regenerate the fonts cache by issuing the following command:

$sudo fc-cache -fv

Read More

Using Mobile as USB Modem in Ubuntu

Now I am at Chittagong, enjoying my eid vacation here. Normally I use broadband at my home at Dhaka. But I am so much addicted in Internet that I can’t pass a single day without it and also I can pass all my time without eating or drinking if I get Internet. So, I faced a problem here that is my sister use GP Edge and I have to use this as alternate here. But I use Ubuntu Hardy 8.04 in my laptop and I don’t have any other OS. I never used any phone as modem in Ubuntu. I could have used my sister’s laptop but I didn’t feel comfortable as I will miss all my personal settings in which I am used to. So I started looking for how I can install the mobile set in my laptop. It’s a Nokia 6280 phone. I have searched over internet and finally by taking help from two site I have succeeded using it. The steps I have followed to install it are as follows:

1. Connected the phone using USB cable.
2. Open the terminal.
3. Check the USB detection:-

$ lsusb

Bus 003 Device 003: ID 0421:045a Nokia Mobile Phones
Bus 003 Device 002: ID 04f3:0210 Elan Microelectronics Corporation
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

4. Autodetect the modem using WVDial:-

$ sudo wvdialconf
Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyACM1<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"


 sudo gedit /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”gpinternet”
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyACM0
ISDN = 0
Phone = *99***1#
Username = gp
Password = gp


 sudo ifdown eth0 

[it will disable your LAN connection]

7. finally execute

$ wvdial

Now I am connected to GP Internet.

Special thanks to Mr. Hasan for the step 6. Without this I tried again and again but couldn’t get connected.

Read More