Wednesday, September 30, 2009

Using Facebook chat client in Pidgin

If you are a hardcore IM user, now you are able to chat with Facebook user directly from Pidgin! In addition to all of the IM emoticons, you can also “send & receive messages, add or remove friends, receive notifications, search for Facebook friends and set your Facebook status"

Just do this :

[firaz@localhost ~]$ su
Password:
[root@localhost firaz]#yum install purple-facebookchat

Using wvdial in fedora

Using Internet through modem in earlier versions of Fedora[core 11 automatically detects modem] was very painful.The pre-installed softwares KPPP dont detect your Mobile phone modems most of the times.So I 'Google'd and here's a simple solution I found for using modem manually.

First become super user.

[firaz@localhost ~]$ su
Password:

Then edit the wvdial.conf using the command:

[root@localhost firaz]# gedit wvdial.conf


now replace the existing all texts with the following lines :

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"ip","gpinternet"
ISDN = 0
Modem Type = Analog Modem
Phone = *99***1#
Username = ABC
Password = XYZ
Stupid Mode = 1


After editing save the modified text and now get exited using this command:
[root@localhost firaz]#Ctrl+C

Now simply dial :
[root@localhost firaz]#wvdial


It should work.

Note that : APN is "gpinternet" for Bangladeh.Change it as per your service provider.Other parameters remain the same.Another notable things that Nokia, Samsung & Motorolla dont cause problems to be detected as modems when dialled.But Chinese modems [for example MobiData & Vodafone V715 made by Huwei] aren't dectected any responsed while dialled.

fedora 11 multimedia codec installation

It may be very painful when you start to use Fedora and you find that there is no pre-installed multimedia codecs.Many times you try to play a multimedia files and it show you a damn messege 'xyz.dat uses an unsupporte codec' or like 'There is no demuxer plugin available to handle xyz.mp3 .Usually this means that the file format was not recognized'.This type of messeges many times may got your brains in fire.

So, after many 'Googling' i found a simple way to solve all this rubbish messeges.Just follow the following steps.I hope it'd help most of u :


There is gnome-mplayer in the rpmfusion repos. It is a nice gtk2 interface for mplayer.

First, install RPM Fusion's free and nonfree YUM repositories. For detailed information about installing RPM Fusion, see: http://rpmfusion.org/Configuration

[firaz@localhost ~]$ su
Password:
[root@localhost firaz]# su -c "rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm"

[root@localhost firaz]# su -c "rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm"

Next, install MPlayer from RPMFusion.org.

[root@localhost firaz]# su -c "yum install mplayer gnome-mplayer gnome-mplayer-common mencoder"

Now, visit the MPlayer Codecs Directory and download the latest 'All' tarball.

[root@localhost firaz]# wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20071007.tar.bz2

Next, prepare the codecs folder. MPlayer from RPMFusion.org will use /usr/lib/codecs.

[root@localhost firaz]# su -c "mkdir -p /usr/lib/codecs"

Other media players like Xine and avifile might use /usr/lib/win32, so create a symlink.

[root@localhost firaz]# su -c "ln -s /usr/lib/codecs /usr/lib/win32"
[root@localhost firaz]# ls -l /usr/lib/win32
lrwxrwxrwx 1 root root 15 2008-05-24 08:02 /usr/lib/win32 -> /usr/lib/codecs

Finally, extract the contents of the tarball and copy all files to /usr/lib/codecs.

[root@localhost firaz]# tar -xjvf all-20071007.tar.bz2
[root@localhost firaz]# su -c "cp -a all-20071007/* /usr/lib/codecs/"

See the MPlayer(1) man page for /usr/bin/mplayer usage.

[root@localhost firaz]# man 1 mplayer


Now Njoy GNOME player.It works like a charm :D