Simple ringtone ad

Please enable / Bitte aktiviere JavaScript!
Veuillez activer / Por favor activa el Javascript![ ? ]

Saturday, October 18, 2014

skype error while loading shared libraries in ubuntu

Sometimes in 64 bit skype doesn't find the lib in appropriate path. By adding a LD_LIBRARY_PATH we can fix this problem easily. LD_LIBRARY_PATH contains the path (32bit) where is located.

1. To test, run the following command in terminal

env LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/mesa PULSE_LATENCY_MSEC=30 skype

2. If it works then add this line after EXEC= in skype.desktop located in /usr/share/applications/ or ~/.local/share/applications.

Exec =env LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/mesa PULSE_LATENCY_MSEC=30 skype

Monday, September 15, 2014

How to reset user password in ubuntu

To reset password for a user (i.e john) follow the steps.

Step1: Hold Left Shift key when grub2 start loading(OS selection menu). From list, choose advance options

Step2: From next list of menu, choose recovery mode

Step3: After loading the system a window with list of menu should appear. Choose root shell from this menu

Step4: In recovery, system mount in read only mode. So lets remount it r/w mode

mount -o remount,rw /

Step5: Set password for user (i.e john)

passwd john

That's it. Now reboot the system using following command


How to open multiple instance of Skype in Linux

Skype saves database information(user, chat history) in ~/.Skype by default. ~/ denotes home directory of a user. Assume your user name is abc so ~/=/home/abc

To create multiple instance of Skype we will set multiple database path for each instance. In this example we will create two additional Skype (i.e Skype office and Skype home)

Step1: Create database directory
mkdir -p ~/.Skype_office
mkdir -p ~/.Skype_home

Step2: Create or copy  Skype launcher(skype.desktop) for multiple instance.
#for skype office
cp /usr/share/applications/skype.desktop ~/.local/share/applications/skypeoffice.desktop
gedit ~/.local/share/applications/skypeoffice.desktop

#change Name and Exec
Name=Skype Office
Exec=skype --dbpath=~/.Skype_office

#for skype home
cp /usr/share/applications/skype.desktop ~/.local/share/applications/skypehome.desktop
gedit ~/.local/share/applications/skypehome.desktop

#change Name and Exec
Name=Skype Home
Exec=skype --dbpath=~/.Skype_home

That's it. Now you have three instance of Skype (i.e Skype, Skype home, Skype office)

Sunday, September 14, 2014

How to get faster internet browsing experience using dns cache server in ubuntu

DNS(Domain Name Servers) is a server(server hierarchy) which resolve IP against the domain name or url. As an example when we hit for, browser send a request to DNS server and server returns an IP address for Then browser hit for IP of Browser send request to DNS server every time you visit a site or link.

Main idea to get faster internet browsing is that cache the DNS server response which reduce DNS server request. Browser first hit DNS cache(local machine), if information is not available then send request to DNS server and save the response in cache.

Step1: install dnsmasq which will work as cache server
sudo apt-get install dnsmasq

Step2: modify  /etc/dnsmasq.conf
sudo gedit /etc/dnsmasq.conf

Step3: modify  /etc/dhcp/dhclient.conf

sudo gedit /etc/dhcp/dhclient.conf
search for
prepend domain-name-servers
remove leading # of this line

Step4: tell network manager that your primary DNS server is


Step5 : restart dnsmasq
sudo service dnsmasq restart

How to test:
Run the following command twice and check the query time. Query time denotes the dns server response time. In second hit query time should be zero. If it's not working then restart your computer and check again.