Linux VLC media player not loading

When I start VLC media player using terminal I got following error
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
Blocked: call to setlocale(6, "")
Blocked: call to setlocale(6, "")
[0xe8e580] skins2 interface: skin: subX  author: Martin Poehlmann
[0x1dca9e0] qt4 interface error: cannot start Qt4 multiple times
[0x1dca9e0] main interface error: no suitable interface module
[0x11618a0] signals interface error: signal 17 overridden (0x7fdf4ac4e4f0)
[0x11618a0] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]
[0x1158ca0] qt4 interface error: cannot start Qt4 multiple times
[0x1158ca0] main interface error: no suitable interface module
[0xda4120] main libvlc error: interface "default" initialization failed


Execute following commands for a quick recovery 
rm -rf ~/.config/vlc/

Fix the 30 minutes latency in system clock (Sri Lanka)

1) Install  OpenNTPD

OpenNTPD is a application that synocronize system clock with a timer server using Network Time Protocol .
$pacman -S openntpd
2 )Open /etc/ntpd.conf and add following lines
sltime.org
or

server 0.asia.pool.ntp.org
server 1.asia.pool.ntp.org
server 2.asia.pool.ntp.org
server 3.asia.pool.ntp.org

3) Add OpenNTPD deamon list
DAEMONS=(openntpd)         (Arch Linux)
4) Restart the deamon
sudo /etc/rc.d/openntpd restart

https://wiki.archlinux.org/index.php/OpenNTPD
http://www.pool.ntp.org/zone/lk

The mysql extension is missing

This is really mean php installation missing the required extension for MySQL . You need to add particular extension for required by MySQL to php.ini file .

1) open the /etc/php/php.ini file with super user privileges , find and uncomment following lines . 
;extension=mysqli.so
;extension=mysql.so

2) Restart Apache
/etc/rc.d/httpd restart

Arch Linux sound problem

One popular sound problem which occurs due to wrong configurations is one sound device blocking another device. Its something like one device at a time. Following is a quick temporarily fix for it;

First execute the following command to make sure sound drivers are installed, sound cards are properly configured and working properly.

speaker-test -c 2

Above command should give the following result.

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy


Then issue following command and discover currently active applications which uses the default sound card.

fuser -v /dev/snd/* /dev/dsp*

For me it gave a result like this

                   USER        PID ACCESS COMMAND
/dev/snd/controlC0:  soori      1365 F.... pulseaudio
                     soori      1988 F.... xmms
                     soori      2304 F.... alsamixer
/dev/snd/pcmC0D0p:   soori      1560 F...m plugin-containe

Now what you have to simply do is terminating the above processes as below.

sudo kill 1365 1988 2304 1560